This package utilises safe conversions for message arguments within strings.
These use discord.py terms. But the package will work with the library you are using seamlessly. Don’t worry about not seeing exact matches.
The following are all the options you as the user have:
$MENTIONMEMBER - This will attempt to mention the user, uses
$MEMBERNAME - This will attempt to state the user’s name, uses
$MEMBERID - This will attempt to state the user’s id, uses
$BOTNAME - This will attempt to state your bots name, uses
$BOTID - This will attempt to state your bots id, uses
$MENTIONBOT - This will attempt to mention your bot, uses
$GUILDNAME - This will attempt to state the guild’s name, uses
$GUILDID - This will attempt to state the guild’s id, uses
$TIMESTAMPNOW - This exact time formatted as hh:mm:ss AM/PM, dd/mm/yyyy, uses
$TIMESTAMPTODAY - Today’s date formatted as dd/mm/yyyy, uses
$WARNCOUNT - How many times the user has been warned so far, uses
$KICKCOUNT - How many times the user has been removed from the guild so far, uses
The following are special case’s for embeds:
$MEMBERAVATAR - This will attempt to display the user’s avatar, uses
$BOTAVATAR - This will attempt to display the bots avatar, uses
$GUILDICON - This will attempt to display the guilds icon, uses
Note: Example usages not final. Usage works in discord.py 1.x.x and 2.x.x + hikari
The above are valid in the following uses:
There are currently no plans to support either
You can include the above options in the following arguments when you initialize the package:
The above options can also be used within embeds, these also support templating with the options defined above. These options are available in the following fields:
author -> name in
footer -> text in
name & value in
NOTE: You can add the timestamp field also.
Provided it exists, it will be replaced with
, no value required.