1
0
Fork 0
forked from swee/MeowNex

Update sweebot.py

This commit is contained in:
James Ricketts 2024-11-17 14:53:19 -08:00
parent f891c2f7a1
commit a6f0c9f1d9

View file

@ -329,9 +329,9 @@ while True:
elif command[0] == "$welcome":
name = nick if not len(command) > 1 else " ".join(command[1:])
if random(1,2) == 1:
irc.send_irc(channel, "Heyo! Welcome to the channel," + {name})
irc.send_irc(channel, "Heyo! Welcome to the channel," + [name])
else:
irc.send_irc(channel, "Welcome, " + {name})
irc.send_irc(channel, "Welcome, " + [name])
elif command[0] == "$perms":
if len(command) == 2: