コード例 #1
0
ファイル: presence.py プロジェクト: Urumasi/rubbergod
    def __init__(self, bot: Bot):
        super().__init__(bot)
        self.git = Git()

        self.activity = discord.Game(
            start=datetime.datetime.utcnow(),
            name=config.default_prefix + 'god'
            f' | Running hash {self.git.short_hash()}')
コード例 #2
0
ファイル: system.py プロジェクト: janch32/rubbergod
    def __init__(self, bot):
        self.bot = bot
        self.git = Git()

        self.unloadable_cogs = ['system']
コード例 #3
0
ファイル: help.py プロジェクト: solumath/rubbergod
 def __init__(self, bot):
     self.bot = bot
     self.git = Git()