wip
This commit is contained in:
@@ -25,7 +25,11 @@ export default class DiscordController extends EventEmitter {
|
||||
this.medicationService = new MedicationService();
|
||||
// log when running
|
||||
client.once("ready", async () => {
|
||||
console.log("hello :)");
|
||||
client.user?.setActivity("HALLOOO HOERT IHR MICH?", { type: 4 });
|
||||
console.log("set activity");
|
||||
client.user?.setPresence({
|
||||
status: "idle",
|
||||
});
|
||||
|
||||
/*const channels = client.channels;
|
||||
const channel = channels.cache.get(config.discord.channelId);
|
||||
@@ -36,6 +40,7 @@ export default class DiscordController extends EventEmitter {
|
||||
});
|
||||
}*/
|
||||
});
|
||||
|
||||
// listen for interactions
|
||||
client.on("interactionCreate", this.handleInteraction.bind(this));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user