Get Bot Details

BlockUtilities

Get cached details of the current branch's bot user.

Outputs

Discord ID

Bot Discord ID.

Username

Bot username.

Avatar URL

Bot avatar URL.

Build a bot using blocks like Get Bot Details

Use this block in our visual flow editor. Bots are hosted 24/7 for free on inventor.bot.

Advanced Documentation

This documentation can be useful when using code mode. View as Markdown

ID: get_bot_details

Outputs

FieldInventScript nameValue
Discord IDdiscord_id
Usernameusername
Avatar URLavatar_url

Example InventScript

bot := get_bot_details()
send_text_message(Args{
	channel_id:      trigger.channel_id,
	message_content: "Discord ID: " + bot.discord_id,
})

More utilities blocks