summary refs log tree commit diff
path: root/slowcord/bot/src/Bot.ts
blob: 6e0d8360ead2c8be1f094b7862d62eab6ec16d86 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
import { Message } from "discord.js";
import { Client } from "fosscord-gopnik/build/lib";	// huh? oh well. some bugs in my lib Ig

export default class Bot {
	client: Client;

	constructor(client: Client) {
		this.client = client;
	}

	onReady = () => {
		console.log(`Logged in as ${this.client.user!.tag}`);

		this.client.user!.setPresence({
			activities: [{
				name: "EVERYTHING",
				type: "WATCHING",
			}]
		})
	};

	onMessageCreate = (msg: Message) => {
		
	};
}