Skip to content

FollowUps

FollowUps = object

Defined in: utils/message.ts:32

Calls that send more after the first answer. Each returns an Error if Discord refuses.

after(work): void

Defined in: utils/message.ts:37

Runs work once Discord has the first answer. Call it before you return the answer. work can call the other follow-up calls.

() => Promise<void>

void


deleteReply(): Promise<Error | null>

Defined in: utils/message.ts:43

Deletes the first answer.

Promise<Error | null>


editReply(content, options?): Promise<Error | null>

Defined in: utils/message.ts:41

Edits the first answer.

string

MessageOptions

Promise<Error | null>


followUp(content, options?): Promise<Error | null>

Defined in: utils/message.ts:39

Sends a new message.

string

ReplyOptions

Promise<Error | null>