Small Typo 3

This commit is contained in:
Firepup Sixfifty 2024-05-24 12:06:32 -05:00
parent 1feb1e2813
commit ce6dc597ef
Signed by: Firepup650
GPG key ID: 7C92E2ABBBFAB9BA

View file

@ -237,7 +237,7 @@ def setStatus(bot: bare.bot, chan: str, name: str, message: str) -> None:
user, stat, reas = ('', 0, '') user, stat, reas = ('', 0, '')
try: try:
if message.split(' ')[1] == "help": if message.split(' ')[1] == "help":
bot.msg("Assuming you want help with status codes. 1 is Availiable, 2 is Busy, 3 is Unavailable, anything else is Unknown.", chan) bot.msg("Assuming you want help with status codes. 1 is Available, 2 is Busy, 3 is Unavailable, anything else is Unknown.", chan)
return return
message = message.split(' ', 1)[1] message = message.split(' ', 1)[1]
user = message.split(' ')[0].lower() user = message.split(' ')[0].lower()
@ -251,7 +251,7 @@ def setStatus(bot: bare.bot, chan: str, name: str, message: str) -> None:
return return
match stat: match stat:
case 1: case 1:
stat = "Availiable" stat = "Available"
case 2: case 2:
stat = "Busy" stat = "Busy"
case 3: case 3: