diff --git a/commands/admin/ban.js b/commands/admin/ban.js index 59c259d..6877325 100644 --- a/commands/admin/ban.js +++ b/commands/admin/ban.js @@ -9,6 +9,7 @@ module.exports = class BanCommand extends Command { guildOnly: true, clientPermissions: ['BAN_MEMBERS'], userPermissions: ['BAN_MEMBERS'], + guildOnly: true, args: [ { key: 'member', diff --git a/commands/admin/kick.js b/commands/admin/kick.js index b6bc805..00b72ed 100644 --- a/commands/admin/kick.js +++ b/commands/admin/kick.js @@ -9,6 +9,7 @@ module.exports = class KickCommand extends Command { guildOnly: true, clientPermissions: ['KICK_MEMBERS'], userPermissions: ['KICK_MEMBERS'], + guildOnly: true, args: [ { key: 'member', diff --git a/commands/admin/prune.js b/commands/admin/prune.js index b366f4e..72f0a8b 100644 --- a/commands/admin/prune.js +++ b/commands/admin/prune.js @@ -8,7 +8,8 @@ module.exports = class PruneCommand extends Command { memberName: 'prune', description: 'Bulk delete messages.', clientPermissions: ['READ_MESSAGE_HISTORY', 'MANAGE_MESSAGES'], - userPermissions: ['MANAGE_MESSAGES'], + userPermissions: ['MANAGE_MESSAGES'], + guildOnly: true, args: [ { key: 'amount', diff --git a/commands/fun/music b/commands/fun/music index be6762f..959725e 100644 --- a/commands/fun/music +++ b/commands/fun/music @@ -7,6 +7,7 @@ module.exports = class MusicCommand extends Command { group: 'fun', memberName: 'music', description: 'Play youtube link in vocal', + guildOnly: true, args: [ { key: 'ytblink', diff --git a/index.js b/index.js index 91cba2a..37a82db 100644 --- a/index.js +++ b/index.js @@ -32,7 +32,7 @@ client.registry const channel = client.channels.get('487766113292124160'); channel.send(`Ready to serve in ${client.channels.size} channels on ${client.guilds.size} servers, for a total of ${client.users.size} users. ${client.readyAt}`); - client.user.setActivity('"haha" or @me for help'); + client.user.setActivity('"haha help" or "@me help" for help'); }); // When bot join a guild send embeds with details about it. client.on("guildCreate", guild => {