Discord guild member. Difference between member and user is that member belongs to a guild and has information related the guild.
Discord member inherits all the data from discord user object.
flowchart LR
member[(member)]
pending{pending}
click pending callback "Whether member is pending verification or not."
member --- pending
nick>nick]
click nick callback "Nickname of the member."
member --- nick
created_at{{created_at}}
click created_at callback "Creation date of members account."
member --- created_at
joined_at{{joined_at}}
click joined_at callback "Join date of the member."
member --- joined_at
timed_out_until{{timed_out_until}}
click timed_out_until callback "Time which time out will last. If person isn't timed out returns None."
member --- timed_out_until
color{{color}}
click color callback "Color of the member. Determined by top role."
member --- color
top_role[top_role]
click top_role "https://docs.monni.fyi/en/simpukka/objects/discord/role"
member --- top_role
roles((roles))
click roles "https://docs.monni.fyi/en/simpukka/objects/discord/role"
member --- roles
is_admin{is_admin}
click is_admin callback "Whether the person is an admin or not."
member --- is_admin
ban[[ban]]
click ban callback "Ban a user from the guild."
member --- ban
ban_reason>reason]
click ban_reason callback "Reason for the ban. Will be displayed in discord audit logs"
ban -.- ban_reason
delete_message_seconds{{delete_message_seconds}}
click delete_message_seconds callback "Time which messages should be deleted from"
ban -.- delete_message_seconds
unban[[unban]]
click unban callback "Unban a user from the guild."
member --- unban
unban_reason>reason]
click kick_reason callback "Reason the unban. Will be displayed in discord audit log."
unban -.- unban_reason
kick[[kick]]
click kick callback "Kick a user from the guild."
member --- kick
kick_reason>reason]
click kick_reason callback "Reason for the kick. Will be displayed in discord audit logs"
kick -.- kick_reason
timeout[[timeout]]
click timeout callback "Timeout the user for given seconds."
member --- timeout
timeout_reason>reason]
click timeout_reason callback "Reason for the timeout."
timeout -.- timeout_reason
timeout_time{{time}}
click timeout_time callback "Time of the timeout."
timeout --- timeout_time
untimeout[[untimeout]]
click untimeout callback "Untimeout the user."
member --- untimeout
untimeout_reason>reason]
click untimeout_reason callback "Reason for the untimeout."
untimeout -.- untimeout_reason
add_role[[add_role]]
click add_role callback "Add a role to the user."
member --- add_role
add_role_id{{role_id}}
click add_role_id callback "Id of the role which should be given."
add_role --- add_role_id
add_role_reason>reason]
click add_role_reason callback "Reason for adding the role. Will be displayed in discord audit log."
add_role -.- add_role_reason
remove_role[[remove_role]]
click remove_role callback "Remove a role to the user."
member --- remove_role
remove_role_id{{role_id}}
click add_role_id callback "Id of the role which should be removed."
remove_role --- remove_role_id
remove_role_reason>add_role]
click remove_role_reason callback "Reason for removing the role. Will be displayed in discord audit log."
remove_role -.- remove_role_reason
set_nickname[[set_nickname]]
click set_nickname callback "Function to set nickname to the member"
member --- set_nickname
set_nickname_name>nickname]
click set_nickname_name callback "New nickname to be set."
set_nickname --- set_nickname_name
Whether member is pending verification or not.
Nickname of the member.
Creation date of members account.
Join date of the member.
Time which time out will last. If person isn’t timed out returns None.
Color of the member. Determined by top role.
Top role of the user. Top colored role determines the color of the members name.
List of all the role’s member has.
Whether the person is admin.
Ban a user from the guild. Optionally takes a reason and how long messages.
Unban a user from the guild. Optionally takes a reason.
Kick a user from the guild. Optionally takes a reason.
Timeout the user for given seconds. Takes timeout time in seconds and optionally a reason.
Untimeout the user. Optionally takes a reason
Add a role to the user. Takes role id and optionally a reason.
Remove a role to the user. Takes role id and optionally a reason.
Function to set nickname to the member. Takes a new nickname