Defined in lib/routes/Guilds.ts:75 Constructorsconstructor new Guilds ( manager ) : Guilds Defined in lib/routes/Guilds.ts:77 Methodsaward Member award Member ( guildID , memberID , amount ) : Promise < number > Parameters guildID : string memberID : string amount : number Returns Promise < number > Defined in lib/routes/Guilds.ts:86 award Role award Role ( guildID , roleID , amount ) : Promise < void > Parameters guildID : string roleID : number amount : number Returns Promise < void > Defined in lib/routes/Guilds.ts:100 bulk AwardXP bulk AwardXP ( guildID , options ) : Promise < { totalsByUserId : { [key : string ]: number ; } ; } > Returns Promise < { totalsByUserId : { [key : string ]: number ; } ; } > Defined in lib/routes/Guilds.ts:114 bulk SetXP bulk SetXP ( guildID , options ) : Promise < { totalsByUserId : { [key : string ]: number ; } ; } > Returns Promise < { totalsByUserId : { [key : string ]: number ; } ; } > Defined in lib/routes/Guilds.ts:126 create Ban create Ban ( guildID , memberID , reason ? ) : Promise < BannedMember > Parameters guildID : string memberID : string Optional
reason : string Defined in lib/routes/Guilds.ts:138 create Category create Category ( guildID , options ) : Promise < Category > Parameters guildID : string options : { groupId ?: string ; name : string ; } Optional
group Id ?: string name : string Returns Promise < Category > Defined in lib/routes/Guilds.ts:154 create Category Permission create Category Permission ( guildID , categoryID , targetID , options ) : Promise < Permission > Parameters guildID : string categoryID : number targetID : string | number options : { permissions : Record < string , never > ; } permissions : Record < string , never > Defined in lib/routes/Guilds.ts:170 create Channel create Channel < T > ( guildID , name , type , options ? ) : Promise < T > Returns Promise < T > Defined in lib/routes/Guilds.ts:194 create Group create Group ( guildID , options ) : Promise < Group > Parameters guildID : string options : { description ?: string ; emoteId ?: number ; isPublic ?: boolean ; name : string ; } Optional
description ?: string Optional
emote Id ?: number Optional
is Public ?: boolean name : string Returns Promise < Group > Defined in lib/routes/Guilds.ts:227 create Role create Role ( guildID , options ) : Promise < Role > Parameters guildID : string options : { colors ?: number [] ; isDisplayedSeparately ?: boolean ; isMentionable ?: boolean ; isSelfAssignable ?: boolean ; name : string ; permissions : string [] ; } Optional
colors ?: number [] Optional
is Displayed Separately ?: boolean Optional
is Mentionable ?: boolean Optional
is Self Assignable ?: boolean name : string permissions : string [] Returns Promise < Role > Defined in lib/routes/Guilds.ts:239 delete Category delete Category ( guildID , categoryID ) : Promise < Category > Parameters guildID : string categoryID : number Returns Promise < Category > Defined in lib/routes/Guilds.ts:251 delete Category Permission delete Category Permission ( guildID , categoryID , targetID ) : Promise < void > Parameters guildID : string categoryID : number targetID : string | number Returns Promise < void > Defined in lib/routes/Guilds.ts:263 delete Group delete Group ( guildID , groupID ) : Promise < void > Parameters guildID : string groupID : string Returns Promise < void > Defined in lib/routes/Guilds.ts:283 delete Role delete Role ( guildID , roleID ) : Promise < void > Parameters guildID : string roleID : number Returns Promise < void > Defined in lib/routes/Guilds.ts:294 edit Category edit Category ( guildID , categoryID , options ) : Promise < Category > Parameters guildID : string categoryID : number options : { name ?: string ; priority ?: number ; } Optional
name ?: string Optional
priority ?: number Returns Promise < Category > Defined in lib/routes/Guilds.ts:306 edit Category Permission edit Category Permission ( guildID , categoryID , targetID , options ) : Promise < Permission > Parameters guildID : string categoryID : number targetID : string | number options : { permissions : Record < string , never > ; } permissions : Record < string , never > Defined in lib/routes/Guilds.ts:322 edit Group edit Group ( guildID , groupID , options ) : Promise < Group > Parameters guildID : string groupID : string options : { description ?: string ; emoteId ?: number ; isPublic ?: boolean ; name ?: string ; } Optional
description ?: string Optional
emote Id ?: number Optional
is Public ?: boolean Optional
name ?: string Returns Promise < Group > Defined in lib/routes/Guilds.ts:346 edit Member edit Member ( guildID , memberID , options ) : Promise < void > Returns Promise < void > Defined in lib/routes/Guilds.ts:358 edit Role edit Role ( guildID , roleID , options ) : Promise < Role > Parameters guildID : string roleID : number options : { colors ?: number [] ; isDisplayedSeparately ?: boolean ; isMentionable ?: boolean ; isSelfAssignable ?: boolean ; name ?: string ; permissions ?: string [] ; priority ?: number ; } Optional
colors ?: number [] Optional
is Displayed Separately ?: boolean Optional
is Mentionable ?: boolean Optional
is Self Assignable ?: boolean Optional
name ?: string Optional
permissions ?: string [] Optional
priority ?: number Returns Promise < Role > Defined in lib/routes/Guilds.ts:382 edit Role Permission edit Role Permission ( guildID , roleID , options ) : Promise < Role > Parameters guildID : string roleID : number options : { permissions : Record < string , never > ; } permissions : Record < string , never > Returns Promise < Role > Defined in lib/routes/Guilds.ts:395 get get ( guildID ) : Promise < Guild > Returns Promise < Guild > Defined in lib/routes/Guilds.ts:407 get Ban get Ban ( guildID , memberID ) : Promise < BannedMember > Parameters guildID : string memberID : string Defined in lib/routes/Guilds.ts:417 get Bans get Bans ( guildID ) : Promise < BannedMember [] > Defined in lib/routes/Guilds.ts:434 get Category get Category ( guildID , categoryID ) : Promise < Category > Parameters guildID : string categoryID : number Returns Promise < Category > Defined in lib/routes/Guilds.ts:455 get Category Permission get Category Permission ( guildID , categoryID , targetID ) : Promise < Permission > Parameters guildID : string categoryID : number targetID : string | number Defined in lib/routes/Guilds.ts:469 get Category Permissions get Category Permissions ( guildID , categoryID ) : Promise < Permission [] > Parameters guildID : string categoryID : number Defined in lib/routes/Guilds.ts:485 get Category Role Permissions get Category Role Permissions ( guildID , categoryID ) : Promise < Permission [] > Parameters guildID : string categoryID : number Defined in lib/routes/Guilds.ts:500 get Category User Permissions get Category User Permissions ( guildID , categoryID ) : Promise < Permission [] > Parameters guildID : string categoryID : number Defined in lib/routes/Guilds.ts:515 get Group get Group ( guildID , groupID ) : Promise < Group > Parameters guildID : string groupID : string Returns Promise < Group > Defined in lib/routes/Guilds.ts:530 get Groups get Groups ( guildID ) : Promise < Group [] > Returns Promise < Group [] > Defined in lib/routes/Guilds.ts:540 get Member get Member ( guildID , memberID ) : Promise < Member > Parameters guildID : string memberID : string Returns Promise < Member > Defined in lib/routes/Guilds.ts:556 get Member Permission get Member Permission ( guildID , memberID ) : Promise < Permissions [] > Parameters guildID : string memberID : string Defined in lib/routes/Guilds.ts:571 get Member Roles get Member Roles ( guildID , memberID ) : Promise < number [] > Parameters guildID : string memberID : string Returns Promise < number [] > Defined in lib/routes/Guilds.ts:584 get Members get Members ( guildID ) : Promise < Member [] > Returns Promise < Member [] > Defined in lib/routes/Guilds.ts:595 get Role get Role ( guildID , roleID ) : Promise < Role > Parameters guildID : string roleID : number Returns Promise < Role > Defined in lib/routes/Guilds.ts:616 get Roles get Roles ( guildID ) : Promise < Role [] > Returns Promise < Role [] > Defined in lib/routes/Guilds.ts:628 get Subscription get Subscription ( guildID , subscriptionID ) : Promise < Subscription > Parameters guildID : string subscriptionID : string Defined in lib/routes/Guilds.ts:645 get Subscriptions get Subscriptions ( guildID ) : Promise < Subscription [] > Defined in lib/routes/Guilds.ts:657 member Add Group member Add Group ( groupID , memberID ) : Promise < void > Parameters groupID : string memberID : string Returns Promise < void > Defined in lib/routes/Guilds.ts:671 member Add Role member Add Role ( guildID , memberID , roleID ) : Promise < void > Parameters guildID : string memberID : string roleID : number Returns Promise < void > Defined in lib/routes/Guilds.ts:684 member Remove Group member Remove Group ( groupID , memberID ) : Promise < void > Parameters groupID : string memberID : string Returns Promise < void > Defined in lib/routes/Guilds.ts:696 member Remove Role member Remove Role ( guildID , memberID , roleID ) : Promise < void > Parameters guildID : string memberID : string roleID : number Returns Promise < void > Defined in lib/routes/Guilds.ts:709 remove Ban remove Ban ( guildID , memberID ) : Promise < void > Parameters guildID : string memberID : string Returns Promise < void > Defined in lib/routes/Guilds.ts:721 remove Member remove Member ( guildID , memberID ) : Promise < void > Parameters guildID : string memberID : string Returns Promise < void > Defined in lib/routes/Guilds.ts:733 set MemberXP set MemberXP ( guildID , memberID , amount ) : Promise < number > Parameters guildID : string memberID : string amount : number Returns Promise < number > Defined in lib/routes/Guilds.ts:746
Award a member using the built-in EXP system.