dcchbot 1.9.6__py3-none-any.whl → 1.9.7__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- dcchbot/__init__.py +1 -1
- dcchbot/main.py +3 -3
- {dcchbot-1.9.6.dist-info → dcchbot-1.9.7.dist-info}/METADATA +1 -1
- dcchbot-1.9.7.dist-info/RECORD +9 -0
- dcchbot-1.9.6.dist-info/RECORD +0 -9
- {dcchbot-1.9.6.dist-info → dcchbot-1.9.7.dist-info}/WHEEL +0 -0
- {dcchbot-1.9.6.dist-info → dcchbot-1.9.7.dist-info}/entry_points.txt +0 -0
- {dcchbot-1.9.6.dist-info → dcchbot-1.9.7.dist-info}/licenses/LICENSE +0 -0
- {dcchbot-1.9.6.dist-info → dcchbot-1.9.7.dist-info}/top_level.txt +0 -0
dcchbot/__init__.py
CHANGED
dcchbot/main.py
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# v1.9.
|
1
|
+
# v1.9.7 main.py
|
2
2
|
import logging
|
3
3
|
import os
|
4
4
|
import queue
|
@@ -14,14 +14,14 @@ from discord.utils import utcnow
|
|
14
14
|
import random as rd
|
15
15
|
global latest_version
|
16
16
|
package = "dcchbot"
|
17
|
-
CURRENT_VERSION = "1.9.
|
17
|
+
CURRENT_VERSION = "1.9.7"
|
18
18
|
API_PYPI_URL = f"https://pypi.org/pypi/{package}/json"
|
19
19
|
API_MY_URL = "10.112.101.32:194/dcchbot.json"
|
20
20
|
API_URL = None
|
21
21
|
test = rd.random()
|
22
22
|
ttt = time.time()
|
23
23
|
tb = tb
|
24
|
-
now_version =
|
24
|
+
now_version = CURRENT_VERSION
|
25
25
|
def choose_api_url():
|
26
26
|
"""優先使用內網 API,失敗則 fallback 到 PyPI"""
|
27
27
|
try:
|
@@ -0,0 +1,9 @@
|
|
1
|
+
dcchbot/__init__.py,sha256=oJwa-IhxSkAOYGcu_k4W1c3RKcdifXrrNDNoNU6gVh8,128
|
2
|
+
dcchbot/__main__.py,sha256=5FwoJspcKFt5_1AlXoxlWROiQSp9wgnFEltU6ufz9QE,30
|
3
|
+
dcchbot/main.py,sha256=VLef8AoheGNVfpLcnC66Gt6fHBZHsHFdHPXCAIqHoIQ,28823
|
4
|
+
dcchbot-1.9.7.dist-info/licenses/LICENSE,sha256=_5HM5sddbG63Amw1X9WfCK-_5xBLHlAV_HaUKBqeTpE,1063
|
5
|
+
dcchbot-1.9.7.dist-info/METADATA,sha256=A8h_FuNV5R6Z4VDtFFwX6-UUOYvsj0-SSNUSpGRuaLY,448
|
6
|
+
dcchbot-1.9.7.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
7
|
+
dcchbot-1.9.7.dist-info/entry_points.txt,sha256=90T16CGc_Tx-4pFaLCcbuuh7Vi9l4gsLovBkydqxP9Y,45
|
8
|
+
dcchbot-1.9.7.dist-info/top_level.txt,sha256=jiDTz8UmwZgXN9KzokwDRYhoWxsVmWcnqmrANeTFMck,8
|
9
|
+
dcchbot-1.9.7.dist-info/RECORD,,
|
dcchbot-1.9.6.dist-info/RECORD
DELETED
@@ -1,9 +0,0 @@
|
|
1
|
-
dcchbot/__init__.py,sha256=3CQ_mYeLwfcDIpVOLaYHnnabSEmY6GJtWc37V5gRKwk,129
|
2
|
-
dcchbot/__main__.py,sha256=5FwoJspcKFt5_1AlXoxlWROiQSp9wgnFEltU6ufz9QE,30
|
3
|
-
dcchbot/main.py,sha256=9AHZOLHPITGN6T3Bfz4upeG4f3JsoIUATmtDbPPT4OM,28822
|
4
|
-
dcchbot-1.9.6.dist-info/licenses/LICENSE,sha256=_5HM5sddbG63Amw1X9WfCK-_5xBLHlAV_HaUKBqeTpE,1063
|
5
|
-
dcchbot-1.9.6.dist-info/METADATA,sha256=hhz7NvI1A1Zs0aBdDbX82ogCff-x419gc2MltlZwzEs,448
|
6
|
-
dcchbot-1.9.6.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
7
|
-
dcchbot-1.9.6.dist-info/entry_points.txt,sha256=90T16CGc_Tx-4pFaLCcbuuh7Vi9l4gsLovBkydqxP9Y,45
|
8
|
-
dcchbot-1.9.6.dist-info/top_level.txt,sha256=jiDTz8UmwZgXN9KzokwDRYhoWxsVmWcnqmrANeTFMck,8
|
9
|
-
dcchbot-1.9.6.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|