Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/discordeno/helpers/mod.ts>editBotProfile

Discord API library for Deno
Go to Latest
function editBotProfile
import { editBotProfile } from "https://deno.land/x/discordeno@17.0.1/helpers/mod.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>