Example #1
0
                        where=where,
                        message=original_message,
                        embed=embed,
                        can_pm=can_pm,
                        force_pm=force_pm,
                        mention=mention,
                        try_=try_ + 1,
                        return_message=return_message)


bot = DuckHunt(command_prefix=get_prefix, case_insensitive=True)

logger.debug("Configuring the bot")

from cogs.helpers.config import config
config(bot)
bot.base_logger = base_logger
bot.logger = logger

logger.debug("Loading the BG loop :")
from cogs import spawning
bot.loop.create_task(spawning.background_loop(bot))

logger.debug("> Loading complete")

logger.debug("Loading cogs : ")

######################
#                 |  #
#   ADD COGS HERE |  #
#                 V  #
Example #2
0
 def __init__(self, command_prefix, **options):
     super().__init__(command_prefix, **options)
     config(self)