Новые префиксы и игра в крестики нолики

This commit is contained in:
JonnyBro 2022-01-01 00:50:09 +05:00
parent 35d8482550
commit 238eac8f18
93 changed files with 160 additions and 129 deletions

View file

@ -7,12 +7,12 @@ class Addcommand extends Command {
dirname: __dirname,
enabled: true,
guildOnly: true,
aliases: ["custom-command"],
aliases: ["addc"],
memberPermissions: ["MANAGE_GUILD"],
botPermissions: ["SEND_MESSAGES", "EMBED_LINKS"],
nsfw: false,
ownerOnly: false,
cooldown: 2000
cooldown: 1000
});
}

View file

@ -7,12 +7,12 @@ class Addemoji extends Command {
dirname: __dirname,
enabled: true,
guildOnly: true,
aliases: [],
aliases: ["adde"],
memberPermissions: ["MANAGE_GUILD"],
botPermissions: ["SEND_MESSAGES", "EMBED_LINKS"],
nsfw: false,
ownerOnly: false,
cooldown: 2000
cooldown: 1000
});
}

View file

@ -7,12 +7,12 @@ class Automod extends Command {
dirname: __dirname,
enabled: true,
guildOnly: true,
aliases: [],
aliases: ["autom"],
memberPermissions: ["MANAGE_GUILD"],
botPermissions: ["SEND_MESSAGES", "EMBED_LINKS"],
nsfw: false,
ownerOnly: false,
cooldown: 2000
cooldown: 1000
});
}

View file

@ -8,12 +8,12 @@ class Autorole extends Command {
dirname: __dirname,
enabled: true,
guildOnly: true,
aliases: ["ar"],
aliases: ["autor"],
memberPermissions: ["MANAGE_GUILD"],
botPermissions: ["SEND_MESSAGES", "EMBED_LINKS"],
nsfw: false,
ownerOnly: false,
cooldown: 2000
cooldown: 1000
});
}

View file

@ -10,12 +10,12 @@ class Backup extends Command {
dirname: __dirname,
enabled: true,
guildOnly: true,
aliases: [],
aliases: ["ba"],
memberPermissions: ["MANAGE_GUILD"],
botPermissions: ["SEND_MESSAGES", "EMBED_LINKS", "ADMINISTRATOR"],
nsfw: false,
ownerOnly: false,
cooldown: 30000
cooldown: 10000
});
}

View file

@ -13,7 +13,7 @@ class Configuration extends Command {
botPermissions: ["SEND_MESSAGES", "EMBED_LINKS"],
nsfw: false,
ownerOnly: false,
cooldown: 3000
cooldown: 2000
});
}

View file

@ -7,12 +7,12 @@ class Delcommand extends Command {
dirname: __dirname,
enabled: true,
guildOnly: true,
aliases: [],
aliases: ["delc"],
memberPermissions: ["MANAGE_GUILD"],
botPermissions: ["SEND_MESSAGES", "EMBED_LINKS"],
nsfw: false,
ownerOnly: false,
cooldown: 2000
cooldown: 1000
});
}

View file

@ -7,12 +7,12 @@ class Deletemod extends Command {
dirname: __dirname,
enabled: true,
guildOnly: true,
aliases: ["autodeletemodcommands"],
aliases: ["delm"],
memberPermissions: ["MANAGE_MESSAGES"],
botPermissions: ["SEND_MESSAGES", "EMBED_LINKS"],
nsfw: false,
ownerOnly: false,
cooldown: 2000
cooldown: 1000
});
}

View file

@ -8,12 +8,12 @@ class Goodbye extends Command {
dirname: __dirname,
enabled: true,
guildOnly: true,
aliases: ["au-revoir"],
aliases: ["gb"],
memberPermissions: ["MANAGE_GUILD"],
botPermissions: ["SEND_MESSAGES", "EMBED_LINKS"],
nsfw: false,
ownerOnly: false,
cooldown: 2000
cooldown: 1000
});
}

View file

