System command
,eval
Evaluate JavaScript as the bot owner.
Bot owner only
Cooldown
—
per member, per server
Aliases
2
ev, jaduexe
Subcommands
0
none — one call does it
How to use it
Type it in any channel where the bot can read messages. The prefix is , on this server and can be changed with ,prefixes.
Syntax
,eval
Examples
,evalBuilt from the syntax above — swap the placeholders for your own mentions.
Arguments
No documented arguments — run ,eval on its own.
Before you run it
What the command itself checks before it does anything, read from the src/commands/system/eval.js source.
- Permissions
- No Discord permission flag is read directly — access goes through the bot's own rules
- Reads
- only your message arguments
- Replies with
- a plain message
- Cooldown
- None
In Discord
What a member sees when they run it. The reply is sent as a Components V2 panel on the server's accent colour, paginated when it is long.
M
,eval
B
Evaluate JavaScript as the bot owner.
Related
More system commands
Commands that usually get used alongside ,eval.
,blacklistSystemBlacklist a user from using the bot.aliases: bl,blacklistserverSystemBlacklist a server from using the bot.aliases: bs,broadcastSystemDM an audience (server owners, every user, a server or a role). Dashboard only.aliases: bcast,dmsaySystemSend a direct message as the bot — bot developers only.aliases: dmu, senddm,ginviteSystemCreate an invite to any server the bot is in — bot developers only.aliases: createinvite, ginv,globalbanSystemBan a user from every server the bot is in — bot owners only.aliases: gb, gban
Ready to put bleh in your server?
Add it in a couple of clicks, run ,setup, then fine-tune everything from the dashboard.