else:
bot.msg(user, self.WRONGARGS)
checkargs.__name__ = func.__name__
+ checkargs.__module__ = func.__module__
return checkargs
return realhook
else:
bot.msg(user, self.WRONGARGS)
checkargs.__name__ = func.__name__
+ checkargs.__module__ = func.__module__
return checkargs
return realhook