Skip to content

Releases

2.1.1

Choose a tag to compare

@RoachLin RoachLin released this 01 Jan 12:07
e694c39

删除无用代码
remove unused code

2.1.0

Choose a tag to compare

@RoachLin RoachLin released this 13 Dec 07:11

适配投票直播(live_status=3)的情况

add if-else for live stream vote (live_status=3)

2.0.0

Choose a tag to compare

@RoachLin RoachLin released this 19 Jun 09:46
20091cb

重构代码

Refactor the code

1.0.2

Choose a tag to compare

@RoachLin RoachLin released this 25 Aug 07:00

已修复:已修复以下错误,原因是两个 time 库名称冲突。
Fixed: The following error has been fixed due to a conflict between two time libraries.

Job "check_showroom_status (trigger: cron[second='0'], next run at: 2024-08-25 11:56:00 CST)" raised an exception
Traceback (most recent call last):
File "/home/lin/Downloads/venv/lib/python3.12/site-packages/apscheduler/executors/base_py3.py", line 30, in run_coroutine_job
retval = await job.func(*job.args, **job.kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/lin/Downloads/idol_bot/main.py", line 146, in check_showroom_status
if time.time() - showroom_end_time_list[i] > 5 * 60:
^^^^^^^^^
AttributeError: type object 'datetime.time' has no attribute 'time'

1.0.1

Choose a tag to compare

@RoachLin RoachLin released this 24 Aug 14:47
  1. 更改:更新 README
  2. 更改:减少凌晨时的开播状态检查次数

  1. Changed: Update README
  2. Changed: Reduce the frequency of live status checks during early morning hours

1.0.0

Choose a tag to compare

@RoachLin RoachLin released this 21 Aug 16:18

使用Python重写,代码模块化,便于日后添加新功能。
主要用到以下技术:

  1. 异步
  2. 并发
  3. 定时任务
  4. 消息队列

Rewrite the code using Python with modular design, making it easier to add new features in the future. The code should mainly use the following technologies:

  1. Asynchronous programming
  2. Concurrency
  3. Scheduled tasks
  4. Message queue

0.0.1

Choose a tag to compare

@RoachLin RoachLin released this 21 Aug 14:05

旧版Autox.js代码转换成的Python代码,仅作存档使用。
This Python code is converted from the old Autox.js code and is only an archive.