예제 #1
0
def get_public_ip(message):
    log.info("Handling command get public ip - %s" % message.text)
    bot.reply_to(message, utils.get_public_ip())
예제 #2
0
def get_public_ip(message):
    log.info("Handling command get public ip - %s" % message.text)
    bot.reply_to(message, utils.get_public_ip())
예제 #3
0
 def test_get_public_ip(self):
     self.assertRegex(utils.get_public_ip(), self.ip_regex)