$role

a compact function with many functionalities!

Usage $role[roleid;property]

Supported Properties

  • name - role's name.
  • mention - role's mention.
  • id - role's ID.
  • hex - role's hex color.
  • color - role's 10 base number
  • created - role's date and time of creation.
  • position - role's position.
  • rawposition - role's raw position.
  • guildid - role's guild's id of origin.
  • guildname - role's guild's name of origin.
  • timestamp - creation timestamp of roleid.
  • ismentionable - role is mentionable, returns true or false.
  • iseditable - role is editable, returns true or false
  • ismanaged - role is managed(means discord bot integration), returns true or false
  • ishoisted - role is hoisted, returns true or false
  • usercount - users count with that role (cached only)
  • icon - return role Icon if exists (undefined if not found)
Member04/02/2024
!!exec $role[798789079070970;position]
Custom Command Bot 04/02/2024
2
Function difficulty: Easy
Tags: compact role