dcchbot 1.9.6__tar.gz → 1.9.7__tar.gz

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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: dcchbot
3
- Version: 1.9.6
3
+ Version: 1.9.7
4
4
  Summary: 一個簡單的中文 Discord 管理機器人,支援 GUI 按鈕封鎖/禁言/警告
5
5
  Author-email: I_am_from_taiwan <102109040j@gmail.com>
6
6
  License: MIT
@@ -1,6 +1,6 @@
1
1
  #init
2
2
  from .main import run
3
- cu_ver = "1.9.6 "
3
+ cu_ver = "1.9.7"
4
4
  print(f"Discord chinese bot v.{cu_ver} ok")
5
5
  print("by I_am_from_taiwan")
6
6
  run()
@@ -1,4 +1,4 @@
1
- # v1.9.4 main.py
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.6"
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 = latest_version
24
+ now_version = CURRENT_VERSION
25
25
  def choose_api_url():
26
26
  """優先使用內網 API,失敗則 fallback 到 PyPI"""
27
27
  try:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: dcchbot
3
- Version: 1.9.6
3
+ Version: 1.9.7
4
4
  Summary: 一個簡單的中文 Discord 管理機器人,支援 GUI 按鈕封鎖/禁言/警告
5
5
  Author-email: I_am_from_taiwan <102109040j@gmail.com>
6
6
  License: MIT
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "dcchbot"
3
- version = "1.9.6"
3
+ version = "1.9.7"
4
4
  description = "一個簡單的中文 Discord 管理機器人,支援 GUI 按鈕封鎖/禁言/警告 "
5
5
  readme = "README.md"
6
6
  license = {text = "MIT"}
File without changes
File without changes
File without changes
File without changes