forked from swee/MeowNex
fix fstring
This commit is contained in:
parent
41ed4a1090
commit
7101f94ff7
1 changed files with 2 additions and 2 deletions
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue