2
2
# -*- coding: utf-8 -*-
3
3
#@uthor b3zi / lucamayer
4
4
#telegram: @zeppel
5
- #github.com/b3zi /fimogram
5
+ #github.com/zeppelsoftware /fimogram
6
6
#!Linux base application
7
7
import re
8
8
from telegram .ext import Updater , CommandHandler , MessageHandler , Filters
@@ -27,7 +27,7 @@ def start(bot, update):
27
27
userid = int (format (update .message .from_user ['id' ]))
28
28
print userid
29
29
print telegramID
30
- update .message .reply_text ('Whatup :D networkmonitoring bot by b3zi (C) github.com/b3zi /fimogram ' )
30
+ update .message .reply_text ('Whatup :D networkmonitoring bot by b3zi (C) github.com/zeppelsoftware /fimogram ' )
31
31
if userid != telegramID :
32
32
update .message .reply_text ('Hello ' + starter + '. I am sorry, you are not the hoster of this bot. That is the reason why you are blocked from now on.' )
33
33
@@ -103,15 +103,15 @@ def isOnline(bot, update, args, job_queue, chat_data):
103
103
bot .sendMessage (telegramID , device + " is not available." )
104
104
105
105
def help (bot , update ):
106
- update .message .reply_text ('FIMOGRAM - github.com/b3zi /fimogram - Simply text @lucamayer for help' )
106
+ update .message .reply_text ('FIMOGRAM - github.com/zeppelsoftware /fimogram - Simply text @lucamayer for help' )
107
107
if int (format (update .message .from_user ['id' ])) != telegramID :
108
108
#ignore
109
109
print "unknown user"
110
110
else :
111
111
bot .sendMessage (telegramID , 'Available commands: \n /start - start bot\n /sscan - simple network scan\n /ascan - advanced network scan\n /fscan - full network scan\n /check [hostname/IP/WebURL] - Check if a device is online.' )
112
112
113
113
def echo (bot , update ):
114
- update .message .reply_text ('Sorry, please use /help or check on github.com/b3zi /fimogram' )
114
+ update .message .reply_text ('Sorry, please use /help or check on github.com/zeppelsoftware /fimogram' )
115
115
116
116
def error (bot , update , error ):
117
117
logger .warning ('Update "%s" caused error "%s"' , update , error )
0 commit comments