forked from Supositware/Haha-Yes
Merge branch 'master' of https://gitlab.com/loicbersier/discordbot
This commit is contained in:
commit
1988787d3e
3 changed files with 3 additions and 3 deletions
|
@ -21,7 +21,7 @@ module.exports = class BanCommand extends Command {
|
||||||
|
|
||||||
async run(message) {
|
async run(message) {
|
||||||
const member = message.mentions.members.first();
|
const member = message.mentions.members.first();
|
||||||
member.ban(reason.join(" ")).then(member => {
|
member.ban().then(member => {
|
||||||
message.reply(`${member.user.username} was succesfully banned.`);
|
message.reply(`${member.user.username} was succesfully banned.`);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
@ -21,7 +21,7 @@ module.exports = class KickCommand extends Command {
|
||||||
|
|
||||||
async run(message) {
|
async run(message) {
|
||||||
const member = message.mentions.members.first();
|
const member = message.mentions.members.first();
|
||||||
member.kick(reason.join(" ")).then(member => {
|
member.kick().then(member => {
|
||||||
message.reply(`${member.user.username} was succesfully kicked.`);
|
message.reply(`${member.user.username} was succesfully kicked.`);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
@ -12,6 +12,6 @@ module.exports = class DedCommand extends Command {
|
||||||
}
|
}
|
||||||
|
|
||||||
async run(message) {
|
async run(message) {
|
||||||
await message.say('im dead now k bye thx');
|
await message.say('https://i.redd.it/lw8hrvr0l4f11.jpg');
|
||||||
process.exit();
|
process.exit();
|
||||||
}}
|
}}
|
Loading…
Reference in a new issue