From 3572b97661a3f7c6c29e958b63c20d9f2ef936ac Mon Sep 17 00:00:00 2001 From: Amygdala Peanut-Almond Date: Wed, 22 Apr 2026 22:49:01 +0200 Subject: initialise repository Signed-off-by: Amygdala Peanut-Almond --- events/00ready.js | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 events/00ready.js (limited to 'events/00ready.js') diff --git a/events/00ready.js b/events/00ready.js new file mode 100644 index 0000000..0a45a16 --- /dev/null +++ b/events/00ready.js @@ -0,0 +1,13 @@ +const Discord = require("discord.js"); +const postgresql = require("pg"); + +global.database = new postgresql.Pool(); + +module.exports = { + name: 'clientReady', + async execute() { + globalThis.client.user.setActivity("a ball of yarn!! >w<", { type: Discord.ActivityType.Playing }); + console.log("clientReady"); + } +} + -- cgit 1.4.1