Little typo 2
This commit is contained in:
parent
aa0dd3cc22
commit
1feb1e2813
1 changed files with 2 additions and 2 deletions
|
@ -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"]:
|
||||
|
|
Loading…
Reference in a new issue