Adde guild only commands and updated activity of bot

Commando
Loic Bersier 6 years ago
parent 100bdb0edf
commit 9dded7ea44

@ -9,6 +9,7 @@ module.exports = class BanCommand extends Command {
guildOnly: true,
clientPermissions: ['BAN_MEMBERS'],
userPermissions: ['BAN_MEMBERS'],
guildOnly: true,
args: [
{
key: 'member',

@ -9,6 +9,7 @@ module.exports = class KickCommand extends Command {
guildOnly: true,
clientPermissions: ['KICK_MEMBERS'],
userPermissions: ['KICK_MEMBERS'],
guildOnly: true,
args: [
{
key: 'member',

@ -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',

@ -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',

@ -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 => {

Loading…
Cancel
Save