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