From f46ed9fe7e07098c528ab93926557aa9c0bf80db Mon Sep 17 00:00:00 2001 From: xhayper Date: Thu, 25 Jul 2024 06:09:34 +0700 Subject: [PATCH] fix: wrong return type --- src/structures/ClientUser.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/structures/ClientUser.ts b/src/structures/ClientUser.ts index b75d5b9..b91ba8c 100644 --- a/src/structures/ClientUser.ts +++ b/src/structures/ClientUser.ts @@ -153,7 +153,7 @@ export class ClientUser extends User { * @param guildId - id of the guild to get channels for * @returns guild channels the user is in */ - async fetchChannels(guildId: string): Promise { + async fetchChannels(guildId: string): Promise { return ( await this.client.request("GET_CHANNELS", { guild_id: guildId }) ).data.channels.map(