From 96190607841f7f1899f61f142a08e9fe3de70855 Mon Sep 17 00:00:00 2001 From: Vermium Sifell Date: Thu, 25 Aug 2022 12:00:54 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=91=BD=EF=B8=8F=20bit=20activity=20status?= =?UTF-8?q?=20working=20on=20v14?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/helpers/updatePresence/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/helpers/updatePresence/index.ts b/src/helpers/updatePresence/index.ts index 2b25c37..e3fbe34 100644 --- a/src/helpers/updatePresence/index.ts +++ b/src/helpers/updatePresence/index.ts @@ -1,5 +1,5 @@ // Dependencies -import { Client } from "discord.js"; +import { ActivityType, Client } from "discord.js"; import logger from "../../middlewares/logger"; // Function @@ -12,7 +12,7 @@ export default async (client: Client) => { const status = `${memberCount} users in ${guildCount} guilds.`; client.user.setPresence({ - activities: [{ type: "LISTENING", name: status }], + activities: [{ type: ActivityType.Watching, name: status }], status: "online", });