Skip to content

Commit fb76d7d

Browse files
committed
Fixed cog commands won't register due to missing key
1 parent fc35f76 commit fb76d7d

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

discord_slash/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@
1313
from .context import SlashContext
1414
from .utils import manage_commands
1515

16-
__version__ = "1.0.9.1"
16+
__version__ = "1.0.9.2"

discord_slash/client.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,8 @@ def get_cog_commands(self, cog: commands.Cog):
137137
"auto_convert": {},
138138
"guild_ids": x.allowed_guild_ids.copy(),
139139
"api_options": [],
140-
"has_subcommands": True
140+
"has_subcommands": True,
141+
"connector": {}
141142
}
142143
self.commands[x.base] = model.CommandObject(x.base, _cmd)
143144
if x.base not in self.subcommands:

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
setuptools.setup(
77
name="discord-py-slash-command",
8-
version="1.0.9.1",
8+
version="1.0.9.2",
99
author="eunwoo1104",
1010
author_email="[email protected]",
1111
description="A simple discord slash command handler for discord.py.",

0 commit comments

Comments
 (0)