aboutsummaryrefslogtreecommitdiff
path: root/src/lib/extensions/discord-akairo
diff options
context:
space:
mode:
authorIRONM00N <64110067+IRONM00N@users.noreply.github.com>2021-09-30 19:12:48 -0400
committerIRONM00N <64110067+IRONM00N@users.noreply.github.com>2021-09-30 19:12:48 -0400
commitaa4cb7e51823f7a2c884c17a8d1010217cce301b (patch)
treebffc7261296f4ee6d164efd18713c0ec5b1dd104 /src/lib/extensions/discord-akairo
parent0ecad260c69fffa751fb5d245e0e4f804191970b (diff)
downloadtanzanite-aa4cb7e51823f7a2c884c17a8d1010217cce301b.tar.gz
tanzanite-aa4cb7e51823f7a2c884c17a8d1010217cce301b.tar.bz2
tanzanite-aa4cb7e51823f7a2c884c17a8d1010217cce301b.zip
convert multiword commands to use '-' as a word separator
Diffstat (limited to 'src/lib/extensions/discord-akairo')
-rw-r--r--src/lib/extensions/discord-akairo/BushClient.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/extensions/discord-akairo/BushClient.ts b/src/lib/extensions/discord-akairo/BushClient.ts
index 1ac0ee9..065d141 100644
--- a/src/lib/extensions/discord-akairo/BushClient.ts
+++ b/src/lib/extensions/discord-akairo/BushClient.ts
@@ -275,7 +275,8 @@ export class BushClient<Ready extends boolean = boolean> extends AkairoClient<Re
automateCategories: false,
autoRegisterSlashCommands: true,
skipBuiltInPostInhibitors: false,
- useSlashPermissions: true
+ useSlashPermissions: true,
+ aliasReplacement: /-/g
});
this.contextMenuCommandHandler = new ContextMenuCommandHandler(this, {