Add unrecognised command message, closes #1
This commit is contained in:
parent
531cfedc17
commit
9295fb48f8
2 changed files with 12 additions and 1 deletions
|
@ -97,7 +97,8 @@ async fn main() {
|
|||
// Create the framework
|
||||
let framework = StandardFramework::new()
|
||||
.configure(|c| c.owners(owners).prefix(prefix))
|
||||
.group(&GENERAL_GROUP);
|
||||
.group(&GENERAL_GROUP)
|
||||
.unrecognised_command(commands::meta::unrecognised_command_hook);
|
||||
|
||||
let mut client = Client::builder(&token)
|
||||
.framework(framework)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue