Framework Rewrite

This commit is contained in:
Dragon Fire
2021-06-05 12:17:33 -04:00
parent 5c9f237321
commit 7917766ce3
48 changed files with 1101 additions and 294 deletions
+1 -5
View File
@@ -1,5 +1,4 @@
const Command = require('../../structures/Command');
const { stripIndents } = require('common-tags');
module.exports = class PrefixCommand extends Command {
constructor(client) {
@@ -14,9 +13,6 @@ module.exports = class PrefixCommand extends Command {
run(msg) {
const prefix = msg.guild ? msg.guild.commandPrefix : this.client.commandPrefix;
return msg.reply(stripIndents`
${prefix ? `The command prefix is \`${prefix}\`.` : 'There is no command prefix.'}
To run a command, use ${msg.anyUsage('<command>')}.
`);
return msg.reply(prefix ? `The command prefix is \`${prefix}\`.` : 'There is no command prefix.');
}
};