1
0
Fork 0
forked from swee/MeowNex

fix fstring

This commit is contained in:
Nova Cat 2024-11-17 15:10:31 -08:00
parent 41ed4a1090
commit 7101f94ff7

View file

@ -328,9 +328,9 @@ while True:
elif command[0] == "$welcome": elif command[0] == "$welcome":
name = nick if not len(command) > 1 else " ".join(command[1:]) name = nick if not len(command) > 1 else " ".join(command[1:])
if random(1,2) == 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: else:
irc.send_irc(channel, "Welcome, {name}") irc.send_irc(channel, f"Welcome, {name}")
elif command[0] == "$perms": elif command[0] == "$perms":
if len(command) == 2: if len(command) == 2: