修复拼写错误并完成文档

This commit is contained in:
2026-03-07 17:43:37 +08:00
parent 230705f689
commit 8f40572a38
3 changed files with 448 additions and 1 deletions

View File

@ -46,7 +46,7 @@ async def get_entity_chain(event: Event) -> list[PermEntity]: # pragma: no cove
entities.append(PermEntity("discord", "global", "global"))
if isinstance(event, DiscordGMEvent):
entities.append(PermEntity("discord", "guilt", str(event.guild_id)))
entities.append(PermEntity("discord", "guild", str(event.guild_id)))
entities.append(PermEntity("discord", "channel", str(event.channel_id)))
entities.append(PermEntity("discord", "user", str(event.user_id)))