diff --git a/MeowerBot/Bot.py b/MeowerBot/Bot.py index d6d541e..0cc2e73 100644 --- a/MeowerBot/Bot.py +++ b/MeowerBot/Bot.py @@ -211,8 +211,8 @@ def inner(func): cmd = AppCommand(func, name=name, args=args) cmd.register_class(self) - self.subcommand = AppCommand.add_command(self.commands, cmd) - + self.commands = AppCommand.add_command(self.commands, cmd) + return cmd return inner diff --git a/pyproject.toml b/pyproject.toml index cd665ed..a0dc4a9 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "MeowerBot" -version = "3.0" +version = "3.0.1.1" description = "A meower bot lib for py" authors = ["showierdata9978 <68120127+showierdata9978@users.noreply.github.com>"] license = "MIT"