Skip to content

WebhookGuildMethods

Extends

  • DiscordBase

Constructors

new WebhookGuildMethods(client, data)

1
new WebhookGuildMethods(client: UsingClient, data: Object): WebhookGuildMethods

Parameters

ParameterTypeDescription
clientUsingClient-
dataObjectUnique ID of the object
data.idstring-

Returns

WebhookGuildMethods

Inherited from

DiscordBase.constructor

Source

seyfert/src/structures/extra/DiscordBase.ts:7

Properties

PropertyModifierTypeInherited from
clientreadonlyUsingClientDiscordBase.client
idpublicstringDiscordBase.id
webhookspublicObject-
webhooks.listpublic() => Promise<Webhook[]>-

Accessors

createdAt

1
get createdAt(): Date

createdAt gets the creation Date instace of the current object.

Returns

Date

Source

seyfert/src/structures/extra/DiscordBase.ts:27


createdTimestamp

1
get createdTimestamp(): number

Create a timestamp for the current object.

Returns

number

Source

seyfert/src/structures/extra/DiscordBase.ts:20

Methods

guild()

1
static guild(ctx: Object): Object

Parameters

ParameterType
ctxObject
ctx.clientUsingClient
ctx.guildIdstring

Returns

Object

MemberTypeValue
list() => Promise<Webhook[]>-

Source

seyfert/src/structures/channels.ts:374