refactor(awaitMessageComponentInteraction): use options object for lib consistency (#5852)

This commit is contained in:
monbrey
2021-06-15 21:02:48 +10:00
committed by GitHub
parent 96a4e7b86e
commit 9dda9b742f
4 changed files with 26 additions and 16 deletions

View File

@@ -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}`,