Unverified Commit d49027c1 authored by tec's avatar tec

Oh, and 'study' is a valid field. Should proably refactor this section

of code
parent 8efbd4bf
Pipeline #198 failed with stages
in 1 second
......@@ -278,7 +278,7 @@ impl Commands {
let mut property = String::from(info_content[0]);
property = property.replace("github", "git");
if info_content.len() == 1
|| !vec!["bio", "git", "web", "photo"].contains(&property.as_str())
|| !vec!["bio", "git", "web", "photo", "study"].contains(&property.as_str())
{
msg.channel_id
.send_message(&ctx.http, |m| {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment