Skip to content

Scoped/Transient dependency dependant on data from discord #1985

@Instellate

Description

@Instellate

Description

Allow the ability to have dependencies that gets injected into command modules to have access to data from discord.
As for example, have a translation tool that responds based on the language set by the user or guild. A dependency might need to know the information for the guild or user to give the correct text when it is required.

Specify the libraries you want this feature request to affect

DSharpPlus.Commands

Other considerations

I can consider helping implementing this feature.

Metadata

Metadata

Assignees

No one assigned

    Labels

    commandsFor issues related to DSharpPlus.Commands

    Effort

    None yet

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions