Little typo 2

This commit is contained in:
Firepup Sixfifty 2024-05-23 23:47:40 -05:00
parent aa0dd3cc22
commit 1feb1e2813
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, '')
try:
if message.split(' ')[1] == "help":
bot.msg("Assuming you want help with status codes. 1 is Availiable, 2 is Busy, 3 is Unavailiable, anything else is Unknown.", chan)
bot.msg("Assuming you want help with status codes. 1 is Availiable, 2 is Busy, 3 is Unavailable, anything else is Unknown.", chan)
return
message = message.split(' ', 1)[1]
user = message.split(' ')[0].lower()
@ -255,7 +255,7 @@ def setStatus(bot: bare.bot, chan: str, name: str, message: str) -> None:
case 2:
stat = "Busy"
case 3:
stat = "Unavailiable"
stat = "Unavailable"
case _:
stat = "Unknown"
if user in ["me", "my", "I"]: