From a6f0c9f1d9f228a9145b250df4f0f4808317ff86 Mon Sep 17 00:00:00 2001 From: Depresst0 Date: Sun, 17 Nov 2024 14:53:19 -0800 Subject: [PATCH] Update sweebot.py --- sweebot.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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: