From 57ce99d10d54084da9cf26d1c3f077415a0b1df2 Mon Sep 17 00:00:00 2001 From: itohatweb Date: Wed, 12 May 2021 07:18:50 +0000 Subject: [PATCH] Commit from GitHub Actions (Lint) --- src/helpers/channels/threads/start_thread.ts | 4 ++-- src/helpers/members/prune_members.ts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/helpers/channels/threads/start_thread.ts b/src/helpers/channels/threads/start_thread.ts index 0a6f90e2e..a3d2f1859 100644 --- a/src/helpers/channels/threads/start_thread.ts +++ b/src/helpers/channels/threads/start_thread.ts @@ -6,8 +6,8 @@ import { Errors } from "../../../types/discordeno/errors.ts"; import { endpoints } from "../../../util/constants.ts"; import { snakelize } from "../../../util/utils.ts"; -/** - * Creates a new public thread from an existing message. Returns a channel on success, and a 400 BAD REQUEST on invalid parameters. Fires a Thread Create Gateway event. +/** + * Creates a new public thread from an existing message. Returns a channel on success, and a 400 BAD REQUEST on invalid parameters. Fires a Thread Create Gateway event. * @param messageId when provided the thread will be public */ export async function startThread( diff --git a/src/helpers/members/prune_members.ts b/src/helpers/members/prune_members.ts index 523daa2c1..7f48555d4 100644 --- a/src/helpers/members/prune_members.ts +++ b/src/helpers/members/prune_members.ts @@ -7,7 +7,7 @@ import { snakelize } from "../../util/utils.ts"; /** * Begin a prune operation. Requires the KICK_MEMBERS permission. Returns an object with one 'pruned' key indicating the number of members that were removed in the prune operation. For large guilds it's recommended to set the computePruneCount option to false, forcing 'pruned' to null. Fires multiple Guild Member Remove Gateway events. - * + * * By default, prune will not remove users with roles. You can optionally include specific roles in your prune by providing the roles (resolved to include_roles internally) parameter. Any inactive user that has a subset of the provided role(s) will be included in the prune and users with additional roles will not. */ export async function pruneMembers(