diff options
| author | Unknown <jtsshieh@outlook.com> | 2018-03-09 21:00:19 -0500 |
|---|---|---|
| committer | Unknown <jtsshieh@outlook.com> | 2018-03-09 21:00:19 -0500 |
| commit | f358f3979854c1f252bfb8ae785d1ae319c34afb (patch) | |
| tree | 1ac2203045d79e2f224107ddf5df3c4756214417 /commands | |
| parent | 2cd3309275b6573c22a59807328fba8aed58f174 (diff) | |
| download | PokeBot-f358f3979854c1f252bfb8ae785d1ae319c34afb.tar.gz PokeBot-f358f3979854c1f252bfb8ae785d1ae319c34afb.tar.bz2 PokeBot-f358f3979854c1f252bfb8ae785d1ae319c34afb.zip | |
dumb justin
Diffstat (limited to 'commands')
| -rw-r--r-- | commands/Moderation/timeout.js | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/commands/Moderation/timeout.js b/commands/Moderation/timeout.js index b78e059..8c21c7b 100644 --- a/commands/Moderation/timeout.js +++ b/commands/Moderation/timeout.js @@ -25,7 +25,6 @@ exports.run = async (bot, msg) => { const member = msg.mentions.members.first(); if (!member) return await msg.reply('Who do I put in time-out?'); - msg.member.removeRoles(msg.member.roles); msg.member.addRole(msg.guild.roles.find('name', 'Timeout')); const { RichEmbed } = require('discord.js'); |
