Simpukka guild data object with most of the information about given guild. Also contains functions for doing actions like banning
flowchart LR
guild[(guild)]
name>name]
click name callback "Name of the guild."
guild --- name
afk_timeout{{afk_timeout}}
click afk_timeout callback "Afk timeout of the guild."
guild --- afk_timeout
id{{id}}
click id callback "Id of the guild."
guild --- id
max_video_channel_users{{max_video_channel_users}}
click max_video_channel_users callback "Max people in video channel."
guild --- max_video_channel_users
description>description]
click description callback "Description of the guild."
guild --- description
vanity_url_code>vanity_url_code]
click vanity_url_code callback "Vanity URL code of the guild."
guild --- vanity_url_code
premium_tier>premium_tier]
click premium_tier callback "Boost level of the guild."
guild --- premium_tier
premium_subscription_count{{premium_subscription_count}}
click premium_subscription_count callback "Booster count of the guild."
guild --- premium_subscription_count
nsfw_level>nsfw_level]
click nsfw_level callback "Nsfw level of the guild."
guild --- nsfw_level
max_stage_video_users{{max_stage_video_users}}
click max_stage_video_users callback "Maximum amount of video users in stage."
guild --- max_stage_video_users
afk_channel[afk_channel]
click afk_channel "https://docs.monni.fyi/e/en/simpukka/object/discord/channel"
guild --- afk_channel
system_channel[system_channel]
click system_channel "https://docs.monni.fyi/e/en/simpukka/object/discord/channel"
guild --- system_channel
rules_channel[rules_channel]
click rules_channel "https://docs.monni.fyi/e/en/simpukka/object/discord/channel"
guild --- rules_channel
icon>icon]
click icon callback "Icon url of the guild."
guild --- icon
banner>banner]
click banner callback "banner url of the guild."
guild --- banner
splash>splash]
click splash callback "Splash url of the guild."
guild --- splash
discovery_splash>discovery_splash]
click discovery_splash callback "Discovery splash url of the guild."
guild --- discovery_splash
created_at{{created_at}}
click created_at callback "Creation time of the guild as unix timestamp"
guild --- created_at
owner[owner]
click owner "https://docs.monni.fyi/e/en/simpukka/object/discord/member"
guild --- owner
roles((roles))
click roles "https://docs.monni.fyi/e/en/simpukka/object/discord/role"
guild --- roles
premium_subscriber_role[premium_subscriber_role]
click premium_subscriber_role "https://docs.monni.fyi/en/simpukka/objects/discord/role"
guild --- premium_subscriber_role
premium_subscribers((premium_subscribers))
click premium_subscribers "https://docs.monni.fyi/en/simpukka/objects/discord/member"
guild --- premium_subscribers
members((members))
click members "https://docs.monni.fyi/en/simpukka/objects/discord/member"
guild --- members
channels((channels))
click channels "https://docs.monni.fyi/en/simpukka/objects/discord/channel"
guild --- channels
threads((threads))
click threads "https://docs.monni.fyi/en/simpukka/objects/discord/thread"
guild --- threads
emojis((emojis))
click emojis "https://docs.monni.fyi/e/en/simpukka/object/discord/emoji"
guild --- emojis
stickers((stickers))
click stickers "https://docs.monni.fyi/e/en/simpukka/object/discord/sticker"
guild --- stickers
ban[[ban]]
click ban callback "Bans a member from the guild."
guild --- ban
ban_id{{user_id}}
click ban_id callback "Id of a discord user to ban."
ban --- ban_id
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 "Unbans a member from the guild."
guild --- 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 "Kicks a member from the guild."
guild --- kick
kick_id{{member_id}}
click kick_id callback "Id of a discord member to kick."
kick --- kick_id
kick_reason>reason]
click kick_reason callback "Reason for the kick. Will be displayed in discord audit logs"
kick -.- kick_reason
find_snowflake[[find_snowflake]]
click find_snowflake callback "Helper function which loops list of objects and returns one with the same snowflake."
guild --- find_snowflake
snowflake_list((objects))
click snowflake_list callback "List of objects to iterate."
find_snowflake --- snowflake_list
snowflake_id{{snowflake_id}}
click snowflake_id callback "Snowflake to find."
find_snowflake --- snowflake_id
Name of the guild.
Afk timeout of the guild.
Id of the guild.
Max people in video channel.
Description of the guild.
Vanity URL code of the guild.
Boost level of the guild.
Booster count of the guild.
Nsfw level of the guild.
Maximum amount of video users in stage.
Afk channel set for guild.
System channel set for guild.
Rules channel set for guild.
Icon url of the guild.
banner url of the guild.
Splash url of the guild.
Discovery splash url of the guild.
Creation time of the guild as unix timestamp
Owner of the guild.
List of roles that exist in the guild.|list|role
Nitro role of the guild.
List of nitro boosters.
List of members in the guild.
List of channels in the guild.
List of threads in a guild.
List of emojis in a guild.
List of sticker in a guild.
Bans a member from the guild. Requires discord user id and optionally takes reason and time frame which messages should deleted from.
Unbans a member from the guild. Optionally takes reason which will be displayed in audit logs.
Kicks a member from the guild. Optionally takes reason which will be displayed in audit logs.
Helper function which loops list of objects and returns one with the same snowflake.