Zum Hauptinhalt springen

Member-Funktionen

  • {memberAvatar}: Returns the member/guild avatar of the given user

    • Argumente:
      • user = message.author.id
      • size = "128"
      • extension = "webp"
      • forceStatic = "false"
    • Beispielergebnis: test?size=64&extension=png
      • Mit Eingabe: {memberAvatar;;64;png}
  • {usersWithRole}: Returns the amount of members with a given role

    • Argumente:
      • role = ""
    • Beispielergebnis: 1
  • {premiumSince}: Timestamp since the member boosts the server, if any

    • Argumente:
      • user = message.author.id
    • Beispielergebnis: 1
  • {memberPending}: Returns the text depending on whether the member is still pending in onboarding

    • Argumente:
      • user = message.author.id
    • Beispielergebnis: true
  • {memberTimeouted}: Returns the timestamp when the timeout of the member ends, if any

    • Argumente:
      • user = message.author.id
    • Beispielergebnis: false
  • {memberStreaming}: Returns the text depending on whether the member is streaming in a voice channel

    • Argumente:
      • user = message.author.id
    • Beispielergebnis: true
  • {memberDeafed}: Returns the text depending on whether the member is deafened in a voice channel

    • Argumente:
      • user = message.author.id
    • Beispielergebnis: true
  • {memberMuted}: Returns the text depending on whether the member is muted in a voice channel

    • Argumente:
      • user = message.author.id
    • Beispielergebnis: true
  • {memberServerDeafed}: Returns the text depending on whether the member is server deafened by staff in a voice channel

    • Argumente:
      • user = message.author.id
    • Beispielergebnis: true
  • {memberServerMuted}: Returns the text depending on whether the member is server muted by staff in a voice channel

    • Argumente:
      • user = message.author.id
    • Beispielergebnis: true
  • {memberHighestRole}: Returns the name of the highest role of the given member

    • Argumente:
      • user = message.author.id
    • Beispielergebnis: test
  • {memberHoistedRole}: Returns the name of the hoisted role of the given member (usually equal to {memberHighestRole})

    • Argumente:
      • user = message.author.id
    • Beispielergebnis: test
  • {memberRoles}: Returns the roles of the given member

    • Argumente:
      • user = message.author.id
      • separator = "
      • "
    • Beispielergebnis: test, 12345
    • Beispielergebnis: test-12345
      • Mit Eingabe: {memberRoles;1;-}
  • {memberRoleCount}: Returns the amount of roles the given member has

    • Argumente:
      • user = message.author.id
    • Beispielergebnis: 1
  • {memberHasRole}: Returns the text depending on whether the member has the given role

    • Argumente:
      • role = ""
      • user = message.author.id
      • ifTrue = "true"
      • ifFalse = "false"
    • Beispielergebnis: true
  • {memberHasPermission}: Returns true or false depending on whether the member has the given permission

    • Argumente:
      • permission = "Administrator"
      • user = message.author.id
    • Beispielergebnis: true
      • Mit Eingabe: {memberHasPermission;BanMembers}
      • Mit Eingabe: {memberHasPermission;Administrator;2}
    • Beispielergebnis: false
      • Mit Eingabe: {memberHasPermission;KickMembers;1}
  • {memberSetNickname}: Sets or clears the nickname of the given member. Requires the "Manage Nicknames" permission

    • Argumente:
      • nickname = ""
      • user = message.author.id
    • Beispielergebnis: <leer>
  • {memberDeaf}: Server deafs a member in voice

    • Argumente:
      • user = message.author.id
      • deaf = true
    • Beispielergebnis: true
  • {memberMute}: Server mutes a member in voice

    • Argumente:
      • user = message.author.id
      • mute = true
    • Beispielergebnis: true
  • {addRole}: Adds the given role to the given member

    • Argumente:
      • role = ""
      • member = message.author.id
    • Beispielergebnis: <leer>
      • Mit Eingabe: {addRole;1;1}
  • {removeRole}: Removes the given role from the given member

    • Argumente:
      • role = ""
      • member = message.author.id
    • Beispielergebnis: <leer>
      • Mit Eingabe: {removeRole;1;1}
  • {toggleRoles}: Adds the given roles and removes the given roles from the given member

    • Argumente:
      • rolesToAdd = ""
      • rolesToRemove = ""
      • member = message.author.id
    • Beispielergebnis: <leer>
      • Mit Eingabe: {toggleRoles;1;1}
  • {setRoles}: Sets the given roles to the given member

    • Argumente:
      • roles = ""
      • member = message.author.id
    • Beispielergebnis: <leer>
      • Mit Eingabe: {setRoles;1}