mirror of
https://github.com/ION606/selmerBot.git
synced 2026-05-15 05:36:54 +00:00
Added more moderation commands and upgraded the 'audio' command
This commit is contained in:
@@ -3,6 +3,13 @@ const { log, SEVCODES } = require('../log.js');
|
||||
const { checkRole } = require('./verify.js');
|
||||
|
||||
|
||||
function modHelp() {
|
||||
const l = ['lock', 'unlock', 'kick', 'ban', 'unban', 'mute', 'unmute'];
|
||||
|
||||
return l.join(", ");
|
||||
}
|
||||
|
||||
|
||||
function kick(guild, user) {
|
||||
guild.members.kick(user);
|
||||
}
|
||||
@@ -134,4 +141,7 @@ function moderation_handler(bot, message, args, command) {
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = { moderation_handler }
|
||||
module.exports = {
|
||||
name: 'moderation',
|
||||
moderation_handler, modHelp
|
||||
}
|
||||
Reference in New Issue
Block a user