emojis n stuff

This commit is contained in:
Emily 2020-10-23 19:10:49 +11:00
parent 8c214b8704
commit 098b499ec4
2 changed files with 9 additions and 6 deletions

View file

@ -9,7 +9,7 @@ module.exports = class {
this.botPerms = [], this.botPerms = [],
this.cooldown = 5000, this.cooldown = 5000,
this.help = { this.help = {
description: 'Sets your own personal prefix for woomy, that works in all servers and DM\'s.', description: 'Sets your own personal prefix for woomy, that works across all the servers you\'re in!',
usage: 'userprefix` <new prefix>', usage: 'userprefix` <new prefix>',
examples: 'userprefix w! - sets your personal prefix to woomy' examples: 'userprefix w! - sets your personal prefix to woomy'
}; };
@ -24,6 +24,8 @@ module.exports = class {
await client.db.updateUser(message.author.id, 'prefix', args[0]); await client.db.updateUser(message.author.id, 'prefix', args[0]);
message.channel.createMessage(`Your personal prefix has been set to: \`${args[0]}\``); message.channel.createMessage(
`${client.constants.emojis.success} Your personal prefix has been set to: \`${args[0]}\``
);
} }
}; };

View file

@ -1,7 +1,8 @@
{ {
"success": "<:success:466995111885144095>", "success": "<:success:466995111885144095>",
"error": "<:error:466995152976871434>", "botError": "<:warning:701681841190600704>",
"denied": "<:denied:466995195150336020>", "userError": "<:error:466995152976871434>",
"wait": "<:wait:467115775849922570>", "permError": "<:denied:466995195150336020>",
"warning": "<:warning:701681841190600704>" "wait": "<:wait:467115775849922570>"
} }