From 46dc004fe053bfb4ea92412e2e91d978cffb3ca9 Mon Sep 17 00:00:00 2001 From: Depresst0 Date: Fri, 15 Nov 2024 18:11:52 -0800 Subject: [PATCH] Made $Welcome better! --- sweebot.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/sweebot.py b/sweebot.py index dc679d3..8091ead 100644 --- a/sweebot.py +++ b/sweebot.py @@ -326,8 +326,11 @@ while True: else: irc.send_irc(channel, nick + ": " + username) - elif command[0] == "$Welcome": - irc.send_irc(channel, "welcome, " + command[1]) + elif command[0] == "$welcome": + if random(1,2) == 1: + irc.send_irc(channel, "Heyo! Welcome to the channel," + command[1]) + else: + irc.send_irc(channel, "Welcome, " + command[1]) elif command[0] == "$perms": if len(command) == 2: