Skip to content

Proper context passing to all commands and helpers #6

Description

@aopell

Currently there are a lot of static accesses to DiscordBot.MainInstance. Instead we should be passing command context around.

Additionally, command context should probably include GuildOptions (and potentially cached versions of categories and issues as well) to avoid multiple DB reads

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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