1
0
mirror of https://github.com/toast-ts/Daggerbot-TS.git synced 2024-11-17 20:30:58 -05:00
Daggerbot-TS/src/commands/warn.ts
2022-11-14 11:18:15 +11:00

12 lines
411 B
TypeScript

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, 'warn');
},
name: 'kick',
description: 'Warn a member.',
usage: ['user mention or id', '?reason'],
category: 'moderation'
}