added identity > getroles

This commit is contained in:
ModulatingForce 2024-01-31 21:30:08 -05:00
commit b316596f17
3 changed files with 163 additions and 6 deletions

View file

@ -326,7 +326,15 @@ impl BotInstance
_cmdreqroles:Vec<UserRole>)
*/
// for v in msg.message_text.split(" ") {
// println!("args : {v}");
// }
let inpt = msg.message_text.split("\n").next().expect("ERROR during BotCommand");
let inpt = msg.message_text.split(" ").next().expect("ERROR during BotCommand");
// [x] Check if a bot command based on ...
// [x] prefix + command