1
0
Fork 0
forked from swee/MeowNex

Update sweebot.py

This commit is contained in:
Nova Cat 2024-12-27 01:03:15 -08:00
parent 76c48571df
commit 6607cb4014

View file

@ -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"):