This commit is contained in:
jxxghp
2025-06-15 16:31:09 +08:00
parent be8054e81e
commit 8672bd12c4
2 changed files with 2 additions and 3 deletions
+1 -1
View File
@@ -285,7 +285,7 @@ class ChannelCapabilityManager:
获取每行最大按钮数
"""
channel_caps = cls.get_capabilities(channel)
return channel_caps.max_buttons_per_row if channel_caps else 1
return channel_caps.max_buttons_per_row if channel_caps else 4
@classmethod
def get_max_button_rows(cls, channel: MessageChannel) -> int: