From 076f06d3016cbf80b222cc27aa6c3a68a32b9ec3 Mon Sep 17 00:00:00 2001 From: ITOH Date: Wed, 9 Jun 2021 21:44:19 +0200 Subject: [PATCH] Update add_to_thread.ts --- src/helpers/channels/threads/add_to_thread.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/helpers/channels/threads/add_to_thread.ts b/src/helpers/channels/threads/add_to_thread.ts index 3d9dab1db..a7983e0cf 100644 --- a/src/helpers/channels/threads/add_to_thread.ts +++ b/src/helpers/channels/threads/add_to_thread.ts @@ -3,7 +3,7 @@ import { rest } from "../../../rest/rest.ts"; import { ChannelTypes } from "../../../types/channels/channel_types.ts"; import { Errors } from "../../../types/discordeno/errors.ts"; import { endpoints } from "../../../util/constants.ts"; -import { botHasChannelPermissions, requireBotChannelPermissions } from "../../../util/permissions.ts"; +import { botHasChannelPermissions } from "../../../util/permissions.ts"; /** Adds the current user to a thread. Returns a 204 empty response on success. Also requires the thread is not archived. Fires a Thread Members Update Gateway event. * Adds another user to a thread. Requires the ability to send messages in the thread. Also requires the thread is not archived. Returns a 204 empty response on success. Fires a Thread Members Update Gateway event.