changed over = to :, whoops

This commit is contained in:
2019-03-18 06:38:40 +11:00
parent 467dc136ff
commit f4601a7974
25 changed files with 194 additions and 190 deletions

View File

@@ -1,20 +1,22 @@
exports.name = 'Kick'
exports.alias = ['kick']
exports.helptext = 'Kicks users from the voice channel'
exports.helphide = false
exports.permissions = ['MOVE_MEMBERS']
exports.args = ['@Tag']
exports.category = 'admin'
exports.command = (client, msg) => {
if (msg.mentions.members.array().length > 0)
msg.member.guild.createChannel('Kicked', 'voice')
.then(channel => {
msg.mentions.members.first().setVoiceChannel(channel.id);
c = channel;
setTimeout(function () {
c.delete()
}, 150);
})
.catch(console.error);
module.exports = {
name: 'Kick',
alias: ['kick'],
helptext: 'Kicks users from the voice channel',
helphide: false,
permissions: ['MOVE_MEMBERS'],
args: ['@Tag'],
category: 'admin',
command: (client, msg) => {
if (msg.mentions.members.array().length > 0)
msg.member.guild.createChannel('Kicked', 'voice')
.then(channel => {
msg.mentions.members.first().setVoiceChannel(channel.id);
c = channel;
setTimeout(function () {
c.delete()
}, 150);
})
.catch(console.error);
}
}