From d741c3be4dfd3885ae904bc1107c300325d76f2f Mon Sep 17 00:00:00 2001 From: Struck713 Date: Sun, 17 Sep 2023 20:47:42 -0400 Subject: [PATCH] Changed status --- src/app.ts | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/src/app.ts b/src/app.ts index 3f395cb..7e7b179 100644 --- a/src/app.ts +++ b/src/app.ts @@ -1,4 +1,4 @@ -import { Client, Events, GatewayIntentBits } from "discord.js"; +import { ActivityType, Client, Events, GatewayIntentBits } from "discord.js"; import { YOUTUBE, TOKEN, BRUH } from '../config.json'; import { Commands } from "./lib/command"; import { VoiceManager } from "./lib/voice"; @@ -17,6 +17,17 @@ client.once(Events.ClientReady, async client => { console.log(`Logged in as ${client.user.tag}`); console.log(`| Registered ${Commands.length} commands!`); console.log(`| Voice Manager Status: ${voiceManager ? "ONLINE" : "OFFLINE"}`); + + client.user.setPresence({ + status: "idle", + activities: [ + { + name: "The Brook & The Bluff", + type: ActivityType.Listening, + url: "https://open.spotify.com/track/7IN1eMlEGrcFUt2dNH1TQ2?si=61f9c4b1f4ea43ff", + } + ] + }); }); client.on(Events.InteractionCreate, async interaction => {