calamity-0.1.0.0: A library for writing discord bots
Calamity.Types.Model.Guild
Description
Discord Guilds
module Calamity.Types.Model.Guild.Emoji
$sel:features:UpdatedGuild :: UpdatedGuild -> [Text] Source #
$sel:id:UpdatedGuild :: UpdatedGuild -> Snowflake Guild Source #
$sel:name:UpdatedGuild :: UpdatedGuild -> Text Source #
$sel:owner:UpdatedGuild :: UpdatedGuild -> Maybe Bool Source #
$sel:roles:UpdatedGuild :: UpdatedGuild -> SnowflakeMap Role Source #
$sel:permissions:UpdatedGuild :: UpdatedGuild -> Maybe Word64 Source #
$sel:ownerID:UpdatedGuild :: UpdatedGuild -> Snowflake User Source #
$sel:icon:UpdatedGuild :: UpdatedGuild -> Maybe Text Source #
$sel:applicationID:UpdatedGuild :: UpdatedGuild -> Maybe (Snowflake User) Source #
$sel:splash:UpdatedGuild :: UpdatedGuild -> Maybe Text Source #
$sel:region:UpdatedGuild :: UpdatedGuild -> Text Source #
$sel:afkChannelID:UpdatedGuild :: UpdatedGuild -> Maybe (Snowflake GuildChannel) Source #
$sel:afkTimeout:UpdatedGuild :: UpdatedGuild -> Int Source #
$sel:embedEnabled:UpdatedGuild :: UpdatedGuild -> Maybe Bool Source #
$sel:embedChannelID:UpdatedGuild :: UpdatedGuild -> Maybe (Snowflake GuildChannel) Source #
$sel:verificationLevel:UpdatedGuild :: UpdatedGuild -> Int Source #
$sel:defaultMessageNotifications:UpdatedGuild :: UpdatedGuild -> Int Source #
$sel:explicitContentFilter:UpdatedGuild :: UpdatedGuild -> Int Source #
$sel:emojis:UpdatedGuild :: UpdatedGuild -> SnowflakeMap Emoji Source #
$sel:mfaLevel:UpdatedGuild :: UpdatedGuild -> Int Source #
$sel:widgetEnabled:UpdatedGuild :: UpdatedGuild -> Maybe Bool Source #
$sel:widgetChannelID:UpdatedGuild :: UpdatedGuild -> Maybe (Snowflake GuildChannel) Source #
$sel:systemChannelID:UpdatedGuild :: UpdatedGuild -> Maybe (Snowflake GuildChannel) Source #
data Guild Source #
Constructors
Fields
Defined in Calamity.Types.Model.Guild.Guild
Methods
(==) :: Guild -> Guild -> Bool #
(/=) :: Guild -> Guild -> Bool #
showsPrec :: Int -> Guild -> ShowS #
show :: Guild -> String #
showList :: [Guild] -> ShowS #
Associated Types
type Rep Guild :: Type -> Type #
from :: Guild -> Rep Guild x #
to :: Rep Guild x -> Guild #
parseJSON :: Value -> Parser Guild #
parseJSONList :: Value -> Parser [Guild] #
showbPrec :: Int -> Guild -> Builder #
showb :: Guild -> Builder #
showbList :: [Guild] -> Builder #
showtPrec :: Int -> Guild -> Text #
showt :: Guild -> Text #
showtList :: [Guild] -> Text #
showtlPrec :: Int -> Guild -> Text #
showtl :: Guild -> Text #
showtlList :: [Guild] -> Text #
Defined in Calamity.Internal.Updateable
type Updated Guild :: Type Source #
update :: Updated Guild -> Guild -> Guild Source #
(==) :: Partial Guild -> Partial Guild -> Bool #
(/=) :: Partial Guild -> Partial Guild -> Bool #
showsPrec :: Int -> Partial Guild -> ShowS #
show :: Partial Guild -> String #
showList :: [Partial Guild] -> ShowS #
type Rep (Partial Guild) :: Type -> Type #
from :: Partial Guild -> Rep (Partial Guild) x #
to :: Rep (Partial Guild) x -> Partial Guild #
toJSON :: Partial Guild -> Value #
toEncoding :: Partial Guild -> Encoding #
toJSONList :: [Partial Guild] -> Value #
toEncodingList :: [Partial Guild] -> Encoding #
parseJSON :: Value -> Parser (Partial Guild) #
parseJSONList :: Value -> Parser [Partial Guild] #
showbPrec :: Int -> Partial Guild -> Builder #
showb :: Partial Guild -> Builder #
showbList :: [Partial Guild] -> Builder #
showtPrec :: Int -> Partial Guild -> Text #
showt :: Partial Guild -> Text #
showtList :: [Partial Guild] -> Text #
showtlPrec :: Int -> Partial Guild -> Text #
showtl :: Partial Guild -> Text #
showtlList :: [Partial Guild] -> Text #
getID :: UpdatedGuild -> Snowflake Guild Source #
getID :: Guild -> Snowflake Guild Source #
Defined in Calamity.Types.Model.Guild.Member
getID :: Member -> Snowflake Guild Source #
Defined in Calamity.Types.Model.Channel.Guild.Voice
getID :: VoiceChannel -> Snowflake Guild Source #
Defined in Calamity.Types.Model.Channel.Guild.Text
getID :: TextChannel -> Snowflake Guild Source #
Defined in Calamity.Types.Model.Channel.Guild
getID :: GuildChannel -> Snowflake Guild Source #
Defined in Calamity.Types.Model.Presence.Presence
getID :: Presence -> Snowflake Guild Source #
Defined in Calamity.Types.Model.Guild.UnavailableGuild
getID :: UnavailableGuild -> Snowflake Guild Source #
getID :: Partial Guild -> Snowflake Guild Source #
data family Partial t Source #
Defined in Calamity.Types.Model.Channel
(==) :: Partial Channel -> Partial Channel -> Bool #
(/=) :: Partial Channel -> Partial Channel -> Bool #
Defined in Calamity.Types.Model.User
(==) :: Partial User -> Partial User -> Bool #
(/=) :: Partial User -> Partial User -> Bool #
Defined in Calamity.Types.Model.Guild.Emoji
(==) :: Partial Emoji -> Partial Emoji -> Bool #
(/=) :: Partial Emoji -> Partial Emoji -> Bool #
showsPrec :: Int -> Partial Channel -> ShowS #
show :: Partial Channel -> String #
showList :: [Partial Channel] -> ShowS #
showsPrec :: Int -> Partial User -> ShowS #
show :: Partial User -> String #
showList :: [Partial User] -> ShowS #
showsPrec :: Int -> Partial Emoji -> ShowS #
show :: Partial Emoji -> String #
showList :: [Partial Emoji] -> ShowS #
type Rep (Partial Channel) :: Type -> Type #
from :: Partial Channel -> Rep (Partial Channel) x #
to :: Rep (Partial Channel) x -> Partial Channel #
type Rep (Partial User) :: Type -> Type #
from :: Partial User -> Rep (Partial User) x #
to :: Rep (Partial User) x -> Partial User #
type Rep (Partial Emoji) :: Type -> Type #
from :: Partial Emoji -> Rep (Partial Emoji) x #
to :: Rep (Partial Emoji) x -> Partial Emoji #
toJSON :: Partial Channel -> Value #
toEncoding :: Partial Channel -> Encoding #
toJSONList :: [Partial Channel] -> Value #
toEncodingList :: [Partial Channel] -> Encoding #
toJSON :: Partial User -> Value #
toEncoding :: Partial User -> Encoding #
toJSONList :: [Partial User] -> Value #
toEncodingList :: [Partial User] -> Encoding #
toJSON :: Partial Emoji -> Value #
toEncoding :: Partial Emoji -> Encoding #
toJSONList :: [Partial Emoji] -> Value #
toEncodingList :: [Partial Emoji] -> Encoding #
parseJSON :: Value -> Parser (Partial Channel) #
parseJSONList :: Value -> Parser [Partial Channel] #
parseJSON :: Value -> Parser (Partial User) #
parseJSONList :: Value -> Parser [Partial User] #
parseJSON :: Value -> Parser (Partial Emoji) #
parseJSONList :: Value -> Parser [Partial Emoji] #
showbPrec :: Int -> Partial Channel -> Builder #
showb :: Partial Channel -> Builder #
showbList :: [Partial Channel] -> Builder #
showtPrec :: Int -> Partial Channel -> Text #
showt :: Partial Channel -> Text #
showtList :: [Partial Channel] -> Text #
showtlPrec :: Int -> Partial Channel -> Text #
showtl :: Partial Channel -> Text #
showtlList :: [Partial Channel] -> Text #
showbPrec :: Int -> Partial User -> Builder #
showb :: Partial User -> Builder #
showbList :: [Partial User] -> Builder #
showtPrec :: Int -> Partial User -> Text #
showt :: Partial User -> Text #
showtList :: [Partial User] -> Text #
showtlPrec :: Int -> Partial User -> Text #
showtl :: Partial User -> Text #
showtlList :: [Partial User] -> Text #
showbPrec :: Int -> Partial Emoji -> Builder #
showb :: Partial Emoji -> Builder #
showbList :: [Partial Emoji] -> Builder #
showtPrec :: Int -> Partial Emoji -> Text #
showt :: Partial Emoji -> Text #
showtList :: [Partial Emoji] -> Text #
showtlPrec :: Int -> Partial Emoji -> Text #
showtl :: Partial Emoji -> Text #
showtlList :: [Partial Emoji] -> Text #
getID :: Partial Channel -> Snowflake Channel Source #
getID :: Partial User -> Snowflake User Source #
getID :: Partial Emoji -> Snowflake Emoji Source #
module Calamity.Types.Model.Guild.Member
module Calamity.Types.Model.Guild.Overwrite
module Calamity.Types.Model.Guild.Invite
module Calamity.Types.Model.Guild.Role
module Calamity.Types.Model.Guild.UnavailableGuild