Skip to content

Fixes bug where new configs are invalid #1335

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion techsupport_bot/bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,9 @@ async def create_new_context_config(self: Self, guild_id: str) -> munch.Munch:
for extension_name, extension_config in self.extension_configs.items():
if extension_config:
# don't attach to guild config if extension isn't configurable
extensions_config[extension_name] = extension_config.data
extensions_config[extension_name] = munch.munchify(
extension_config.data
)
self.extension_name_list.sort()

config_ = munch.DefaultMunch(None)
Expand Down
Loading