Skip to content
This repository was archived by the owner on Jun 25, 2024. It is now read-only.

Commit 44bd876

Browse files
committed
修正更新排程
1 parent 63b8e1a commit 44bd876

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

cogs/tasks/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ async def update_checker(self):
3535

3636
self.logger.info("Starting update task...")
3737
await self.bot.config.update()
38-
asyncio.sleep(3600) # wait 1 hour
38+
await asyncio.sleep(3660) # wait 1 hour
3939

4040
except asyncio.CancelledError:
4141
self.logger.info("Update task cancelled.")

config.json.example

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"activity": {
44
"type": 3,
55
"prefix": ".help|",
6-
"default_text": "全新改版~☆"
6+
"default_text": "ヤバイわよ!!"
77
},
88
"prefix": ".",
99
"cogs": [

main.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
from utils.state_manger import StateManger, State
1616

1717
__author__ = "IanDesuyo"
18-
__version__ = "3.1.0"
18+
__version__ = "3.1.1"
1919

2020

2121
class AIKyaru(AutoShardedBot):

utils/errors.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ async def create_debug_embed(
164164
try:
165165
raise error
166166
except:
167-
tb = "```\n" + traceback.format_exc(limit=2) + "```"
167+
tb = traceback.format_exc(limit=2)
168168
if len(tb) <= 1000:
169169
embed.add_field(name="Traceback", value=f"```\n{tb}```", inline=False)
170170
else:

0 commit comments

Comments
 (0)