Formatting¶
Here you will find all the information you need to format your filters. This includes adding buttons, fillings, and more!
HTML¶
You can use HTML tags to format your messages. This includes bold, italic, underline, and more! You can see a full list of supported tags here.
Tip
You can reply with /filter to a message already formatted to copy the formatting!
Fillings¶
You can also customise the contents of your message with contextual data. For example, you could mention a user by name in the message!
Supported fillings:¶
{first}: The user’s first name.{last}: The user’s last name.{fullname}: The user’s full name.{username}: The user’s username. If they don’t have one, mentions the user instead.{mention}: Mentions the user with their firstname.{id}: The user’s ID.{userid}: The user’s ID.{chatid}: The chat’s ID.{chatname}: The chat’s name.{chatnick}: The chat’s nickname.
Examples¶
Set a filter which uses the user’s name through fillings:
/filter hello Hello there {first}! How are you?Set a filter which mentions the user and the chat:
/filter hello Hello there {mention}! You are in {chatname}.