fstopの引数が間違っていたのを修正
This commit is contained in:
parent
aeb9553113
commit
c9b7259728
1 changed files with 1 additions and 1 deletions
|
@ -341,7 +341,7 @@ class Bot(discord.Client):
|
||||||
if len(msg_split) == 1:
|
if len(msg_split) == 1:
|
||||||
await message.channel.send("PC番号を指定してください。")
|
await message.channel.send("PC番号を指定してください。")
|
||||||
elif len(msg_split) == 2:
|
elif len(msg_split) == 2:
|
||||||
fstop = self.force_stop(msg_split[1])
|
fstop = self.force_stop(pc_number=msg_split[1])
|
||||||
if fstop["result"] == "ok":
|
if fstop["result"] == "ok":
|
||||||
await message.channel.send(f"PC番号 {msg_split[1]} の使用登録を解除しました。")
|
await message.channel.send(f"PC番号 {msg_split[1]} の使用登録を解除しました。")
|
||||||
elif fstop["result"] == "not_used":
|
elif fstop["result"] == "not_used":
|
||||||
|
|
Loading…
Reference in a new issue