Run a timed event now
Each event on the Timed Events tab, and the schedule card in the builder, has a Run now button. It runs the event straight away, so you can check it works without waiting for its time. Each event also shows a countdown to its next run.
Keep a command to some channels
A command's Permissions now has Allowed channels. Pick channels or whole categories, and the command only works there and in their threads.
A command's Cooldown can also read a number variable instead of a fixed number. Change the variable from another command to make the wait shorter or longer, or use a member variable so each member has their own.
Check text against a pattern
If / Else has two new options, Matches pattern and Does not match pattern. Pick a preset (a number, a link, a Discord invite, a mention, a custom emoji or letters only) or write your own pattern. One use is to stop invites in a message event.
Emojis for your bot
Create an Emoji and Delete an Emoji are back. Each one asks whose emoji it is: This server or The bot's own. A bot's own emojis show up in every server it's in and in its DMs, and a bot can have up to 2,000 of them. Delete an Emoji shows them as a grid to pick from, or takes an ID or variable.
Clear out old variables
Data Storage has a Select button. Tick the variables you want gone, or press the button that ticks every variable no command or event uses, then delete them and everything they've stored together. The page and the builder's Variables tab are also much quicker on bots with lots of variables.
Good to know
.each.10[...]prints the first 10 values of a collection, and.each.10.2[...]prints the next 10. Your current.each[...]keeps printing every value.- Commands without Allowed channels set work everywhere, as before.
Full list of changes
- NewRun now for timed events, on the Timed Events tab and the schedule card, plus a countdown to when each one runs next
- NewAllowed channels in a command's Permissions: it only works in those channels or categories, and their threads
- NewA number variable option for a command's Cooldown, so a command can change it or members can have their own
- NewMatches pattern and Does not match pattern in If / Else, with presets to start from
- NewThe Create an Emoji and Delete an Emoji blocks are back, for the server or the bot's own emojis
- NewPrint the first 10 for collection variables:
.each.10[...]stops after 10 values, and.each.10.2[...]is the next 10 - NewSelect in Data Storage: tick several variables, or every one nothing uses, and delete them and their stored values together
- ImprovedThe Data Storage page and the builder's Variables tab no longer lag on bots with lots of variables
- ImprovedCard Studio offers the same variables as block settings when you open it from Make an Image Card
- ImprovedVariable suggestions in the raw JSON body of API Request
- ImprovedCommand groups show how many variables each one has
- FixedBullet points and numbered lists not showing in the Message Builder preview
- FixedMasked links in the message preview opening a dashboard page; real web links now open in a new tab
- Fixed
{Presence[bot id].status}always saying online for your own bot - FixedThe Marketplace levels list showing each level's Discord role twice
- FixedA button that edits its own message editing the newest copy instead of the one you pressed
- FixedText with a side item in Components V2 messages vanishing when its picture link didn't work
- FixedTell the log in Tickets only posting closed tickets; opened, claimed, reopened and deleted ones are posted too
- FixedThe Welcomer welcoming long-time members again when they got a role
- FixedThe variable list offering a form's (Main) variable, which never filled in
- FixedLong select menu options pushing Block Settings sideways
- FixedThe Text part of Components V2 messages having no emoji button
- FixedThe Marketplace setup check saying a Run once for all servers event was tied to your server
- FixedAn error after the Restart the Bot block restarts a bot
- FixedBots with an invalid token not being switched off or showing the reason on the dashboard
- FixedBots staying online on the dashboard after their token was reset in the Discord Developer Portal
- FixedEmbed timestamps not working with Discord time tags like
<t:1792969753:R>