NewCommand Builder

While loops, an AutoMod block and Forward a Message

Run a Loop can keep going while something is true, a new block manages AutoMod rules, and Send or Edit a Message can forward a message. This release also fixes Tickets, Welcomer, and Music.

BotGhost team2 min read

Loop while something is true

Run a Loop has a new choice: While something is true. Set your condition, then pick Most rounds (up to 250) and a wait between rounds (2 to 60 seconds).

A loop stops after 15 minutes at the most, and a bot can run 10 of them at once. Read {loop_stopped_by} after the loop to find out why it ended, then send a different message for each reason.

One use: check a variable every 30 seconds and post a message when it changes.

Manage AutoMod from a block

Add or Edit an AutoMod Rule adds, edits, or deletes keyword rules in a server. Connect it to a command, and your staff can change the blocked words list from Discord.

Forward a message and show typing

Open Send or Edit a Message and go to the Channel tab. Forward a message sends a copy of an existing message to the channel you pick. Show typing first makes the bot look like it's typing before the message arrives.

More options on your blocks

  • Change a Member's Nickname can set the bot's own name, picture, banner, and bio per server (Premium).
  • Manipulate some text can format, move, and read dates.
  • Delete Variable clears several variables at once, and Set Variable has Add to the start.
  • Wait and Do This Later have Replace same Job ID, so a new job takes the place of the old one.
  • Create a Channel can copy from a channel, and Create Server Invite can give roles.

Tickets, Welcomer, and Music fixes

The Welcomer no longer sends its card twice. Tickets forms show member and role answers as mentions, and channel names keep their emoji.

If someone adds a link from a site we don't support, Search Tracks and Add to Queue give an Unsupported Link error instead of playing a random song. Picked Spotify playlists now queue every song.

Good to know

  • Press Update on Giveaways to get the new settings. Your own settings stay as they are.
  • Loops you've already built keep running the way they did.
  • Saving a command restarts your bot, and that stops any While loop in progress.

Full list of changes

  • NewWhile something is true in Run a Loop, with Most rounds, a wait between rounds, and {loop_stopped_by}
  • NewAdd or Edit an AutoMod Rule: a new block that adds, edits, or deletes keyword rules
  • NewForward a message and Show typing first under the Channel tab of Send or Edit a Message
  • NewThe bot's own name, picture, banner, and bio per server in Change a Member's Nickname (Premium)
  • NewCopy from a channel on Create a Channel, and Roles they get on Create Server Invite
  • NewReplace same Job ID on Wait and Do This Later
  • NewClear several variables with Delete Variable, and Add to the start on Set Variable
  • NewFormat, move, and read dates in Manipulate some text
  • NewHide this button, Picked at the start, and a Selected value for form dropdowns
  • NewA variable for the time in Turn off after a time on buttons and menus
  • New{printSomeValues}, {command_list}, {user_locale}, and {server_locale}
  • NewName, extension, size, and type variables for attachment options
  • NewOption choices with a label and their own value
  • NewGroups inside groups, reminders on blocks, and a font setting for fields
  • NewCtrl+F opens the canvas search, and you can turn shortcuts off
  • NewComponents V2 in saved messages in the Message Builder, and arrows to reorder embed fields
  • NewPick the layout from in Pages, so one layout can page through a long list
  • New80 layers, 40 pictures, and 80 MB in Card Studio on Premium
  • NewEntry rules per giveaway, and hosts limited to their own giveaways, in Giveaways
  • NewHalf star reviews, Favourites, and Take it back for a first submission on the Marketplace
  • NewShare block templates with a code, and turn off a share code or collab link
  • NewCreated and changed dates on variables, and default values in exports, in Data Storage
  • ImprovedThe builder keeps unsaved blocks if you get signed out, and offers them back when you sign in
  • ImprovedCreate a Thread warns that a thread started from a message is always public
  • ImprovedData Storage folders say when they hold hidden module variables
  • ImprovedOnly visible to them warns when a command's first reply will still show to everyone
  • FixedMenu options with an empty description breaking Edit a Button or Menu and Forms
  • FixedEdit a Button or Menu not being able to edit hidden replies
  • Fixed{user_status} showing an old status for the bot itself
  • FixedThe variable list showing a unique variable once for every block that sets it
  • FixedRemoving a page deleting or doubling buttons on copied or imported Components V2 messages
  • FixedA crash in a block's settings throwing away the whole builder
  • FixedThe Runs panel sliding under Block Settings when zoomed in
  • FixedRun a Loop inner blocks showing Duplicate and Delete buttons that did nothing
  • FixedThe old Components V2 builder's preview ignoring headings, lists, and line breaks
  • FixedComponents V2 text of only ** or __ becoming impossible to click
  • FixedCard Studio shrinking your layers each time you changed the card size
  • FixedWebhook messages arriving late or many times
  • FixedCommands staying on "thinking..." when their reply failed
  • FixedThe Welcomer sending its card twice when the message already shows the card
  • FixedMember and role answers in Tickets forms showing as plain text
  • FixedTickets channel names losing emoji and letters outside English
  • FixedThe Tickets panel's Open now and Closed now line staying out of date until you posted the panel again
  • FixedLinks from unsupported sites playing a random song; Search Tracks and Add to Queue now give an Unsupported Link error
  • FixedSoundCloud links picking the wrong song in the music search suggestions
  • FixedPicked Spotify playlists queuing only one song
  • FixedSongs missing from Deezer failing with ISRC Not Found when BotGhost can find the same song by title
  • FixedAuto Leave staying in voice when the last song fails to load
  • FixedThe YouTube Video Upload event posting again when you edited a recent video
  • FixedGenerate Share Code asking you to save
  • FixedThe Publish preview on the Marketplace showing the wrong colour for your pack
  • FixedThe broken icon in the footer of BotGhost's own messages
  • FixedThe iOS app zooming in on dashboard pages when you tap a field
See 2 Nov in the changelog
Older, 29 OctThe new Giveaways
NewerThis is the latest update