Guild
Properties
<Guild>.channels
An array of the Channels on the Guild
<Guild>.client
The client that created the instance of the Guild
<Guild>.defaultMessageNotifications
The default Message Notifications
<Guild>.defaultRole
The @everyone
role id
This is only available at the Master Branch!
<Guild>.explicitContentFilter
The explicitContentFilter Level
<Guild>.features
An array of guild Features
<Guild>.icon
The hash of the Guild Icon
<Guild>.iconURL
The Icon URL of the Guild!
This is only available at the Master Branch!
<Guild>.id
The ID of the Guild
<Guild>.large
Returns true
if the guild is over 250 Members, and false
if it isn't
<Guild>.members
An array of Member Objects
<Guild>.memberCount
The amount of members that are in the Guild
<Guild>.name
The name of the Guild
<Guild>.ownerID
The id of the guild Owner
<Guild>.presences
An array of presences in this Guild
<Guild>.region
The guild Region
<Guild>.splash
The hash of the guild splash image ( VIP Only )
<Guild>.systemChannel
The system Channel ID
<Guild>.verificationLevel
The guild's verification Level
Methods
<Guild>.ban(user, deleteMessageDays, reason)
Bans a user
Param
Required
Default
Type
user
true
none
String | Snowflake
deleteMessageDays
false
0
Number
reason
false
null
String
<Guild>.fetchBans()
Fetch the Guild Bans
<Guild>.fetchInvites()
Fetch the invites created
<Guild>.fetchMember(user)
Fetch a User in the Guild
Parm
Required
Default
Type
user
true
none
String | Snowflake
<Guild>.kick(user)
Kicks a User on the Guild
Param
Required
Default
Type
user
true
none
String | Snowflake
Last updated
Was this helpful?