def canSendMessage(self): result, errorMsg = True, '' if cooldown.isBroadcatInCooldown(): result, errorMsg = False, cooldown.BROADCAST_COOL_DOWN_MESSAGE return (result, errorMsg)
def canSendMessage(self): result, errorMsg = True, '' if cooldown.isBroadcatInCooldown(): result, errorMsg = False, cooldown.getBroadcastCoolDownMessage() return (result, errorMsg)