mirror of
https://github.com/discordeno/discordeno.git
synced 2026-09-17 08:47:22 +00:00
fix: edit bot nickname name
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import { assertEquals } from "../deps.ts";
|
||||
import { bot, guild } from "../mod.ts";
|
||||
|
||||
Deno.test("editBotNickname", async function () {
|
||||
Deno.test("[misc] edit a bot's nickname", async function () {
|
||||
const nick = "lts20050703";
|
||||
const nickname = await bot.helpers.editBotNickname(guild.id, { nick });
|
||||
assertEquals(nickname, nick);
|
||||
|
||||
Reference in New Issue
Block a user