From d49027c12a3ae80b82730e3b5da92f7d767207b0 Mon Sep 17 00:00:00 2001 From: tec <tec@ucc.gu.uwa.edu.au> Date: Fri, 27 Mar 2020 17:04:03 +0800 Subject: [PATCH] Oh, and 'study' is a valid field. Should proably refactor this section of code --- src/user_management.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/user_management.rs b/src/user_management.rs index 051f7a2..2c31a17 100644 --- a/src/user_management.rs +++ b/src/user_management.rs @@ -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| { -- GitLab