@ -7,7 +7,7 @@ class Ignore extends Command {
dirname: __dirname,
enabled: true,
guildOnly: true,
aliases: ["disableChannel"],
aliases: ["ig"],
memberPermissions: ["MANAGE_GUILD"],
botPermissions: ["SEND_MESSAGES", "EMBED_LINKS"],
nsfw: false,

View file

@ -12,7 +12,7 @@ class Set extends Command {
botPermissions: ["SEND_MESSAGES"],
nsfw: false,
ownerOnly: false,
cooldown: 3000
cooldown: 2000
});
}

View file

@ -8,12 +8,12 @@ class Setbirthdays extends Command {
dirname: __dirname,
enabled: true,
guildOnly: true,
aliases: [],
aliases: ["setb"],
memberPermissions: ["MANAGE_GUILD"],
botPermissions: ["SEND_MESSAGES", "EMBED_LINKS"],
nsfw: false,
ownerOnly: false,
cooldown: 2000
cooldown: 1000
});
}

View file

@ -14,7 +14,7 @@ class Setfortniteshop extends Command {
botPermissions: ["SEND_MESSAGES", "EMBED_LINKS"],
nsfw: false,
ownerOnly: false,
cooldown: 2000
cooldown: 1000
});
}

View file

@ -7,12 +7,12 @@ class Setlang extends Command {
dirname: __dirname,
enabled: true,
guildOnly: true,
aliases: [],
aliases: ["setl"],
memberPermissions: ["MANAGE_GUILD"],
botPermissions: ["SEND_MESSAGES", "EMBED_LINKS"],
nsfw: false,
ownerOnly: false,
cooldown: 2000
cooldown: 1000
});
}

View file

@ -8,12 +8,12 @@ class Setmodlogs extends Command {
dirname: __dirname,
enabled: true,
guildOnly: true,
aliases: ["setmodlogs"],
aliases: ["setm"],
memberPermissions: ["MANAGE_GUILD"],
botPermissions: ["SEND_MESSAGES", "EMBED_LINKS"],
nsfw: false,
ownerOnly: false,
cooldown: 2000
cooldown: 1000
});
}

View file

@ -7,12 +7,12 @@ class Setprefix extends Command {
dirname: __dirname,
enabled: true,
guildOnly: true,
aliases: [],
aliases: ["setp"],
memberPermissions: ["MANAGE_GUILD"],
botPermissions: ["SEND_MESSAGES", "EMBED_LINKS"],
nsfw: false,
ownerOnly: false,
cooldown: 2000
cooldown: 1000
});
}

View file

@ -8,12 +8,12 @@ class Setreports extends Command {
dirname: __dirname,
enabled: true,
guildOnly: true,
aliases: ["setreport"],
aliases: ["setr"],
memberPermissions: ["MANAGE_GUILD"],
botPermissions: ["SEND_MESSAGES", "EMBED_LINKS"],
nsfw: false,
ownerOnly: false,
cooldown: 2000
cooldown: 1000
});
}

View file

@ -8,12 +8,12 @@ class Setsuggests extends Command {
dirname: __dirname,
enabled: true,
guildOnly: true,
aliases: ["setsuggest", "setsuggestions", "setsuggestion"],
aliases: ["setsu"],
memberPermissions: ["MANAGE_GUILD"],
botPermissions: ["SEND_MESSAGES", "EMBED_LINKS"],
nsfw: false,
ownerOnly: false,
cooldown: 2000
cooldown: 1000
});
}

View file

@ -8,12 +8,12 @@ class Slowmode extends Command {
dirname: __dirname,
enabled: true,
guildOnly: true,
aliases: ["slowmotion"],
aliases: ["sl"],
memberPermissions: ["MANAGE_GUILD"],
botPermissions: ["SEND_MESSAGES", "EMBED_LINKS"],
nsfw: false,
ownerOnly: false,
cooldown: 3000
cooldown: 2000
});
}

View file

@ -8,12 +8,12 @@ class Welcome extends Command {
dirname: __dirname,
enabled: true,
guildOnly: true,
aliases: ["bienvenue"],
aliases: ["welc"],
memberPermissions: ["MANAGE_GUILD"],
botPermissions: ["SEND_MESSAGES", "EMBED_LINKS"],
nsfw: false,
ownerOnly: false,
cooldown: 2000
cooldown: 1000
});
}

View file

