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, '')
|
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 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
|
return
|
||||||
message = message.split(' ', 1)[1]
|
message = message.split(' ', 1)[1]
|
||||||
user = message.split(' ')[0].lower()
|
user = message.split(' ')[0].lower()
|
||||||
|
@ -255,7 +255,7 @@ def setStatus(bot: bare.bot, chan: str, name: str, message: str) -> None:
|
||||||
case 2:
|
case 2:
|
||||||
stat = "Busy"
|
stat = "Busy"
|
||||||
case 3:
|
case 3:
|
||||||
stat = "Unavailiable"
|
stat = "Unavailable"
|
||||||
case _:
|
case _:
|
||||||
stat = "Unknown"
|
stat = "Unknown"
|
||||||
if user in ["me", "my", "I"]:
|
if user in ["me", "my", "I"]:
|
||||||
|
|
Loading…
Reference in a new issue