mirror of
https://github.com/toast-ts/Daggerbot-TS.git
synced 2024-11-18 00:31:00 -05:00
8 lines
226 B
TypeScript
8 lines
226 B
TypeScript
|
import Discord from 'discord.js';
|
||
|
import { TClient } from '../client';
|
||
|
export default {
|
||
|
name: 'inviteDelete',
|
||
|
execute: async(client:TClient, invite: Discord.Invite)=>{
|
||
|
client.invites.delete(invite.code)
|
||
|
}
|
||
|
}
|