feat: promisified single interaction collection (#5770)

This commit is contained in:
monbrey
2021-06-09 05:52:27 +10:00
committed by GitHub
parent 32d8c8ba94
commit c2b3ed09a0
3 changed files with 23 additions and 24 deletions

View File

@@ -49,6 +49,8 @@ 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',
FILE_NOT_FOUND: file => `File could not be found: ${file}`,
USER_NO_DMCHANNEL: 'No DM Channel exists!',