Пример #1
0
def setup(bot: commands.bot.Bot):
    check_folders()
    check_files()
    n = Customjoinleave(bot)
    bot.add_listener(n.voice_state_update, "on_voice_state_update")

    bot.add_cog(n)
Пример #2
0
def setup(bot: commands.bot.Bot):
    check_folders()
    check_files()
    n = Membership(bot)
    bot.add_listener(n.member_join, "on_member_join")
    bot.add_listener(n.member_leave, "on_member_remove")
    bot.add_listener(n.member_ban, "on_member_ban")
    bot.add_listener(n.member_unban, "on_member_unban")

    bot.add_cog(n)
Пример #3
0
def setup(bot: commands.bot.Bot):
    check_folders()
    check_files()

    bot.add_cog(RandGame(bot))
Пример #4
0
def setup(bot: commands.bot.Bot) -> None:
    """Sets up the cog."""
    bot.add_cog(AnimalCog(bot))
Пример #5
0
def setup(bot: commands.bot.Bot):
    bot.add_cog(Playsound(bot))
Пример #6
0
def setup(bot: commands.bot.Bot):
    bot.add_cog(Randimals(bot))
Пример #7
0
def setup(bot: commands.bot.Bot):
    check_folders()
    check_files()

    bot.add_cog(Reviewemoji(bot))
Пример #8
0
def setup(bot: commands.bot.Bot):
    bot.add_cog(Catfact(bot))
Пример #9
0
def setup(bot: commands.bot.Bot):
    bot.add_cog(Massdm(bot))
Пример #10
0
def setup(bot: commands.bot.Bot):
    check_folders()
    check_files()
    bot.add_cog(Quotes(bot))
Пример #11
0
def setup(bot: commands.bot.Bot):
    bot.add_cog(Say(bot))
Пример #12
0
def setup(bot: commands.bot.Bot):
    bot.add_cog(Voice(bot))