Skip to content

Commit

Permalink
🚑 avoid variable pollution
Browse files Browse the repository at this point in the history
  • Loading branch information
KomoriDev committed Feb 23, 2024
1 parent 5a69cb7 commit b2fbdf9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions nonebot_plugin_kawaii_status/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@

from nonebot.rule import Rule
from nonebot.permission import SUPERUSER
from nonebot.plugin import PluginMetadata
from nonebot import require, get_plugin_config
from nonebot.plugin import PluginMetadata, inherit_supported_adapters

require("nonebot_plugin_alconna")
from nonebot_plugin_alconna import Command
from nonebot_plugin_alconna.uniseg import UniMessage
from nonebot_plugin_alconna import Command, __plugin_meta__

from .config import Config, ScopedConfig

Expand All @@ -19,7 +19,7 @@
type="application",
homepage="https://github.com/KomoriDev/nonebot-plugin-kawaii-status",
config=Config,
supported_adapters=__plugin_meta__.supported_adapters,
supported_adapters=inherit_supported_adapters("nonebot_plugin_alconna"),
extra={
"unique_name": "KaWaii Status",
"example": "/status",
Expand Down

0 comments on commit b2fbdf9

Please sign in to comment.