forked from Firepup650/FireBot
Small Typo 3
This commit is contained in:
parent
1feb1e2813
commit
ce6dc597ef
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 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:
|
||||||
|
|
Loading…
Reference in a new issue