mirror of
https://github.com/discordeno/discordeno.git
synced 2026-05-30 07:20:08 +00:00
9 lines
286 B
TypeScript
9 lines
286 B
TypeScript
import { assertEquals } from "../deps.ts";
|
|
import { bot, guild } from "../mod.ts";
|
|
|
|
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);
|
|
});
|