@ -7,7 +7,7 @@ class Birthdate extends Command {
dirname: __dirname,
enabled: true,
guildOnly: false,
aliases: ["anniversaire"],
aliases: ["bd"],
memberPermissions: [],
botPermissions: ["SEND_MESSAGES", "EMBED_LINKS"],
nsfw: false,

View file

@ -7,7 +7,7 @@ class Deposit extends Command {
dirname: __dirname,
enabled: true,
guildOnly: true,
aliases: ["bank", "banque", "dep"],
aliases: ["bank", "dep"],
memberPermissions: [],
botPermissions: ["SEND_MESSAGES", "EMBED_LINKS"],
nsfw: false,

View file

@ -7,7 +7,7 @@ class Divorce extends Command {
dirname: __dirname,
enabled: true,
guildOnly: false,
aliases: ["profil"],
aliases: ["di"],
memberPermissions: [],
botPermissions: ["SEND_MESSAGES", "EMBED_LINKS"],
nsfw: false,

View file

@ -13,7 +13,7 @@ class Leaderboard extends Command {
botPermissions: ["SEND_MESSAGES", "EMBED_LINKS"],
nsfw: false,
ownerOnly: false,
cooldown: 3000
cooldown: 2000
});
}

View file

@ -10,12 +10,12 @@ class Marry extends Command {
dirname: __dirname,
enabled: true,
guildOnly: true,
aliases: ["mariage"],
aliases: [],
memberPermissions: [],
botPermissions: ["SEND_MESSAGES", "EMBED_LINKS"],
nsfw: false,
ownerOnly: false,
cooldown: 5000
cooldown: 2000
});
}

View file

@ -14,7 +14,7 @@ class Credits extends Command {
dirname: __dirname,
enabled: true,
guildOnly: true,
aliases: ["credits", "balance"],
aliases: ["credits", "balance", "mon"],
memberPermissions: [],
botPermissions: ["SEND_MESSAGES", "EMBED_LINKS"],
nsfw: false,

View file

@ -12,7 +12,7 @@ class Pay extends Command {
botPermissions: ["SEND_MESSAGES", "EMBED_LINKS"],
nsfw: false,
ownerOnly: false,
cooldown: 5000
cooldown: 2000
});
}

View file

@ -19,7 +19,7 @@ class Profile extends Command {
botPermissions: ["SEND_MESSAGES", "EMBED_LINKS"],
nsfw: false,
ownerOnly: false,
cooldown: 2000
cooldown: 1000
});
}

View file

@ -12,7 +12,7 @@ class Rep extends Command {
botPermissions: ["SEND_MESSAGES", "EMBED_LINKS"],
nsfw: false,
ownerOnly: false,
cooldown: 2000
cooldown: 1000
});
}

View file

@ -12,7 +12,7 @@ class Rob extends Command {
botPermissions: ["SEND_MESSAGES", "EMBED_LINKS"],
nsfw: false,
ownerOnly: false,
cooldown: 5000
cooldown: 2000
});
}

View file

@ -7,12 +7,12 @@ class Setbio extends Command {
dirname: __dirname,
enabled: true,
guildOnly: false,
aliases: ["biography", "setdesc"],
aliases: ["biography", "setdesc", "sb"],
memberPermissions: [],
botPermissions: ["SEND_MESSAGES", "EMBED_LINKS"],
nsfw: false,
ownerOnly: false,
cooldown: 3000
cooldown: 1000
});
}

View file

@ -8,12 +8,12 @@ class Work extends Command {
dirname: __dirname,
enabled: true,
guildOnly: true,
aliases: ["salaire", "salary", "travail", "daily", "dailies"],
aliases: ["salary", "daily"],
memberPermissions: [],
botPermissions: ["SEND_MESSAGES", "EMBED_LINKS"],
nsfw: false,
ownerOnly: false,
cooldown: 2000
cooldown: 1000
});
}

View file

