def setup(bot):
    print('ref_bot extension loading.')
    dbsession = setup_dbsession()
    importlib.reload(ref_bot.cog.articlerefs)
    bot.remove_command('help')
    bot.add_cog(ref_bot.cog.articlerefs.ArticleRefs(bot, dbsession))
def setup(bot):
    print('ref_bot extension loading.')
    dbsession = setup_dbsession()
    importlib.reload(ref_bot.cog.articlerefs)
    bot.remove_command('help')
    bot.add_cog(ref_bot.cog.articlerefs.ArticleRefs(bot, dbsession))