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
{{ message }}
This repository was archived by the owner on Oct 1, 2021. It is now read-only.
Not sure if you have support for this, but if not I would love to see it implemented. The idea arises in the following use case: suppose my bot is in many servers and there is a command to add and remove prefixes. Each guild has it's own list of prefixes stored in the database. These lists are subject to change. So one way to set the prefixes (the way discord.py does it) is to pass in a callable as the command prefix that takes a bot and a message as params. This way the prefixes are fetched using that callable inside the router's message handler. In the case of dgo I would assume you'd want to take in a session. Let me know if this is feasible or something you're interested in adding. Thanks.