Archived
removed one space that caused prefix commands to stop working lol
This commit is contained in:
1 parent
5dec2a4e1e
commit
523b00b40e
1 file changed
+1
-1
@@ -127,7 +127,7 @@ export class CommandManager {
|
||||
const cmd = this.get(cmdName, "CHAT");
|
||||
if (cmd) {
|
||||
const argsRaw = i.content
|
||||
.replace(`${this.prefix}${cmdName} `, "")
|
||||
.replace(`${this.prefix}${cmdName}`, "")
|
||||
.split(this.argumentSeparator)
|
||||
.map((a) => {
|
||||
if (a.startsWith(" ")) {
|
||||
|
||||
Reference in new issue
Block a user