Extremely Popular
Go to Latest
function editBotProfile
import { editBotProfile } from "https://dotland.deno.dev/x/discordeno@17.2.0/plugins/validations/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>