Discord.js v14

This commit is contained in:
Dragon Fire
2024-04-07 19:06:19 -04:00
parent 58c81aa912
commit f59826f7ab
272 changed files with 893 additions and 656 deletions
+1 -1
View File
@@ -22,7 +22,7 @@ module.exports = class MockingCommand extends Command {
run(msg, { text }) {
const canEmoji = msg.guild
? msg.channel.permissionsFor(this.client.user).has('USE_EXTERNAL_EMOJIS')
? msg.channel.permissionsFor(this.client.user).has(PermissionFlagsBits.UseExternalEmojis)
: true;
const letters = text.split('');
for (let i = 0; i < letters.length; i += Math.floor(Math.random() * 4)) {