FollowUps
FollowUps =
object
Defined in: utils/message.ts:32
Calls that send more after the first answer. Each returns an Error if Discord refuses.
Methods
Section titled “Methods”after()
Section titled “after()”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.
Parameters
Section titled “Parameters”() => Promise<void>
Returns
Section titled “Returns”void
deleteReply()
Section titled “deleteReply()”deleteReply():
Promise<Error|null>
Defined in: utils/message.ts:43
Deletes the first answer.
Returns
Section titled “Returns”Promise<Error | null>
editReply()
Section titled “editReply()”editReply(
content,options?):Promise<Error|null>
Defined in: utils/message.ts:41
Edits the first answer.
Parameters
Section titled “Parameters”content
Section titled “content”string
options?
Section titled “options?”Returns
Section titled “Returns”Promise<Error | null>
followUp()
Section titled “followUp()”followUp(
content,options?):Promise<Error|null>
Defined in: utils/message.ts:39
Sends a new message.
Parameters
Section titled “Parameters”content
Section titled “content”string
options?
Section titled “options?”Returns
Section titled “Returns”Promise<Error | null>