mirror of
https://github.com/toast-ts/Daggerbot-TS.git
synced 2024-12-29 01:25:38 -05:00
bru #3
This commit is contained in:
parent
c8a84d4abb
commit
866f2d16e1
@ -3,6 +3,7 @@ import { TClient } from '../client';
|
||||
export default {
|
||||
name: 'guildBanAdd',
|
||||
execute: async(client:TClient, member:Discord.GuildMember)=>{
|
||||
if (member.guild?.id != client.config.mainServer.id) return;
|
||||
const fetchBanlog = await member.guild.fetchAuditLogs({
|
||||
limit: 1,
|
||||
type: AuditLogEvent.MemberBanAdd
|
||||
|
Loading…
Reference in New Issue
Block a user