From cd871be3a0ec9acb216af8ec0fe81cc2c7fd68fb Mon Sep 17 00:00:00 2001 From: xPolar <50601857+xPolar@users.noreply.github.com> Date: Mon, 5 Jun 2023 20:26:59 -0700 Subject: [PATCH] Add an s to ActivityType --- docs/setup/discord/custom-status.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/setup/discord/custom-status.md b/docs/setup/discord/custom-status.md index 9eafa29..6851584 100644 --- a/docs/setup/discord/custom-status.md +++ b/docs/setup/discord/custom-status.md @@ -7,13 +7,13 @@ sidebar_position: 3 1. Add the following import to [backend/src/index.ts](https://github.com/Dragory/ZeppelinBot/blob/master/backend/src/index.ts). ```ts - import { ActivityType } from "discord.js"; + import { ActivityTypes } from "discord.js"; ``` 2. Add e.g., ```ts client.user?.setPresence({ - activities: [{ name: "zeppelins", type: ActivityType.Watching }], + activities: [{ name: "zeppelins", type: ActivityTypes.Watching }], }); ```