Skip to content

Triggers Placeholders & Formatting

Amy edited this page Dec 15, 2023 · 1 revision

HelperBot has a wide variety of placeholders you can use in responses.

Formatting

Supports all Discord Formatting

  • **Bold**
  • *Italic*
  • __Underline__
  • ~~Strikethrough~~
  • \n Force new line

Placeholders

These are all HelperBot placeholders. The Config.yml has a section for customizing the output of some placeholders.

Author Placeholders

The Author is the user who triggered the response.

  • {author-mention} Mentions the user.
  • {author-username} Returns the username of the user.
  • {author-nickname} Returns the nickname of the user, server nickname takes priority over global.
  • {author-id} Returns the ID of the user.
  • {author-activity} Returns the current activity of the user. Custom status takes priority over game activity.
  • {author-status} The current online/offline/away/dnd status of the user.
  • {author-toprole} The highest role of the user.
  • {author-joined} The server join date of the user who.
  • {author-created} The creation date of the users account.

Date/Time Placeholders

Uses the system time of the machine the bot is run on.

  • {datetime-datelong} Returns the current long date.
  • {datetime-dateshort} Returns the current short date. Format can be changed in Config.
  • {datetime-time24} Returns the current time in 24 hour format.
  • {datetime-time12} Returns the current time in 12 hour format.
  • {datetime-timestamp} Returns the current timestamp with long date and short time format.

Server Placeholders

Gets information about your server, the bot may need a role with Manage Server permissions to see this information.

  • {server-nane} Returns the name of the server.
  • {server-id} Returns the ID of the server.
  • {server-created} Returns the date the server was created.
  • {server-owner} Returns the username of the server owner.
  • {server-ownerid} Returns the ID of the server owner.
  • {server-membercount} Returns the current total Member count of the server, including any bots.

Channel Placeholders

Gets information about the channel the response was triggered in, the bot may need a role with Manage Channel permissions in that channel.

  • {channel-name} Returns the name of the channel.
  • {channel-id} Returns the ID of the channel.
  • {channel-mention} Mentions the channel.
  • {channel-created} Returns the creation date of the channel.
  • {channel-slowmode} Returns the slowmode duration in seconds of the channel.
  • {channel-nsfw} Returns the NSFW status of the channel the command was used in.
  • {channel-topic} Returns the channel topic.

Tips

  • You can mention any channel by doing <#{channel id}> example <#351864879545843715>
  • You can mention any user by doing <@{user id}> example <@958391444840775720>
  • You can mention any role by doing <@&{role id}> example <@&695804381215588392>
  • You can use this handy site to generate custom Timestamps.