discord-haskell-0.6.0: Write bots for Discord in Haskell

Safe HaskellNone
LanguageHaskell2010

Discord.Types.Channel

Description

Data structures pertaining to Discord Channels

Synopsis

Documentation

data User Source #

Represents information about a user.

Constructors

User 

Fields

Webhook 

Instances

data Channel Source #

Guild channels represent an isolated set of users and messages in a Guild (Server)

Constructors

Text

A text channel in a guild.

Fields

Voice

A voice channel in a guild.

Fields

DirectMessage

DM Channels represent a one-to-one conversation between two users, outside the scope of guilds

Fields

GroupDM 

Fields

GuildCategory 

Fields

isGuildChannel :: Channel -> Bool Source #

If the channel is part of a guild (has a guild id field)

data Overwrite Source #

Permission overwrites for a channel.

Constructors

Overwrite 

Fields

data Message Source #

Represents information about a message in a Discord channel.

Constructors

Message 

Fields

data Attachment Source #

Represents an attached to a message file.

Constructors

Attachment 

Fields

data Embed Source #

An embed attached to a message.

Constructors

Embed 

Fields