def register(name, function):
    if name in commands:
        print("Warning: Duplicate command: %s"  % name)
    commands[name] = function
Register a function as an IRC command
dataset/ETHPy150Open sbp/duxlot/functions.py/register