mirror of
https://github.com/toast-ts/Daggerbot-TS.git
synced 2025-02-23 09:29:41 +11:00
bru #4
This commit is contained in:
parent
866f2d16e1
commit
94cac2934a
@ -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…
x
Reference in New Issue
Block a user