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:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
- master
|
||||
tags:
|
||||
- "v*.*.*" # only match version tags like v1.0.0
|
||||
|
||||
|
|
|
|||
|
|
@ -655,10 +655,11 @@ async def status_task(sid: int):
|
|||
for channel in tChannels:
|
||||
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'}"
|
||||
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'}"
|
||||
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)
|
||||
|
||||
await asyncio.sleep(wait)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue