Skip to main content
discord.getCurrentBot retrieve the user represented by the connected Discord bot token.
automations/discord-get-current-bot.automation.ts

Inputs

No resource inputs. Optional second argument { account } selects a Discord binding. Optional second argument { account } selects the Discord binding.

Output

Returns a DiscordUser for the connected bot.

Discord behavior

Requires only a valid bot token.