def f_reload(bot, trigger):
    """Reloads a module (for use by admins only)."""
    name = trigger.group(2)

    if not name or name == '*' or name.upper() == 'ALL THE THINGS':
        bot.reload_plugins()
        return bot.reply('done')

    if not bot.has_plugin(name):
        return bot.reply('"%s" not loaded, try the `load` command' % name)

    bot.reload_plugin(name)
    return bot.reply('done: %s reloaded' % name)