add rich presence (#79)
All checks were successful
Lint and Format Check / lint-and-format (pull_request) Successful in 10s

This commit is contained in:
Mylloon 2024-09-17 19:53:55 +02:00
parent fdc081fd6d
commit 7e13965f1c
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -1,5 +1,5 @@
import { Player } from "discord-player";
import { Client, Collection, GatewayIntentBits } from "discord.js";
import { ActivityType, Client, Collection, GatewayIntentBits } from "discord.js";
import { readFileSync } from "fs";
import { Database } from "sqlite3";
import "../modules/client";
@ -16,6 +16,9 @@ export default async () => {
GatewayIntentBits.MessageContent,
GatewayIntentBits.GuildVoiceStates,
],
presence: {
activities: [{ name: "/help", type: ActivityType.Watching }],
},
});
client.config = {