関数の名前ミスを修正
This commit is contained in:
parent
6ea299f661
commit
1cd58404c6
1 changed files with 1 additions and 1 deletions
|
@ -1153,7 +1153,7 @@ async def button_init(interaction: discord.Interaction, text_channel: discord.Te
|
||||||
async def run():
|
async def run():
|
||||||
print("Botを起動します...")
|
print("Botを起動します...")
|
||||||
monitor = Monitor(search_frequency=dislocker.server_config["bot"]["monitor"]["search_frequency"], allowable_time=dislocker.server_config["bot"]["monitor"]["allowable_time"], fstop_time=dislocker.server_config["bot"]["monitor"]["fstop_time"])
|
monitor = Monitor(search_frequency=dislocker.server_config["bot"]["monitor"]["search_frequency"], allowable_time=dislocker.server_config["bot"]["monitor"]["allowable_time"], fstop_time=dislocker.server_config["bot"]["monitor"]["fstop_time"])
|
||||||
monitor_task = asyncio.create_task(monitor.start())
|
monitor_task = asyncio.create_task(monitor.search())
|
||||||
client_task = asyncio.create_task(client.run(dislocker.server_config["bot"]["token"]))
|
client_task = asyncio.create_task(client.run(dislocker.server_config["bot"]["token"]))
|
||||||
await asyncio.gather(monitor_task, client_task)
|
await asyncio.gather(monitor_task, client_task)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue