Disturbed Docs
Disturbed Docs
  • Overview
  • Command List
  • SETTINGS
    • Getting Started
      • Currency / Economy
      • Currency Drop + Pick
      • greet / leave / boost messages
    • Configuration keys
  • AUTORESPONDER
    • Quick-start
    • Guides
      • Beginner I: Using Simple Placeholders
      • Beginner II: Using Simple Functions
      • Intermediate I: Ranges and Making Choices
      • Intermediate II: Locked Choices
    • Resources
      • Variables, Placeholders & Functions
      • Examples
        • .bake command
      • Utility commands / Examples
        • Self-Verification System
        • Antiswear/Blacklisted Words
        • Anti Link/Advertising
        • Click to Disable Pings (e.g. Partner Pings)
        • Say Command
        • Invite Reward System
  • Modules
    • Basic Features
      • AFK system
      • Ping On Join (POJ)
      • Giveaway System
    • Advanced Modules
      • On Duty System
      • Invite & Promo Tracking
Powered by GitBook
On this page
  • ✎ Placeholder List
  • ♪ User / Author Information
  • ♪ Server Information
  • ♪ Boost & Level Information
  • ♪ Message & Channel Information
  • ✎ Functions List
  • ♪ Formatting & Redirecting
  • ♪ Permission & Restriction Functions
  • ♪ Advanced Functions
  1. AUTORESPONDER
  2. Resources

Variables, Placeholders & Functions

OneeChan's Autoresponder System supports placeholders and functions that allow for dynamic and customized responses making OneeChan's Autoresponder System a powerful tool for your server.

Last updated 3 months ago

To escape a placeholder or function (so it does not get replaced), use a backslash \ before the placeholder.

Example: \{user} will display {user} instead of replacing it with the username.


✎ Placeholder List

Confused about placeholders? Check out our .


♪ User / Author Information

  • Advanced Usage: User-related placeholders can be modified to fetch details from another user.

    • Example: {user_balance:395526710101278721} → Retrieves balance of User ID: 395526710101278721.

    • Example: {user_balance:[$1]} → Retrieves the balance of the first mentioned user.

Variable

Example

Description

{user}

@Username

The user's @mention.

{user_name}

Username

The user's username.

{user_avatar}

https://cdn.discordapp.com/embed/avatars/0.png

The user's avatar URL.

{user_id}

395526710101278721

The user's Discord ID.

{user_nick}

Nickname

The user's nickname in the server (if set).

{user_joindate}

Wed, Aug 15, 2018 2:32 AM

The date the user joined the server.

{user_createdate}

Wed, Dec 27, 2017 10:41 AM

The date the user created their Discord account.

{user_displaycolor}

#ffdfdf

The user's display hex color.

{user_boostsince}

Wed, Mar 17, 2021 7:13 PM

The date the user started boosting the server (if applicable).

{user_balance}

21,983

The user's currency balance.

{user_balance_locale}

21,983

The user's formatted currency balance (with commas for readability).

{user_item:}

{user_item:apple} → 1 × apple

Shows the quantity & name of a specific item.

{user_item_count:}

{user_item_count:apple}

→ 1

Shows the quantity of a specific item.

{user_inventory} Not done yet

1 × apple

2 × banana

Displays the user's entire inventory.

{user_level}

{user_level} → 1

Gets the users level.

{user_points}

{user_points} → 1

Gets the users level points.


♪ Server Information

Variable

Example

Description

{server_name}

Disturbed 18+

The server's name.

{server_id}

479115079338557469

The server's ID.

{server_membercount}

407

The total number of members in the server.

{server_membercount_ordinal}

407th

The total ordinal number of members in the server.

{server_membercount_nobots}

400

The number of human members (excluding bots).

{server_membercount_nobots_ordinal}

400th

The ordinal number of human members (excluding bots) with .

{server_botcount}

7

The number of bots in the server.

{server_botcount_ordinal}

7th

The ordinal number of bots in the server.

{server_icon}

https://cdn.discordapp.com/embed/avatars/0.png

The server's icon URL.

{server_rolecount}

40

The total number of roles in the server.

{server_channelcount}

20

The total number of channels (all types included).

{server_owner}

@Owner

The server owner's @mention.

{server_owner_name}

Owner

The server owner's username.

{server_owner_id}

395526710101278721

The server owner's Discord ID.

{server_createdate}

Wed, Dec 27, 2017 10:41 AM

The server's creation date.

{server_randommember}

@Member

The @mention of a random member of your server.

{server_randommember_name}

@Member

The username of a random member of your server.

{server_randommember_nobots}

@Member

The @mention of a random member (that is not a bot) of your server.

{server_randommember_verified}

@Member

The @mention of a random verified member of your server.

{server_randommember_crossverified}

@Member

The @mention of a random cross verified member of your server.

{server_randommember_cross_or_idverified}

@Member

The @mention of a random ross verified or verified member of your server.


♪ Boost & Level Information

Variable

Example

Description

{server_boostlevel} or {server_boostlvl}

2

The boost level (0 to 3).

{server_boostcount}

7

The total number of server boosts.

{server_nextboostlevel}

3

The next boost level the server is aiming for.

{server_nextboostlevel_required}

14

The total boosts required for the next boost level.

{server_nextboostlevel_until_required}

7

The remaining boosts needed for the next level.


♪ Message & Channel Information

Variable

Example

Description

{channel}

#general

The channel mention.

{channel_name}

general

The channel name.

{channel_id}

8832493284932813

The ID of the channel that the autoresponder was sent in.

{channel_createdate}

Sun, Dec 27, 2020 3:11 AM

The date when the channel was created.

{message_id}

8832493284932843

The ID of the message that triggered the autoresponder.

{message_content}

"Hello, I'm new here!"

The content of the triggering message.

{message_link}

The link to the triggering message.


✎ Functions List

♪ Formatting & Redirecting

Function

Usage

Description

{dm}

{dm}

Sends the response via direct message (DM).

{embed:}

{embed:#ffffff} {embed:embed_name}

Sends the response as an embed (customizable).


♪ Permission & Restriction Functions

These functions allow you to limit who can trigger the autoresponder based on user, role, or permissions.

Function

Usage

Description

{requireuser:}

{requireuser:UserID}

Limits response to specific users.

{requireperm:}

{requireperm:manage_server}

Limits response to users with specific permissions.

{requirerole:}

{requirerole:RoleID}

Limits response to users with a specific role.

{requirechannel:}

{requirechannel:ChannelID}

Limits response to specific channels.

{requirelevel:} or {requirelvl:}

{requirelevel:Number}

The underneath is used this way: {requirelevel: >= 10}

Equal (=)

GreaterThan (>) GreaterThanOrEqual (>=) LessThan (<) LessThanOrEqual (<=)

{denychannel:}

{denychannel:ChannelID}

Prevents the autoresponder from triggering in specific channels.

{denyperm:} Not done yet

{denyperm:manage_roles} {denyperm:ban_members}

Prevents users with certain permissions from triggering the autoresponder.


♪ Advanced Functions

Function

Description

{range:}

Selects a random number between a given range.

{choose:}

Selects a random option from a list.

{lockedchoose:}

"Locks" a choice based on another {choose:} result.

New to functions? Check out our .

Want to learn more? Check out the .

Beginner Guide on Using Simple Placeholders
Beginner Guide on Using Simple Functions
Intermediate & Advanced Guides
Message Link