mirror of
https://github.com/osmarks/autobotrobot
synced 2025-01-03 04:10:27 +00:00
Ignore case when picking language.
This commit is contained in:
parent
a57c5ec375
commit
521dc48d1c
@ -138,7 +138,8 @@ command!(exec(_context, message) {
|
||||
};
|
||||
|
||||
let code = &captures[2];
|
||||
let lang = &captures[1];
|
||||
let lang = captures[1].to_lowercase();
|
||||
let lang = lang.as_str();
|
||||
let channel = &message.channel_id;
|
||||
|
||||
match lang {
|
||||
|
Loading…
Reference in New Issue
Block a user