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

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, dirname: __dirname,
enabled: true, enabled: true,
guildOnly: true, guildOnly: true,
aliases: ["custom-command"], aliases: ["addc"],
memberPermissions: ["MANAGE_GUILD"], memberPermissions: ["MANAGE_GUILD"],
botPermissions: ["SEND_MESSAGES", "EMBED_LINKS"], botPermissions: ["SEND_MESSAGES", "EMBED_LINKS"],
nsfw: false, nsfw: false,
ownerOnly: false, ownerOnly: false,
cooldown: 2000 cooldown: 1000
}); });
} }

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -10,7 +10,7 @@ class Number extends Command {
dirname: __dirname, dirname: __dirname,
enabled: true, enabled: true,
guildOnly: true, guildOnly: true,
aliases: [], aliases: ["num"],
memberPermissions: [], memberPermissions: [],
botPermissions: ["SEND_MESSAGES", "EMBED_LINKS"], botPermissions: ["SEND_MESSAGES", "EMBED_LINKS"],
nsfw: false, 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, dirname: __dirname,
enabled: true, enabled: true,
guildOnly: true, guildOnly: true,
aliases: [], aliases: ["act"],
memberPermissions: [], memberPermissions: [],
botPermissions: ["SEND_MESSAGES", "EMBED_LINKS"], botPermissions: ["SEND_MESSAGES", "EMBED_LINKS"],
nsfw: false, nsfw: false,
ownerOnly: false, ownerOnly: false,
cooldown: 3000 cooldown: 2000
}); });
} }

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -13,7 +13,7 @@ class Sanctions extends Command {
botPermissions: ["SEND_MESSAGES", "EMBED_LINKS"], botPermissions: ["SEND_MESSAGES", "EMBED_LINKS"],
nsfw: false, nsfw: false,
ownerOnly: 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"], botPermissions: ["SEND_MESSAGES", "EMBED_LINKS", "BAN_MEMBERS", "KICK_MEMBERS"],
nsfw: false, nsfw: false,
ownerOnly: false, ownerOnly: false,
cooldown: 2000 cooldown: 1000
}); });
} }

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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