Add prefix customization command
This commit is contained in:
@@ -32,7 +32,10 @@ impl<T: Send + Sync + 'static> OnMessageHandler<T> for CommandRunner {
|
||||
|
||||
if let Some(command) = command {
|
||||
command
|
||||
.execute(CommandContext::new(event, rt.clone(), &prefixes[0]), parts.args)
|
||||
.execute(
|
||||
CommandContext::new(event, rt.clone(), &prefixes[0]),
|
||||
parts.args,
|
||||
)
|
||||
.await?;
|
||||
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user