Guild

Undocumented in source.

Members

Functions

ban
void ban(GuildMember member)

Ban a given GuildMember

ban
void ban(User user)

Ban a given User

defaultChannel
Channel defaultChannel()

Default channel for this Guild

defaultRole
Role defaultRole()

Default role for this Guild

getIconURL
string getIconURL(string fmt, size_t size)

Returns a URL to the guild icon

getMember
GuildMember getMember(User obj)

Returns a GuildMember for a given user object

getMember
GuildMember getMember(Snowflake id)

Returns a GuildMember for a given user/member id

getPermissions
Permission getPermissions(Snowflake user)

Undocumented in source. Be warned that the author may not have intended to support it.

initialize
void initialize()

Undocumented in source. Be warned that the author may not have intended to support it.

kick
void kick(GuildMember member)

Kick a given GuildMember

kick
void kick(User user)

Kick a given User

removeBan
void removeBan(GuildMember member)

Unban a given GuildMember

removeBan
void removeBan(User user)

Unban a given User

requestOfflineMembers
void requestOfflineMembers()

Request offline members for this guild

setName
void setName(string name)

Set this servers name

setRegion
void setRegion(string region)

Set this servers region

toString
string toString()

Undocumented in source. Be warned that the author may not have intended to support it.

Mixins

__anonymous
mixin Model

Undocumented in source.

__anonymous
mixin Permissible

Undocumented in source.

Variables

afkChannelID
Snowflake afkChannelID;

Undocumented in source.

afkTimeout
uint afkTimeout;

Undocumented in source.

channels
ChannelMap channels;

Undocumented in source.

embedChannelID
Snowflake embedChannelID;

Undocumented in source.

embedEnabled
bool embedEnabled;

Undocumented in source.

emojis
EmojiMap emojis;

Undocumented in source.

features
string[] features;

Undocumented in source.

icon
string icon;

Undocumented in source.

id
Snowflake id;

Undocumented in source.

members
GuildMemberMap members;

Undocumented in source.

mfaLevel
ushort mfaLevel;

Undocumented in source.

name
string name;

Undocumented in source.

ownerID
Snowflake ownerID;

Undocumented in source.

region
string region;

Undocumented in source.

roles
RoleMap roles;

Undocumented in source.

splash
string splash;

Undocumented in source.

unavailable
bool unavailable;

Undocumented in source.

verificationLevel
ushort verificationLevel;

Undocumented in source.

voiceStates
VoiceStateMap voiceStates;

Undocumented in source.

Mixed In Members

From mixin Model

From mixin Permissible

Meta