A counter, ignoreMyself (and ignoreMaximum) was recently added to the client object, allowing the bot to programatically determine whether it should ignore X number of subsequent commands. However, this will prove problematic when the bot is running on more than one server.
The counter should be moved into a collection, indexed by guild key. This will allow a counter to be set for each individual server. The guild.id is easily obtained during the 'message' event, using message.guild.id
A counter, ignoreMyself (and ignoreMaximum) was recently added to the client object, allowing the bot to programatically determine whether it should ignore X number of subsequent commands. However, this will prove problematic when the bot is running on more than one server.
The counter should be moved into a collection, indexed by guild key. This will allow a counter to be set for each individual server. The guild.id is easily obtained during the 'message' event, using message.guild.id