1
0
mirror of https://github.com/toast-ts/Daggerbot-TS.git synced 2024-09-30 00:50:59 -04:00
Daggerbot-TS/src/commands/kick.ts

12 lines
423 B
TypeScript
Raw Normal View History

2022-11-13 19:18:15 -05:00
import Discord from 'discord.js';
import { TClient } from 'src/client';
export default {
async run(client: TClient, message: Discord.Message, args: any){
if (!message.inGuild() || !message.channel) return;
client.punish(client, message, args, 'kick');
},
name: 'kick',
description: 'Kick a member from server.',
usage: ['user mention or id', '?reason'],
category: 'moderation'
}