@ -7,7 +7,7 @@ class Eightball extends Command {
dirname: __dirname,
enabled: true,
guildOnly: false,
aliases: ["eight-ball", "eightball"],
aliases: ["8b"],
memberPermissions: [],
botPermissions: ["SEND_MESSAGES", "EMBED_LINKS"],
nsfw: false,

View file

@ -10,7 +10,7 @@ class FindWords extends Command {
dirname: __dirname,
enabled: true,
guildOnly: true,
aliases: [],
aliases: ["findw"],
memberPermissions: [],
botPermissions: ["SEND_MESSAGES", "EMBED_LINKS"],
nsfw: false,

View file

@ -8,7 +8,7 @@ class Fml extends Command {
dirname: __dirname,
enabled: true,
guildOnly: false,
aliases: ["vdm"],
aliases: [],
memberPermissions: [],
botPermissions: ["SEND_MESSAGES", "EMBED_LINKS"],
nsfw: false,

View file

@ -8,7 +8,7 @@ class Joke extends Command {
dirname: __dirname,
enabled: true,
guildOnly: false,
aliases: ["blague"],
aliases: [],
memberPermissions: [],
botPermissions: ["SEND_MESSAGES", "EMBED_LINKS"],
nsfw: false,

View file

@ -10,7 +10,7 @@ class Number extends Command {
dirname: __dirname,
enabled: true,
guildOnly: true,
aliases: [],
aliases: ["num"],
memberPermissions: [],
botPermissions: ["SEND_MESSAGES", "EMBED_LINKS"],
nsfw: false,

26
commands/Fun/tictactoe.js Normal file
View file

@ -0,0 +1,26 @@
const Command = require("../../base/Command.js"),
TTT = require("discord-tictactoe");
class TicTacToe extends Command {
constructor(client) {
super(client, {
name: "tictactoe",
dirname: __dirname,
enabled: true,
guildOnly: false,
aliases: ["ttt"],
memberPermissions: [],
botPermissions: ["SEND_MESSAGES", "EMBED_LINKS"],
nsfw: false,
ownerOnly: false,
cooldown: 2000
});
}
async run(message, args) {
const game = new TTT({ language: "ru" })
game.handleMessage(message);
}
};
module.exports = TicTacToe;

View file

@ -8,12 +8,12 @@ class Activity extends Command {
dirname: __dirname,
enabled: true,
guildOnly: true,
aliases: [],
aliases: ["act"],
memberPermissions: [],
botPermissions: ["SEND_MESSAGES", "EMBED_LINKS"],
nsfw: false,
ownerOnly: false,
cooldown: 3000
cooldown: 2000
});
}

View file

@ -14,7 +14,7 @@ class Fortnite extends Command {
botPermissions: ["SEND_MESSAGES", "EMBED_LINKS"],
nsfw: false,
ownerOnly: false,
cooldown: 3000
cooldown: 2000
});
}

View file

@ -9,12 +9,12 @@ class Fortniteshop extends Command {
dirname: __dirname,
enabled: true,
guildOnly: false,
aliases: ["fnshop"],
aliases: ["fns"],
memberPermissions: [],
botPermissions: ["SEND_MESSAGES", "EMBED_LINKS"],
nsfw: false,
ownerOnly: false,
cooldown: 3000
cooldown: 2000
});
}

View file

@ -14,7 +14,7 @@ class Github extends Command {
botPermissions: ["SEND_MESSAGES", "EMBED_LINKS"],
nsfw: false,
ownerOnly: false,
cooldown: 3000
cooldown: 1000
});
}

View file

@ -9,12 +9,12 @@ class Hastebin extends Command {
dirname: __dirname,
enabled: true,
guildOnly: false,
aliases: ["pastebin"],
aliases: ["hb"],
memberPermissions: [],
botPermissions: ["SEND_MESSAGES", "EMBED_LINKS"],
nsfw: false,
ownerOnly: false,
cooldown: 3000
cooldown: 1000
});
}

View file

@ -8,12 +8,12 @@ class Help extends Command {
dirname: __dirname,
enabled: true,
guildOnly: false,
aliases: ["aide", "h", "commands"],
aliases: ["h", "commands"],
memberPermissions: [],
botPermissions: ["SEND_MESSAGES", "EMBED_LINKS"],
nsfw: false,
ownerOnly: false,
cooldown: 2000
cooldown: 1000
});
}

View file

@ -8,12 +8,12 @@ class Invitations extends Command {
dirname: __dirname,
enabled: true,
guildOnly: true,
aliases: [],
aliases: ["invs"],
memberPermissions: [],
botPermissions: ["SEND_MESSAGES", "EMBED_LINKS", "MANAGE_GUILD"],
nsfw: false,
ownerOnly: false,
cooldown: 2000
cooldown: 1000
});
}

