Constructors
constructor
- new Webhooks(manager): Webhooks
Methods
create
- create(guildID, channelID, name): Promise<Webhook>
Parameters
- guildID: string
- channelID: string
- name: string
Returns Promise<Webhook>
delete
- delete(guildID, webhookID): Promise<void>
Parameters
- guildID: string
- webhookID: string
Returns Promise<void>
edit
- edit(guildID, webhookID, options): Promise<Webhook>
Returns Promise<Webhook>
get
- get(guildID, webhookID): Promise<Webhook>
Parameters
- guildID: string
- webhookID: string
Returns Promise<Webhook>
getWebhooks
- getWebhooks(guildID, channelID): Promise<Webhook[]>
Parameters
- guildID: string
- channelID: string
Returns Promise<Webhook[]>
Webhook routes.