added identity > getroles
This commit is contained in:
parent
f8b9cefacb
commit
b316596f17
3 changed files with 163 additions and 6 deletions
src/core
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue