mirror of
https://github.com/ION606/selmerBot.git
synced 2026-05-14 21:26:54 +00:00
Transitioned all Misc, audio, Selmer Specific, admin, anime/manga, and inventory commands to Slash Command format. The RSS and reactionrole commands are still broken and all game commands are still in message format due to compications
This commit is contained in:
@@ -4,7 +4,7 @@ function devCheck(message, bot) {
|
||||
const command = message.content.split(' ')[0].slice(1);
|
||||
const args = message.content.split(' ')[1];
|
||||
const member = bot.guilds.cache.get(bot.home_server).members.cache.get(message.author.id);
|
||||
console.log(command);
|
||||
|
||||
//Check if they have the "Selmer Dev" role
|
||||
if (member.roles.cache.has('944048889038774302')) {
|
||||
switch (command) {
|
||||
|
||||
Reference in New Issue
Block a user