Skip to content

Commit d76c09f

Browse files
chore: add more typings to GuildCommandInteraction (#580)
1 parent 72d8e47 commit d76c09f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

disnake/interactions/application_command.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,9 +174,11 @@ class GuildCommandInteraction(ApplicationCommandInteraction):
174174
Additionally, annotations of some attributes are modified to match the expected types in guilds.
175175
"""
176176

177+
author: Member
177178
guild: Guild
178-
me: Member
179+
guild_id: int
179180
guild_locale: Locale
181+
me: Member
180182

181183

182184
class UserCommandInteraction(ApplicationCommandInteraction):

0 commit comments

Comments
 (0)