diff --git a/nonebot/adapters/satori/models.py b/nonebot/adapters/satori/models.py index 0e3b5e5..bfb5f39 100644 --- a/nonebot/adapters/satori/models.py +++ b/nonebot/adapters/satori/models.py @@ -11,9 +11,9 @@ class ChannelType(IntEnum): TEXT = 0 - VOICE = 1 + DIRECT = 1 CATEGORY = 2 - DIRECT = 3 + VOICE = 3 class Channel(BaseModel): diff --git a/pyproject.toml b/pyproject.toml index a02774c..6a3f4e4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "nonebot-adapter-satori" -version = "0.9.1" +version = "0.9.2" description = "Satori Protocol Adapter for Nonebot2" authors = [ {name = "RF-Tar-Railt",email = "rf_tar_railt@qq.com"},