mirror of
https://github.com/toast-ts/Daggerbot-TS.git
synced 2024-11-17 00:10:58 -05:00
bru #4
This commit is contained in:
parent
2fcde46328
commit
53f1c7090e
@ -3,6 +3,7 @@ import { TClient } from '../client';
|
||||
export default {
|
||||
name: 'guildBanRemove',
|
||||
execute: async(client:TClient, member:Discord.GuildMember)=>{
|
||||
if (member.guild?.id != client.config.mainServer.id) return;
|
||||
const fetchUnbanlog = await member.guild.fetchAuditLogs({
|
||||
limit: 1,
|
||||
type: AuditLogEvent.MemberBanRemove
|
||||
|
Loading…
Reference in New Issue
Block a user