From 7101f94ff70c2afd4126555ba1e3b3cdc28d627d Mon Sep 17 00:00:00 2001 From: Nova Cat Date: Sun, 17 Nov 2024 15:10:31 -0800 Subject: [PATCH] fix fstring --- sweebot.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sweebot.py b/sweebot.py index aad1702..72e4084 100644 --- a/sweebot.py +++ b/sweebot.py @@ -328,9 +328,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, f"Heyo! Welcome to the channel, {name}") else: - irc.send_irc(channel, "Welcome, {name}") + irc.send_irc(channel, f"Welcome, {name}") elif command[0] == "$perms": if len(command) == 2: