You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Consider introducing permission groups that get configured in config/discord.php or via a permissions() method you can override in app/Bot.php instead of just having is_admin on the User model.
Users could be in multiple groups.
Could use a wildcard * permission node for super admins.
Must have
Introduce some kind of override-able authorize() method for customizing admin/permission checks on commands.
Changes
Laracord currently has legacy behavior of adding every user who executes a command to the database. This is unnecessary.
The text was updated successfully, but these errors were encountered:
Few ideas
config/discord.php
or via apermissions()
method you can override inapp/Bot.php
instead of just havingis_admin
on theUser
model.*
permission node for super admins.Must have
authorize()
method for customizing admin/permission checks on commands.Changes
The text was updated successfully, but these errors were encountered: