Skip to main content
The Deno 2 Release Candidate is here
Learn more
function editBotProfile
import { editBotProfile } from "https://deno.land/x/discordeno_patched@18.0.2/plugins/permissions/deps.ts";

Modifies the bot's username or avatar. NOTE: username: if changed may cause the bot's discriminator to be randomized.

Parameters

bot: Bot
options: { username?: string; botAvatarURL?: string | null; }

Returns

Promise<User>