mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-27 06:37:32 +02:00
Add funny message if no invite
This commit is contained in:
+2
-2
@@ -65,7 +65,7 @@ module.exports = class CommandClient extends Client {
|
|||||||
await msg.reply(stripIndents`
|
await msg.reply(stripIndents`
|
||||||
An error occurred while running this command: \`${err.message}\`.
|
An error occurred while running this command: \`${err.message}\`.
|
||||||
You shouldn't ever recieve an error like this.
|
You shouldn't ever recieve an error like this.
|
||||||
${this.invite ? `Please visit ${this.invite} for support.` : ''}
|
${this.invite ? `Please visit ${this.invite} for support.` : 'Please pray to any god that listens.'}
|
||||||
`);
|
`);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -144,7 +144,7 @@ module.exports = class CommandClient extends Client {
|
|||||||
await msg.reply(stripIndents`
|
await msg.reply(stripIndents`
|
||||||
An error occurred while running this command: \`${err.message}\`.
|
An error occurred while running this command: \`${err.message}\`.
|
||||||
You shouldn't ever recieve an error like this.
|
You shouldn't ever recieve an error like this.
|
||||||
${this.invite ? `Please visit ${this.invite} for support.` : ''}
|
${this.invite ? `Please visit ${this.invite} for support.` : 'Please pray to any god that listens.'}
|
||||||
`);
|
`);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user