示例#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())
def setup(bot: shinobu.Shinobu):
    bot.add_cog(CallNotification())
示例#8
0
def setup(bot: shinobu.Shinobu):
    bot.add_cog(Misc())