Merge pull request 'Test workflow trigger' (#2) from workflow into master
Some checks failed
Build & Deploy MSTBot / Build, push & deploy (push) Failing after 1m9s
Some checks failed
Build & Deploy MSTBot / Build, push & deploy (push) Failing after 1m9s
Reviewed-on: #2
This commit is contained in:
commit
aaefe009ef
2 changed files with 3 additions and 2 deletions
|
|
@ -3,7 +3,7 @@ name: Build & Deploy MSTBot
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- main
|
- master
|
||||||
tags:
|
tags:
|
||||||
- "v*.*.*" # only match version tags like v1.0.0
|
- "v*.*.*" # only match version tags like v1.0.0
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -655,10 +655,11 @@ async def status_task(sid: int):
|
||||||
for channel in tChannels:
|
for channel in tChannels:
|
||||||
await channel.delete()
|
await channel.delete()
|
||||||
|
|
||||||
|
timestamp = datetime.now(timezone.utc).strftime("%H:%M:%S")
|
||||||
ip_channel_str = f"IP: {str(await limiter.get_time_remaining(iChannels[0].id)) if len(iChannels) else 'N/A'}"
|
ip_channel_str = f"IP: {str(await limiter.get_time_remaining(iChannels[0].id)) if len(iChannels) else 'N/A'}"
|
||||||
p_channel_str = f"P: {str(await limiter.get_time_remaining(pChannels[0].id)) if len(pChannels) else 'N/A'}"
|
p_channel_str = f"P: {str(await limiter.get_time_remaining(pChannels[0].id)) if len(pChannels) else 'N/A'}"
|
||||||
t_channel_str = f"T: {str(await limiter.get_time_remaining(tChannels[0].id)) if len(tChannels) else 'N/A'}"
|
t_channel_str = f"T: {str(await limiter.get_time_remaining(tChannels[0].id)) if len(tChannels) else 'N/A'}"
|
||||||
print(currServ.name, "Query:", ip, p_str_temp, datetime.now(timezone.utc).strftime("%H:%M:%S"),
|
print(currServ.name, "Query:", ip, p_str_temp, timestamp,
|
||||||
str(deltaSeconds), ip_channel_str, p_channel_str, t_channel_str)
|
str(deltaSeconds), ip_channel_str, p_channel_str, t_channel_str)
|
||||||
|
|
||||||
await asyncio.sleep(wait)
|
await asyncio.sleep(wait)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue