Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Oct 1, 2021. It is now read-only.
This repository was archived by the owner on Oct 1, 2021. It is now read-only.

Dynamic guild specific prefixes #11

@mcdearman

Description

@mcdearman

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions