mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-13 01:53:30 +01:00
refactor(awaitMessageComponentInteraction): use options object for lib consistency (#5852)
This commit is contained in:
@@ -50,7 +50,7 @@ const Messages = {
|
||||
BUTTON_URL: 'MessageButton url must be a string',
|
||||
BUTTON_CUSTOM_ID: 'MessageButton customID must be a string',
|
||||
|
||||
INTERACTION_COLLECTOR_TIMEOUT: 'Collector timed out without receiving any interactions',
|
||||
INTERACTION_COLLECTOR_ERROR: reason => `Collector received no interactions before ending with reason: ${reason}`,
|
||||
|
||||
FILE_NOT_FOUND: file => `File could not be found: ${file}`,
|
||||
|
||||
|
||||
Reference in New Issue
Block a user