Пример #1
0
def main():
    setup_logging()

    intents = discord.Intents.default()
    intents.members = True
    bot = Shinobu(command_prefix=CONSTANTS.CMD_PREFIX, intents=intents)

    with open('data/TOKEN') as f:
        token = f.readline().strip()
    bot.run(token)
Пример #2
0
def setup(bot: Shinobu):
    bot.add_cog(Economy(bot))
Пример #3
0
def setup(bot: Shinobu):
    bot.add_cog(Shop())
Пример #4
0
def setup(bot: Shinobu):
    bot.add_cog(Trade())
Пример #5
0
def setup(bot: Shinobu):
    bot.add_cog(MyAnimeList())
Пример #6
0
def setup(bot: Shinobu):
    bot.add_cog(Booru())
Пример #7
0
def setup(bot: shinobu.Shinobu):
    bot.add_cog(CallNotification())
Пример #8
0
def setup(bot: shinobu.Shinobu):
    bot.add_cog(Misc())