Compare commits

..

No commits in common. "master" and "0.1.0" have entirely different histories.

2 changed files with 4 additions and 4 deletions

View File

@ -8,7 +8,7 @@ import os
class BaseCommand(BaseModule): class BaseCommand(BaseModule):
def __init__(self, client): def __init__(self, client):
super().__init__(client) super().__init__(client)
self.com_config = self.client.get_config(path=os.path.join(client.config["data_folder"], "commands", "config.toml")) self.com_config = Config(path=os.path.join(client.config["data_folder"], "commands", "config.toml"))
self.com_config.register("prefix", factory(c_t.Str)) self.com_config.register("prefix", factory(c_t.Str))
self.config.register("command_text", factory(c_t.Str)) self.config.register("command_text", factory(c_t.Str))

View File

@ -1,10 +1,10 @@
name = "Commands" name = "Commands"
description = "Base class to handle commands" description = "Base class to handle commands"
version = "0.2.0" version = "0.1.0"
bot_version = "~=0.2.0" bot_version = "~=0.1.0"
metamodule = true metamodule = true
[dependencies] [dependencies]
mod_base = "~=1.2.0" mod_base = "~=1.1.0"