Example #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)
Example #2
0
def setup(bot: Shinobu):
    bot.add_cog(Economy(bot))
Example #3
0
def setup(bot: Shinobu):
    bot.add_cog(Shop())
Example #4
0
def setup(bot: Shinobu):
    bot.add_cog(Trade())
Example #5
0
def setup(bot: Shinobu):
    bot.add_cog(MyAnimeList())
Example #6
0
def setup(bot: Shinobu):
    bot.add_cog(Booru())
def setup(bot: shinobu.Shinobu):
    bot.add_cog(CallNotification())
Example #8
0
def setup(bot: shinobu.Shinobu):
    bot.add_cog(Misc())