© 2026 Hedgehog Software, LLC
import { Listener } from '@sapphire/framework'; export class presenceUpdate extends Listener { public constructor(context: Listener.LoaderContext, options: Listener.Options){ super(context, { ...options, }); this.container.logger.info("User presence update listener loaded") } public run(){ fetch(`http://roundhouse.proxy.rlwy.net:59002/incrementMessageCounter`) .then(response => response.json()) .then(data => console.log(data)) .catch(error => console.error('Error:', error)); this.container.logger.info("User presence updated") } }
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