Skip to content

Update packages, create .eslint file and enforce code style#128

Open
phamleduy04 wants to merge 13 commits intoChecksumDev:masterfrom
phamleduy04:master
Open

Update packages, create .eslint file and enforce code style#128
phamleduy04 wants to merge 13 commits intoChecksumDev:masterfrom
phamleduy04:master

Conversation

@phamleduy04
Copy link

@phamleduy04 phamleduy04 commented Oct 16, 2020

I'm not checking because I'm just enforce code style. But I have updated packages, u can test it before merging it.

}

async run(msg) {
if (msg.author.bot) return;
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

dont really need this because default discord.js commando auto ignore bot messages

.reply(`🗑️ Sucessfully Deleted ${args.purgecount} messages.`)
.then(async e => {
await e.delete(2000);
await e.delete({ timeout: 2000 });
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

in discord.js v12 u need to put the time to an object. Refer this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant