Skip to main content

Member functions

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

    • Arguments:
      • user = message.author.id
      • size = "128"
      • extension = "webp"
      • forceStatic = "false"
    • Example result: test?size=64&extension=png
      • Using input: {memberAvatar;;64;png}
  • {usersWithRole}: Returns the amount of members with a given role

    • Arguments:
      • role = ""
    • Example result: 1
  • {premiumSince}: Timestamp since the member boosts the server, if any

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

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

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

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

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

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

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

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

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

    • Arguments:
      • user = message.author.id
    • Example result: test
  • {memberRoles}: Returns the roles of the given member

    • Arguments:
      • user = message.author.id
      • separator = "
      • "
    • Example result: test, 12345
    • Example result: test-12345
      • Using input: {memberRoles;1;-}
  • {memberRoleCount}: Returns the amount of roles the given member has

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

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

    • Arguments:
      • permission = "Administrator"
      • user = message.author.id
    • Example result: true
      • Using input: {memberHasPermission;BanMembers}
      • Using input: {memberHasPermission;Administrator;2}
    • Example result: false
      • Using input: {memberHasPermission;KickMembers;1}
  • {memberSetNickname}: Sets or clears the nickname of the given member. Requires the "Manage Nicknames" permission

    • Arguments:
      • nickname = ""
      • user = message.author.id
    • Example result: <empty>
  • {memberDeaf}: Server deafs a member in voice

    • Arguments:
      • user = message.author.id
      • deaf = true
    • Example result: true
  • {memberMute}: Server mutes a member in voice

    • Arguments:
      • user = message.author.id
      • mute = true
    • Example result: true
  • {addRole}: Adds the given role to the given member

    • Arguments:
      • role = ""
      • member = message.author.id
    • Example result: <empty>
      • Using input: {addRole;1;1}
  • {removeRole}: Removes the given role from the given member

    • Arguments:
      • role = ""
      • member = message.author.id
    • Example result: <empty>
      • Using input: {removeRole;1;1}
  • {toggleRoles}: Adds the given roles and removes the given roles from the given member

    • Arguments:
      • rolesToAdd = ""
      • rolesToRemove = ""
      • member = message.author.id
    • Example result: <empty>
      • Using input: {toggleRoles;1;1}
  • {setRoles}: Sets the given roles to the given member

    • Arguments:
      • roles = ""
      • member = message.author.id
    • Example result: <empty>
      • Using input: {setRoles;1}