View file

@ -13,7 +13,7 @@ class Invite extends Command {
botPermissions: ["SEND_MESSAGES", "EMBED_LINKS"],
nsfw: false,
ownerOnly: false,
cooldown: 2000
cooldown: 1000
});
}

View file

@ -16,7 +16,7 @@ class Minecraft extends Command {
botPermissions: ["SEND_MESSAGES", "EMBED_LINKS"],
nsfw: false,
ownerOnly: false,
cooldown: 2000
cooldown: 1000
});
}

View file

@ -15,7 +15,7 @@ class Permissions extends Command {
botPermissions: ["SEND_MESSAGES", "EMBED_LINKS"],
nsfw: false,
ownerOnly: false,
cooldown: 2000
cooldown: 1000
});
}

View file

@ -13,7 +13,7 @@ class Quote extends Command {
botPermissions: ["SEND_MESSAGES", "EMBED_LINKS"],
nsfw: false,
ownerOnly: false,
cooldown: 2000
cooldown: 1000
});
}

View file

@ -8,12 +8,12 @@ class Remindme extends Command {
dirname: __dirname,
enabled: true,
guildOnly: false,
aliases: ["reminder"],
aliases: ["reminder", "remind", "rem"],
memberPermissions: [],
botPermissions: ["SEND_MESSAGES", "EMBED_LINKS"],
nsfw: false,
ownerOnly: false,
cooldown: 2000
cooldown: 1000
});
}

View file

@ -13,7 +13,7 @@ class Report extends Command {
botPermissions: ["SEND_MESSAGES", "EMBED_LINKS"],
nsfw: false,
ownerOnly: false,
cooldown: 3000
cooldown: 2000
});
}

View file

@ -13,7 +13,7 @@ class Serverinfo extends Command {
botPermissions: ["SEND_MESSAGES", "EMBED_LINKS"],
nsfw: false,
ownerOnly: false,
cooldown: 2000
cooldown: 1000
});
}

View file

@ -12,7 +12,7 @@ class Setafk extends Command {
botPermissions: ["SEND_MESSAGES", "EMBED_LINKS"],
nsfw: false,
ownerOnly: false,
cooldown: 3000
cooldown: 2000
});
}

View file

@ -14,7 +14,7 @@ class ShortURL extends Command {
botPermissions: ["SEND_MESSAGES", "EMBED_LINKS"],
nsfw: false,
ownerOnly: false,
cooldown: 3000
cooldown: 1000
});
}

View file

@ -8,7 +8,7 @@ class Someone extends Command {
dirname: __dirname,
enabled: true,
guildOnly: true,
aliases: ["somebody", "something"],
aliases: ["somebody"],
memberPermissions: [],
botPermissions: ["SEND_MESSAGES", "EMBED_LINKS"],
nsfw: false,

View file

@ -8,12 +8,12 @@ class Staff extends Command {
dirname: __dirname,
enabled: true,
guildOnly: true,
aliases: ["stafflist", "staffliste"],
aliases: ["stafflist"],
memberPermissions: [],
botPermissions: ["SEND_MESSAGES", "EMBED_LINKS"],
nsfw: false,
ownerOnly: false,
cooldown: 2000
cooldown: 1000
});
}

View file

@ -8,12 +8,12 @@ class Stats extends Command {
dirname: __dirname,
enabled: true,
guildOnly: false,
aliases: ["statistics", "infobot", "botinfos", "bot-infos", "bot-info", "infos-bot", "info-bot"],
aliases: [],
memberPermissions: [],
botPermissions: ["SEND_MESSAGES", "EMBED_LINKS"],
nsfw: false,
ownerOnly: false,
cooldown: 2000
cooldown: 1000
});
}

View file

@ -8,12 +8,12 @@ class Suggest extends Command {
dirname: __dirname,
enabled: true,
guildOnly: true,
aliases: ["suggestion", "sugg"],
aliases: ["sugg"],
memberPermissions: [],
botPermissions: ["SEND_MESSAGES", "EMBED_LINKS"],
nsfw: false,
ownerOnly: false,
cooldown: 3000
cooldown: 2000
});
}

