Zum Hauptinhalt springen

Control-Funktionen

  • {wait}: Waits the given time

    • Argumente:
      • time = "1s"
    • Beispielergebnis: <leer>
      • Mit Eingabe: {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

    • Nur verwendbar in: message, interaction
    • Beispielergebnis: <leer>
  • {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

    • Nur verwendbar in: message, interaction
    • Beispielergebnis: <leer>
  • {delete}: Controls whether and if yes, after which time the action trigger message should get deleted. 0 by default (instantly). Opposite of {noDelete}

    • Argumente:
      • time = "0"
    • Beispielergebnis: <leer>
  • {noDelete}: Disables the deletion of the action trigger message. Opposite of {delete}

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

    • Argumente:
      • onlyOn = ""
    • Beispielergebnis: <leer>
  • {slashOnly}: Disallows using this action as message command

    • Beispielergebnis: <leer>
  • {nsfw}: Blocks the execution if the channel isn't a NSFW channel

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

    • Argumente:
      • channel = message.channel.id
      • msg = ""
    • Beispielergebnis: <leer>
  • {disallowChannel}: Blocks the execution when the channel is not allowed

    • Argumente:
      • channel = message.channel.id
      • msg = ""
    • Beispielergebnis: <leer>
  • {requireParent}: Returns when the parent channel ID doesn't equal the given one

    • Argumente:
      • channel = message.channel.parentId
      • msg = ""
    • Beispielergebnis: <leer>
  • {disallowParent}: Returns when the parent channel ID equals the given one

    • Argumente:
      • channel = message.channel.parentId
      • msg = ""
    • Beispielergebnis: <leer>
  • {requireRole}: Blocks the execution when the user is missing the specified role

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

    • Argumente:
      • role = ""
      • msg = "⚠️ You have a role which disallows you to use this action"
    • Beispielergebnis: ⚠️ 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

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

    • Argumente:
      • user = message.author.id
      • msg = "⚠️ You are not allowed to use this action"
    • Beispielergebnis: <leer>
      • Mit Eingabe: {disallowUser;2}
      • Mit Eingabe: {disallowUser;1;}
    • Beispielergebnis: ⚠️ You are not allowed to use this action
      • Mit Eingabe: {disallowUser;1}