Chatbleach ( just spam a bunch of dot to "clean" a channel )

This commit is contained in:
Loic Bersier 2018-09-20 20:47:17 +02:00
parent b691232eaf
commit 7eff6dd931

19
commands/admin/cb.js Normal file
View file

@ -0,0 +1,19 @@
const { Command } = require('discord.js-commando');
module.exports = class cbCommand extends Command {
constructor(client) {
super(client, {
name: 'cb',
group: 'admin',
memberName: 'cb',
description: 'spam a bunch of dot to quickly make something disspear',
clientPermissions: ['MANAGE_MESSAGES'],
userPermissions: ['MANAGE_MESSAGES'],
guildOnly: true,
});
}
run(message) {
message.say('.\n.\n.\n.\n.\n.\n.\n.\n.\n.\n.\n.\n.\n.\n.\n.\n.\n.\n.\n.\n.\n.\n.\n.\n.\n.\n.\n.\n.\n.\n.\n.\n.\n.\n.\n.\n.\n.\n.\n.\n.\n.\n.\n.\n.\n.\n.\n.\n.\n.\n.\n.\n.\n.\n.')
}
};