View file

@ -11,12 +11,12 @@ class Translate extends Command {
dirname: __dirname,
enabled: true,
guildOnly: false,
aliases: ["traduction", "translation", "trad"],
aliases: ["tr"],
memberPermissions: [],
botPermissions: ["SEND_MESSAGES", "EMBED_LINKS"],
nsfw: false,
ownerOnly: false,
cooldown: 5000
cooldown: 3000
});
}

View file

@ -14,7 +14,7 @@ class Userinfo extends Command {
botPermissions: ["SEND_MESSAGES", "EMBED_LINKS"],
nsfw: false,
ownerOnly: false,
cooldown: 3000
cooldown: 1000
});
}

View file

@ -8,12 +8,12 @@ class Announcement extends Command {
dirname: __dirname,
enabled: true,
guildOnly: true,
aliases: [],
aliases: ["ann"],
memberPermissions: ["MENTION_EVERYONE"],
botPermissions: ["SEND_MESSAGES", "EMBED_LINKS"],
nsfw: false,
ownerOnly: false,
cooldown: 2000
cooldown: 1000
});
}

View file

@ -8,12 +8,12 @@ class Ban extends Command {
dirname: __dirname,
enabled: true,
guildOnly: true,
aliases: [],
aliases: ["b"],
memberPermissions: ["BAN_MEMBERS"],
botPermissions: ["SEND_MESSAGES", "EMBED_LINKS", "BAN_MEMBERS"],
nsfw: false,
ownerOnly: false,
cooldown: 2000
cooldown: 1000
});
}

View file

@ -8,12 +8,12 @@ class Checkinvites extends Command {
dirname: __dirname,
enabled: true,
guildOnly: true,
aliases: ["checkinvite", "checki"],
aliases: ["checkinvite", "checkinv"],
memberPermissions: [],
botPermissions: ["SEND_MESSAGES", "EMBED_LINKS"],
nsfw: false,
ownerOnly: false,
cooldown: 2000
cooldown: 1000
});
}

View file

@ -12,7 +12,7 @@ class Clear extends Command {
botPermissions: ["SEND_MESSAGES", "EMBED_LINKS", "MANAGE_MESSAGES"],
nsfw: false,
ownerOnly: false,
cooldown: 2000
cooldown: 1000
});
}

View file

@ -12,7 +12,7 @@ class Clearsanctions extends Command {
botPermissions: ["SEND_MESSAGES", "EMBED_LINKS"],
nsfw: false,
ownerOnly: false,
cooldown: 2000
cooldown: 1000
});
}

View file

@ -13,7 +13,7 @@ class Giveaway extends Command {
botPermissions: ["SEND_MESSAGES", "EMBED_LINKS"],
nsfw: false,
ownerOnly: false,
cooldown: 3000
cooldown: 2000
});
}

View file

@ -8,12 +8,12 @@ class Kick extends Command {
dirname: __dirname,
enabled: true,
guildOnly: true,
aliases: [],
aliases: ["k"],
memberPermissions: ["KICK_MEMBERS"],
botPermissions: ["SEND_MESSAGES", "EMBED_LINKS", "KICK_MEMBERS"],
nsfw: false,
ownerOnly: false,
cooldown: 2000
cooldown: 1000
});
}

View file

@ -9,12 +9,12 @@ class Mute extends Command {
dirname: __dirname,
enabled: true,
guildOnly: true,
aliases: [],
aliases: ["m"],
memberPermissions: ["MANAGE_MESSAGES"],
botPermissions: ["SEND_MESSAGES", "EMBED_LINKS", "MANAGE_CHANNELS"],
nsfw: false,
ownerOnly: false,
cooldown: 2000
cooldown: 1000
});
}

View file

@ -13,7 +13,7 @@ class Poll extends Command {
botPermissions: ["SEND_MESSAGES", "EMBED_LINKS"],
nsfw: false,
ownerOnly: false,
cooldown: 2000
cooldown: 1000
});
}

View file

@ -13,7 +13,7 @@ class Sanctions extends Command {
botPermissions: ["SEND_MESSAGES", "EMBED_LINKS"],
nsfw: false,
ownerOnly: false,
cooldown: 2000
cooldown: 1000
});
}

