i love you

This commit is contained in:
Skillz4Killz
2021-11-10 19:06:24 +00:00
committed by GitHub
parent 20d76e83c7
commit e0955df780
59 changed files with 21 additions and 666 deletions
-2
View File
@@ -2,8 +2,6 @@ import type { Bot } from "../../bot.ts";
/** Edit the nickname of the bot in this guild */
export async function editBotNickname(bot: Bot, guildId: bigint, nickname: string | null) {
await bot.utils.requireBotGuildPermissions(bot, guildId, ["CHANGE_NICKNAME"]);
const response = await bot.rest.runMethod<{ nick: string }>(
bot.rest,
"patch",