mirror of
https://github.com/citra-emu/discord-bot.git
synced 2025-10-19 04:17:15 +00:00
8 lines
301 B
TypeScript
8 lines
301 B
TypeScript
import { ban } from '../common';
|
|
import * as discord from 'discord.js';
|
|
|
|
export const roles = ['Admins', 'Moderators', 'CitraBot'];
|
|
export async function command (message: discord.Message) {
|
|
return Promise.all(message.mentions.users.map(async (user) => ban(user, message.author, message.guild)));
|
|
}
|