View file

@ -12,7 +12,7 @@ class Setwarns extends Command {
botPermissions: ["SEND_MESSAGES", "EMBED_LINKS", "BAN_MEMBERS", "KICK_MEMBERS"],
nsfw: false,
ownerOnly: false,
cooldown: 2000
cooldown: 1000
});
}

View file

@ -7,12 +7,12 @@ class Unban extends Command {
dirname: __dirname,
enabled: true,
guildOnly: true,
aliases: [],
aliases: ["ub"],
memberPermissions: ["BAN_MEMBERS"],
botPermissions: ["SEND_MESSAGES", "EMBED_LINKS", "BAN_MEMBERS"],
nsfw: false,
ownerOnly: false,
cooldown: 2000
cooldown: 1000
});
}

View file

@ -7,12 +7,12 @@ class Unmute extends Command {
dirname: __dirname,
enabled: true,
guildOnly: true,
aliases: [],
aliases: ["um"],
memberPermissions: ["MANAGE_MESSAGES"],
botPermissions: ["SEND_MESSAGES", "EMBED_LINKS", "MANAGE_CHANNELS"],
nsfw: false,
ownerOnly: false,
cooldown: 2000
cooldown: 1000
});
}

View file

@ -8,12 +8,12 @@ class Warn extends Command {
dirname: __dirname,
enabled: true,
guildOnly: true,
aliases: [],
aliases: ["w"],
memberPermissions: ["MANAGE_MESSAGES"],
botPermissions: ["SEND_MESSAGES", "EMBED_LINKS"],
nsfw: false,
ownerOnly: false,
cooldown: 2000
cooldown: 1000
});
}

View file

@ -7,12 +7,12 @@ class AutoPlay extends Command {
dirname: __dirname,
enabled: true,
guildOnly: true,
aliases: [],
aliases: ["autop"],
memberPermissions: [],
botPermissions: ["SEND_MESSAGES", "EMBED_LINKS"],
nsfw: false,
ownerOnly: false,
cooldown: 3000
cooldown: 1000
});
}

View file

@ -13,7 +13,7 @@ class Back extends Command {
botPermissions: ["SEND_MESSAGES", "EMBED_LINKS"],
nsfw: false,
ownerOnly: false,
cooldown: 3000
cooldown: 1000
});
}

View file

@ -13,7 +13,7 @@ class Clip extends Command {
botPermissions: ["SEND_MESSAGES", "EMBED_LINKS"],
nsfw: false,
ownerOnly: false,
cooldown: 3000
cooldown: 2000
});
}
@ -23,6 +23,7 @@ class Clip extends Command {
const clip = args[0];
if (!voice) return message.error("music/play:NO_VOICE_CHANNEL");
if (voice.members.find(user => user.id === this.client.user.id)) return message.error("music/clip:ACTIVE_CLIP");
if (queue) return message.error("music/clip:ACTIVE_QUEUE");
if (!clip) return message.error("music/clip:NO_ARG");
if (!fs.existsSync(`./clips/${clip}.mp3`)) return message.error("music/clip:NO_FILE", { file: clip });

View file

@ -14,7 +14,7 @@ class Clips extends Command {
botPermissions: ["SEND_MESSAGES", "EMBED_LINKS"],
nsfw: false,
ownerOnly: false,
cooldown: 3000
cooldown: 2000
});
}

View file

