-
Notifications
You must be signed in to change notification settings - Fork 4
Tags
Mackan edited this page Nov 24, 2016
·
2 revisions
Tag | Description | Example Usage | Example Out |
---|---|---|---|
${sname} | The senders username | Hi, ${sname} | Hi, Mackan |
${sid} | The senders ID | ID: ${sid} | ID: 141610251299454976 |
${sdiscrim} | The senders discriminator | Disc: ${sdiscrim} | Disc: 7196 |
${sstatus} | The senders status | Status: ${sstatus} | Status: idle |
${sgame} | The game the sender is playing or Unknown if null |
Playing ${sgame} | Playing Unknown |
${sbot} | If the sender is a bot | Bot check: ${sbot} | Bot check: false |
${sender} | The sender of the message | Hi, ${sender} | Hi, @Mackan |
Tag | Description | Example Usage | Example Out |
---|---|---|---|
${sjoined} | When the sender joined the server or Unknown if not on a server. |
You joined at ${sjoined} | You joined at Wed Apr 20 2016 19:26:23 GMT+0300 (EEST) |
${snick} | The senders nickname or their username if no nick | Your nickname is ${snick} | Your nickname is Mackan |
Tag | Description | Example Usage | Example Out |
---|---|---|---|
${mtime} | The time of when the message was sent | Message sent: ${mtime} | Message sent: Wed Oct 19 2016 13:50:50 GMT+0300 (EEST) |
${mid} | The ID of the message | ID: ${mid} | ID: 238252617376071690 |
Tag | Description | Example Usage | Example Out |
---|---|---|---|
${chanid} | Channel ID | ID: ${chanid} | ID: 172382467385196544 |
${channame} | Channel Name | Name: ${channame} | Name: example |
${chantype} | Channel Type | This is a ${chantype} channel | This is a text channel |
${chanpos} | Channel Position | Position: ${chanpos} | Position: 0 |
${chantopic} | Channel topic | Topic in channel: ${chantopic} | Topic in channel: Example topic |
Tag | Description | Example Usage | Example Out |
---|---|---|---|
${serverregion} | The region of the server | Hosted in ${serverregion} | Hosted in amsterdam |
${servername} | The name of the server | This is server ${servername} | This is server example |
${serverid} | The ID of the server | Server has id: ${serverid} | Server has id: 172382467385196544 |
${servermembs} | The amount of members in the server | The server has ${servermembs} members! | The server has 100 members! |
${serverchans} | The amount of channels the server has | The server has ${serverchans} channels! | The server has 10 channels! |
${serverdefchan} | The default channel of the server | The default channel is ${serverdefchan} | The default channel is #general |
${servercreated} | When the server was created | Created: ${servercreated} | Created: Wed, 20 Apr 2016 16:26:22 GMT |
${serververification} | The level of verification the server has | Verfication level: ${serververification} | Verification level: 3 |
Tag | Description | Example Usage | Example Out |
---|---|---|---|
${serverowner} | The owner of the server | Owned by ${serverowner} | Owned by @Mackan |
${serverownername} | The name of the server owner | Owned by ${serverownername } | Owned by Mackan |
${serverownernick} | The owners nickname or their username if no nick | Owner's nickname is ${serverownernick} | Owner's nickname is Mackan |
${serverownerid} | The server owners ID | ID: ${serverownerid} | ID: 141610251299454976 |
${serverownerjoined} | When the owner joined the server or Unknown if not on a server. |
Server owner joined at ${serverownerjoined} | Server owner joined at Wed Apr 20 2016 19:26:23 GMT+0300 (EEST) |
${serverownerstatus} | The server owners status | Status: ${serverownerstatus} | Status: idle |
${serverownergame} | The game the owner is playing or Unknown if null |
Playing ${serverownergame} | Playing Unknown |
Tag | Description | Example Usage | Example Out |
---|---|---|---|
${mentionname} | The mentioned users username | Hi, ${mentionname} | Hi, Mackan |
${mentionid} | The mentioned users ID | ID: ${mentionid} | ID: 141610251299454976 |
${mentiondiscrim} | The mentioned users discriminator | Disc: ${mentiondiscrim} | Disc: 7196 |
${mentionstatus} | The mentioned users Status | Status: ${mentionstatus} | Status: idle |
${mentionbot} | If the mentioned user is a bot | Bot check: ${mentionbot} | Bot check: false |
${mention} | The mentioned user | Hi, ${mention} | Hi, @Mackan |
${mentionjoined} | When the mentioned user joined the server | You joined at ${mentionjoined} | You joined at Wed Apr 20 2016 19:26:23 GMT+0300 (EEST) |
Tag | Description |
---|---|
%% | A literal % |
%a | Locale's abbreviated weekday name (e.g., Sun) |
%A | Locale's full weekday name (e.g., Sunday) |
%b | Locale's abbreviated month name (e.g., Jan) |
%B | Locale's full month name (e.g., January) |
%d | Day of month (e.g., 01) |
%D | Date; same as %m/%d/%y |
%H | Hour (00..23) |
%m | Month (01..12) |
%M | Minute (00..59) |
%S | Second (00..60) |
%T | Time; same as %H:%M:%S |
%y | Last two digits of year (00..99) |
%Y | Year |
Tag | Description | Example tag | Example Usage | Example Out |
---|---|---|---|---|
{choose()} | Chooses a random item from the list separated by `` | `` | I choose {choose(cats | dogs |
{rint(()} | Randomizes a number between two values separated by ,
|
I rolled ${rint(1, 6)} | £tag | I rolled 3 |
{0}-{...} | Positional argument supplied by the user | Hi, {0}! | £tag Mackan | Hi Mackan |