nonebot-plugin-maimaidx 2.0.3__tar.gz → 2.0.4__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.
- {nonebot_plugin_maimaidx-2.0.3 → nonebot_plugin_maimaidx-2.0.4}/PKG-INFO +1 -1
- {nonebot_plugin_maimaidx-2.0.3 → nonebot_plugin_maimaidx-2.0.4}/nonebot_plugin_maimaidx/libraries/maimaidx_music.py +3 -3
- {nonebot_plugin_maimaidx-2.0.3 → nonebot_plugin_maimaidx-2.0.4}/nonebot_plugin_maimaidx.egg-info/PKG-INFO +1 -1
- {nonebot_plugin_maimaidx-2.0.3 → nonebot_plugin_maimaidx-2.0.4}/pyproject.toml +1 -1
- {nonebot_plugin_maimaidx-2.0.3 → nonebot_plugin_maimaidx-2.0.4}/LICENSE +0 -0
- {nonebot_plugin_maimaidx-2.0.3 → nonebot_plugin_maimaidx-2.0.4}/README.md +0 -0
- {nonebot_plugin_maimaidx-2.0.3 → nonebot_plugin_maimaidx-2.0.4}/nonebot_plugin_maimaidx/__init__.py +0 -0
- {nonebot_plugin_maimaidx-2.0.3 → nonebot_plugin_maimaidx-2.0.4}/nonebot_plugin_maimaidx/command/__init__.py +0 -0
- {nonebot_plugin_maimaidx-2.0.3 → nonebot_plugin_maimaidx-2.0.4}/nonebot_plugin_maimaidx/command/mai_alias.py +0 -0
- {nonebot_plugin_maimaidx-2.0.3 → nonebot_plugin_maimaidx-2.0.4}/nonebot_plugin_maimaidx/command/mai_base.py +0 -0
- {nonebot_plugin_maimaidx-2.0.3 → nonebot_plugin_maimaidx-2.0.4}/nonebot_plugin_maimaidx/command/mai_guess.py +0 -0
- {nonebot_plugin_maimaidx-2.0.3 → nonebot_plugin_maimaidx-2.0.4}/nonebot_plugin_maimaidx/command/mai_score.py +0 -0
- {nonebot_plugin_maimaidx-2.0.3 → nonebot_plugin_maimaidx-2.0.4}/nonebot_plugin_maimaidx/command/mai_search.py +0 -0
- {nonebot_plugin_maimaidx-2.0.3 → nonebot_plugin_maimaidx-2.0.4}/nonebot_plugin_maimaidx/command/mai_table.py +0 -0
- {nonebot_plugin_maimaidx-2.0.3 → nonebot_plugin_maimaidx-2.0.4}/nonebot_plugin_maimaidx/config.py +0 -0
- {nonebot_plugin_maimaidx-2.0.3 → nonebot_plugin_maimaidx-2.0.4}/nonebot_plugin_maimaidx/libraries/image.py +0 -0
- {nonebot_plugin_maimaidx-2.0.3 → nonebot_plugin_maimaidx-2.0.4}/nonebot_plugin_maimaidx/libraries/maimaidx_api_data.py +0 -0
- {nonebot_plugin_maimaidx-2.0.3 → nonebot_plugin_maimaidx-2.0.4}/nonebot_plugin_maimaidx/libraries/maimaidx_best_50.py +0 -0
- {nonebot_plugin_maimaidx-2.0.3 → nonebot_plugin_maimaidx-2.0.4}/nonebot_plugin_maimaidx/libraries/maimaidx_error.py +0 -0
- {nonebot_plugin_maimaidx-2.0.3 → nonebot_plugin_maimaidx-2.0.4}/nonebot_plugin_maimaidx/libraries/maimaidx_model.py +0 -0
- {nonebot_plugin_maimaidx-2.0.3 → nonebot_plugin_maimaidx-2.0.4}/nonebot_plugin_maimaidx/libraries/maimaidx_music_info.py +0 -0
- {nonebot_plugin_maimaidx-2.0.3 → nonebot_plugin_maimaidx-2.0.4}/nonebot_plugin_maimaidx/libraries/maimaidx_player_score.py +0 -0
- {nonebot_plugin_maimaidx-2.0.3 → nonebot_plugin_maimaidx-2.0.4}/nonebot_plugin_maimaidx/libraries/maimaidx_update_plate.py +0 -0
- {nonebot_plugin_maimaidx-2.0.3 → nonebot_plugin_maimaidx-2.0.4}/nonebot_plugin_maimaidx/libraries/tool.py +0 -0
- {nonebot_plugin_maimaidx-2.0.3 → nonebot_plugin_maimaidx-2.0.4}/nonebot_plugin_maimaidx/maimaidxhelp.png +0 -0
- {nonebot_plugin_maimaidx-2.0.3 → nonebot_plugin_maimaidx-2.0.4}/nonebot_plugin_maimaidx.egg-info/SOURCES.txt +0 -0
- {nonebot_plugin_maimaidx-2.0.3 → nonebot_plugin_maimaidx-2.0.4}/nonebot_plugin_maimaidx.egg-info/dependency_links.txt +0 -0
- {nonebot_plugin_maimaidx-2.0.3 → nonebot_plugin_maimaidx-2.0.4}/nonebot_plugin_maimaidx.egg-info/requires.txt +0 -0
- {nonebot_plugin_maimaidx-2.0.3 → nonebot_plugin_maimaidx-2.0.4}/nonebot_plugin_maimaidx.egg-info/top_level.txt +0 -0
- {nonebot_plugin_maimaidx-2.0.3 → nonebot_plugin_maimaidx-2.0.4}/setup.cfg +0 -0
|
@@ -547,7 +547,7 @@ class GroupAlias:
|
|
|
547
547
|
self.push.enable.append(gid)
|
|
548
548
|
if gid in self.push.disable:
|
|
549
549
|
self.push.disable.remove(gid)
|
|
550
|
-
await writefile(group_alias_file, self.push.model_dump())
|
|
550
|
+
await writefile(group_alias_file, self.push.model_dump(by_alias=True))
|
|
551
551
|
return '群别名推送功能已开启'
|
|
552
552
|
|
|
553
553
|
async def off(self, gid: int) -> str:
|
|
@@ -556,13 +556,13 @@ class GroupAlias:
|
|
|
556
556
|
self.push.disable.append(gid)
|
|
557
557
|
if gid in self.push.enable:
|
|
558
558
|
self.push.enable.remove(gid)
|
|
559
|
-
await writefile(group_alias_file, self.push.model_dump())
|
|
559
|
+
await writefile(group_alias_file, self.push.model_dump(by_alias=True))
|
|
560
560
|
return '群别名推送功能已关闭'
|
|
561
561
|
|
|
562
562
|
async def alias_global_change(self, set: bool):
|
|
563
563
|
"""修改全局开关"""
|
|
564
564
|
self.push.global_switch = set
|
|
565
|
-
await writefile(group_alias_file, self.push.model_dump())
|
|
565
|
+
await writefile(group_alias_file, self.push.model_dump(by_alias=True))
|
|
566
566
|
|
|
567
567
|
|
|
568
568
|
alias = GroupAlias()
|
|
File without changes
|
|
File without changes
|
{nonebot_plugin_maimaidx-2.0.3 → nonebot_plugin_maimaidx-2.0.4}/nonebot_plugin_maimaidx/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{nonebot_plugin_maimaidx-2.0.3 → nonebot_plugin_maimaidx-2.0.4}/nonebot_plugin_maimaidx/config.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|