@ -8,7 +8,7 @@ class Filters extends Command {
dirname: __dirname,
enabled: true,
guildOnly: true,
aliases: [],
aliases: ["fs"],
memberPermissions: [],
botPermissions: ["SEND_MESSAGES", "EMBED_LINKS"],
nsfw: false,

View file

@ -8,7 +8,7 @@ class Jump extends Command {
dirname: __dirname,
enabled: true,
guildOnly: true,
aliases: [],
aliases: ["j"],
memberPermissions: [],
botPermissions: ["SEND_MESSAGES", "EMBED_LINKS"],
nsfw: false,

View file

@ -7,7 +7,7 @@ class Loop extends Command {
dirname: __dirname,
enabled: true,
guildOnly: true,
aliases: ["repeat"],
aliases: ["repeat", "l"],
memberPermissions: [],
botPermissions: ["SEND_MESSAGES"],
nsfw: false,

View file

@ -9,7 +9,7 @@ class Lyrics extends Command {
dirname: __dirname,
enabled: true,
guildOnly: false,
aliases: [],
aliases: ["ly"],
memberPermissions: [],
botPermissions: ["SEND_MESSAGES", "EMBED_LINKS"],
nsfw: false,

View file

@ -8,7 +8,7 @@ class Np extends Command {
dirname: __dirname,
enabled: true,
guildOnly: true,
aliases: ["nowplaying", "now-playing"],
aliases: ["nowplaying"],
memberPermissions: [],
botPermissions: ["SEND_MESSAGES", "EMBED_LINKS"],
nsfw: false,

View file

@ -9,7 +9,7 @@ class Queue extends Command {
dirname: __dirname,
enabled: true,
guildOnly: true,
aliases: ["playlist"],
aliases: ["qu"],
memberPermissions: [],
botPermissions: ["SEND_MESSAGES", "EMBED_LINKS"],
nsfw: false,

View file

@ -8,7 +8,7 @@ class Skip extends Command {
dirname: __dirname,
enabled: true,
guildOnly: true,
aliases: ["next"],
aliases: ["s"],
memberPermissions: [],
botPermissions: ["SEND_MESSAGES", "EMBED_LINKS"],
nsfw: false,

View file

@ -8,7 +8,7 @@ class Stop extends Command {
dirname: __dirname,
enabled: true,
guildOnly: true,
aliases: ["leave"],
aliases: ["leave", "st"],
memberPermissions: [],
botPermissions: ["SEND_MESSAGES", "EMBED_LINKS"],
nsfw: false,

View file

@ -9,7 +9,7 @@ class Hentai extends Command {
dirname: __dirname,
enabled: true,
guildOnly: true,
aliases: [],
aliases: ["hen"],
memberPermissions: [],
botPermissions: ["SEND_MESSAGES", "EMBED_LINKS", "ATTACH_FILES"],
nsfw: true,

View file

@ -7,7 +7,7 @@ class Debug extends Command {
dirname: __dirname,
enabled: true,
guildOnly: true,
aliases: [],
aliases: ["deb"],
memberPermissions: [],
botPermissions: ["SEND_MESSAGES"],
nsfw: false,

View file

@ -7,7 +7,7 @@ class Eval extends Command {
dirname: __dirname,
enabled: true,
guildOnly: false,
aliases: [],
aliases: ["ev"],
memberPermissions: [],
botPermissions: ["SEND_MESSAGES", "EMBED_LINKS"],
nsfw: false,

View file

@ -7,7 +7,7 @@ class Reload extends Command {
dirname: __dirname,
enabled: true,
guildOnly: false,
aliases: [],
aliases: ["rel"],
memberPermissions: [],
botPermissions: [],
nsfw: false,

View file

@ -14,6 +14,8 @@ module.exports = {
const prefixes = [
`<@!${message.client.user.id}> `,
`<@${message.client.user.id}> `,
`<@!${message.client.user.id}>`,
`<@${message.client.user.id}>`,
message.client.user.username.toLowerCase(),
data.guild.prefix
];

View file

@ -2,7 +2,8 @@
"DESCRIPTION": "Воспроизвести клип",
"USAGE": "{{prefix}}clip [название-файла]",
"EXAMPLES": "{{prefix}}clip haha",
"NO_ARG": "Укажите название файла",
"NO_ARG": "Укажите название файла!",
"NO_FILE": "Файл {{file}} отсутствует!",
"ACTIVE_QUEUE": "Не могу воспроизвести клип, т.к. на сервере есть активная очередь"
"ACTIVE_QUEUE": "Не могу воспроизвести клип, т.к. на сервере есть активная очередь!",
"ACTIVE_CLIP": "Уже воспроизводится какой-то файл!"
}

View file

@ -33,6 +33,7 @@
"discord-canvas": "^1.3.2",
"discord-giveaways": "^4.4.3",
"discord-paginationembed": "^2.1.0",
"discord-tictactoe": "^2.2.0",
"discord-together": "^1.3.25",
"discord.js": "^12.5.3",
"distube": "^3.0.4",