This commit is contained in:
ITOH
2021-04-24 19:38:38 +02:00
parent 0feb6822d0
commit 03db98cd48
11 changed files with 40 additions and 43 deletions
+1 -3
View File
@@ -20,13 +20,11 @@ export async function kick(guildId: string, memberId: string, reason?: string) {
await requireBotGuildPermissions(guildId, ["KICK_MEMBERS"]);
const result = await rest.runMethod(
return await rest.runMethod<undefined>(
"delete",
endpoints.GUILD_MEMBER(guildId, memberId),
{ reason },
);
return result;
}
// aliases