forked from swee/MeowNex
Update sweebot.py
This commit is contained in:
parent
f891c2f7a1
commit
a6f0c9f1d9
1 changed files with 2 additions and 2 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue