diff --git a/sweebot.py b/sweebot.py index 8e5c364..e4c1d41 100644 --- a/sweebot.py +++ b/sweebot.py @@ -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: