To be || not to be
This commit is contained in:
parent
fff7611e9b
commit
5d2f9a777c
|
@ -137,7 +137,7 @@ async fn default_register(ctx: Context<'_>) -> Result<(), Error> {
|
|||
ctx.say(format!("Commands: {}", commands.len())).await?;
|
||||
|
||||
fn globals_filter(name: &String) -> bool {
|
||||
name.starts_with("invite") or name.starts_with("boop") or name.starts_with("fix")
|
||||
name.starts_with("invite") || name.starts_with("boop") || name.starts_with("fix")
|
||||
}
|
||||
|
||||
// If the user is the bot owner, also correct the global commands.
|
||||
|
|
Loading…
Reference in a new issue