- Preparing search index...
- The search index is not available
TouchGuild
Methods
awardMember
- awardMember(guildID: string, memberID: string, amount: number): Promise<number>
-
Parameters
-
guildID: string
-
memberID: string
-
amount: number
Returns Promise<number>
awardRole
- awardRole(guildID: string, roleID: number, amount: number): Promise<void>
-
Parameters
-
guildID: string
-
roleID: number
-
amount: number
Returns Promise<void>
createWebhook
- createWebhook(guildID: string, channelID: string, name: string): Promise<Webhook>
-
Parameters
-
guildID: string
-
channelID: string
-
name: string
Returns Promise<Webhook>
deleteChannel
- deleteChannel(channelID: string): Promise<void>
-
Returns Promise<void>
deleteWebhook
- deleteWebhook(guildID: string, webhookID: string): Promise<void>
-
Parameters
-
guildID: string
-
webhookID: string
Returns Promise<void>
editWebhook
- editWebhook(guildID: string, webhookID: string, options: EditWebhookOptions): Promise<Webhook>
-
Parameters
-
guildID: string
-
webhookID: string
-
Returns Promise<Webhook>
getGuild
- getGuild(guildID: string): Promise<Guild>
-
Returns Promise<Guild>
getMember
- getMember(guildID: string, memberID: string): Promise<Member>
-
Parameters
-
guildID: string
-
memberID: string
Returns Promise<Member>
getWebhook
- getWebhook(guildID: string, webhookID: string): Promise<Webhook>
-
Parameters
-
guildID: string
-
webhookID: string
Returns Promise<Webhook>
getWebhooks
- getWebhooks(guildID: string, channelID: string): Promise<Webhook[]>
-
Parameters
-
guildID: string
-
channelID: string
Returns Promise<Webhook[]>
memberAddGroup
- memberAddGroup(groupID: string, memberID: string): Promise<void>
-
Parameters
-
groupID: string
-
memberID: string
Returns Promise<void>
memberAddRole
- memberAddRole(guildID: string, memberID: string, roleID: number): Promise<void>
-
Parameters
-
guildID: string
-
memberID: string
-
roleID: number
Returns Promise<void>
memberRemoveGroup
- memberRemoveGroup(groupID: string, memberID: string): Promise<void>
-
Parameters
-
groupID: string
-
memberID: string
Returns Promise<void>
memberRemoveRole
- memberRemoveRole(guildID: string, memberID: string, roleID: number): Promise<void>
-
Parameters
-
guildID: string
-
memberID: string
-
roleID: number
Returns Promise<void>
setMemberXP
- setMemberXP(guildID: string, memberID: string, amount: number): Promise<number>
-
Parameters
-
guildID: string
-
memberID: string
-
amount: number
Returns Promise<number>