summary refs log tree commit diff
path: root/events/00ready.js
diff options
context:
space:
mode:
authorAmygdala Peanut-Almond <amygdala@almond.desloratadyna.net>2026-04-22 22:49:01 +0200
committerAmygdala Peanut-Almond <amygdala@almond.desloratadyna.net>2026-04-22 22:49:01 +0200
commit3572b97661a3f7c6c29e958b63c20d9f2ef936ac (patch)
treeb3ee056039cf792edd467e5172feee25a07dd56c /events/00ready.js
initialise repository
Signed-off-by: Amygdala Peanut-Almond <amygdala@almond.desloratadyna.net>
Diffstat (limited to 'events/00ready.js')
-rw-r--r--events/00ready.js13
1 files changed, 13 insertions, 0 deletions
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");
+	}
+}
+