summary refs log tree commit diff
path: root/events/00ready.js
diff options
context:
space:
mode:
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");
+	}
+}
+