forked from swee/MeowNex
Update sweebot.py
This commit is contained in:
parent
76c48571df
commit
6607cb4014
1 changed files with 3 additions and 3 deletions
|
@ -45,7 +45,7 @@ threading.Thread(target=app.run, daemon=True, kwargs={"port": 2005}).start()
|
|||
# YouTube API
|
||||
DEVELOPER_KEY = environ["ytapi"]
|
||||
headers = {
|
||||
'User-Agent': 'SweeBot IRC ' + __version__
|
||||
'User-Agent': 'MeowNexUS IRC ' + __version__
|
||||
}
|
||||
def get_yt_id(url):
|
||||
query = urlparse(url)
|
||||
|
@ -194,7 +194,7 @@ class bot_irc:
|
|||
|
||||
self.irc_socket.send(
|
||||
bytes(
|
||||
"USER " + bot_nick + " " + bot_nick + " " + bot_nick + " :SweeBot, a very cool bot made by Swee :3\n",
|
||||
"USER " + bot_nick + " " + bot_nick + " " + bot_nick + " :MeowNexUS, a very cool bot made by Swee :3\n",
|
||||
"UTF-8",
|
||||
)
|
||||
)
|
||||
|
@ -599,7 +599,7 @@ while True:
|
|||
|
||||
|
||||
elif command[0] == "$version":
|
||||
irc.send_irc(channel, "This is SweeBot " + __version__)
|
||||
irc.send_irc(channel, "This is MeowNexUS IRC " + __version__)
|
||||
|
||||
elif command[0] == "$figlet":
|
||||
if not sbconfig.cflagexist(channel, "-multiline"):
|
||||
|
|
Loading…
Reference in a new issue