Skip to main content

Control functions

  • {wait}: Waits the given time

    • Arguments:
      • time = "1s"
    • Example result: <empty>
      • Using input: {wait;1s}
  • {threadStartOnly}: Cancels the execution of this action if the message is not in a thread/post, or the message is not the start message of a thread

    • Only usable in: message, interaction
    • Example result: <empty>
  • {threadResponseOnly}: Cancels the execution of this action if the message is not in a thread/post, or the message is the start message of a thread

    • Only usable in: message, interaction
    • Example result: <empty>
  • {delete}: Controls whether and if yes, after which time the action trigger message should get deleted. 0 by default (instantly). Opposite of {noDelete}

    • Arguments:
      • time = "0"
    • Example result: <empty>
  • {noDelete}: Disables the deletion of the action trigger message. Opposite of {delete}

    • Example result: <empty>
  • {disable}: Cancels the execution of an action completely, everywhere or only on specified guilds

    • Arguments:
      • onlyOn = ""
    • Example result: <empty>
  • {slashOnly}: Disallows using this action as message command

    • Example result: <empty>
  • {nsfw}: Blocks the execution if the channel isn't a NSFW channel

    • Arguments:
      • msg = "⚠️ This action can only be used in NSFW channels"
    • Example result: ⚠️ This action can only be used in NSFW channels
  • {requireChannel}: Allows the execution only if the channel is allowed

    • Arguments:
      • channel = message.channel.id
      • msg = ""
    • Example result: <empty>
  • {disallowChannel}: Blocks the execution when the channel is not allowed

    • Arguments:
      • channel = message.channel.id
      • msg = ""
    • Example result: <empty>
  • {requireParent}: Returns when the parent channel ID doesn't equal the given one

    • Arguments:
      • channel = message.channel.parentId
      • msg = ""
    • Example result: <empty>
  • {disallowParent}: Returns when the parent channel ID equals the given one

    • Arguments:
      • channel = message.channel.parentId
      • msg = ""
    • Example result: <empty>
  • {requireRole}: Blocks the execution when the user is missing the specified role

    • Arguments:
      • role = ""
      • msg = "⚠️ You are missing a role to use this action"
    • Example result: ⚠️ You are missing a role to use this action
  • {disallowRole}: Blocks the execution when the user has the specified role

    • Arguments:
      • role = ""
      • msg = "⚠️ You have a role which disallows you to use this action"
    • Example result: ⚠️ You have a role which disallows you to use this action
  • {requireUser}: Blocks the execution when the user ID doesn't equal the given one

    • Arguments:
      • user = message.author.id
      • msg = "⚠️ You are not allowed to use this action"
    • Example result: <empty>
  • {disallowUser}: Blocks the execution when the user ID equals the given one

    • Arguments:
      • user = message.author.id
      • msg = "⚠️ You are not allowed to use this action"
    • Example result: <empty>
      • Using input: {disallowUser;2}
      • Using input: {disallowUser;1;}
    • Example result: ⚠️ You are not allowed to use this action
      • Using input: {disallowUser;1}