Ejemplo n.º 1
0
 def canSendMessage(self):
     result, errorMsg = True, ''
     if cooldown.isBroadcatInCooldown():
         result, errorMsg = False, cooldown.BROADCAST_COOL_DOWN_MESSAGE
     return (result, errorMsg)
Ejemplo n.º 2
0
 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)