pajbot/pajbot2

Adding the immunetomessagelimits permission ignores any further commands

Closed this issue · 1 comments

Adding the immunetomessagelimits permission has the bot ignore all other commands in regards to message limits:

image

Relevant code:

if user.HasPermission(m.BotChannel().Channel(), pkg.PermissionImmuneToMessageLimits) {
return nil

This seems to work just fine now.