Extends
Members
Methods
# async runCommand(botGuild, message)
Stores a map which keeps the questions (strings) as keys and an array of possible answers (strings) as values. It iterates through
each key in order and asks them in the Discord channel in which it was called at the given intervals. It also listens for emojis
that tell it to pause, resume, or remove a specified question.
Parameters:
Name | Type | Description |
---|---|---|
botGuild |
BotGuildModel | |
message |
Message | the message in which this command was called |