Added more command flags, start documenting command flags, removed args argument from params function
This commit is contained in:
parent
e414d31b52
commit
d03967212e
24 changed files with 240 additions and 205 deletions
|
@ -37,7 +37,7 @@ Default prefix is \`&\`.
|
|||
|
||||
**Want to help support esmBot's development? Consider donating on Patreon!** https://patreon.com/TheEssem
|
||||
|
||||
> Tip: You can get more info about a command by using \`help [command]\` in the bot itself.
|
||||
> Tip: You can get much more info about a command by using \`help [command]\` in the bot itself.
|
||||
`;
|
||||
|
||||
template += "\n## Table of Contents\n";
|
||||
|
|
|
@ -19,7 +19,8 @@ class ReactionCollector extends EventEmitter {
|
|||
if (this.message.id !== message.id) return false;
|
||||
if (this.filter(message, emoji, member)) {
|
||||
this.collected.push({ message: message, emoji: emoji, member: member });
|
||||
this.emit("reaction", await this.bot.getMessage(message.channel.id, message.id), emoji, member);
|
||||
const msg = await this.bot.getMessage(message.channel.id, message.id);
|
||||
this.emit("reaction", msg, emoji, member);
|
||||
if (this.collected.length >= this.options.maxMatches) this.stop("maxMatches");
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue