© 2026 Hedgehog Software, LLC
import { Listener } from '@sapphire/framework'; import type { Message } from 'discord.js'; export class roleDeleteListner extends Listener { public constructor(context: Listener.Context, options: Listener.Options) { super(context, { ...options, once: false, event: 'messageUpdate' }); } public async run(oldMessage: Message, newMessage: Message) { console.log('Audit log created!, type: messageUpdate') } }
Join the Discord to ask follow-up questions and connect with the community
Sapphire is a next-gen object-oriented Discord.js bot framework.
2,286 Members