File tree Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ type Interaction interface {
56
56
ApplicationID () snowflake.ID
57
57
Token () string
58
58
Version () int
59
- Guild () * InteractionGuild
59
+ PartialGuild () * InteractionGuild
60
60
GuildID () * snowflake.ID
61
61
// Deprecated: Use Interaction.Channel instead
62
62
ChannelID () snowflake.ID
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ func (i baseInteraction) Token() string {
37
37
func (i baseInteraction ) Version () int {
38
38
return i .version
39
39
}
40
- func (i baseInteraction ) Guild () * InteractionGuild {
40
+ func (i baseInteraction ) PartialGuild () * InteractionGuild {
41
41
return i .guild
42
42
}
43
43
func (i baseInteraction ) GuildID () * snowflake.ID {
Original file line number Diff line number Diff line change @@ -63,7 +63,8 @@ func (i PingInteraction) Version() int {
63
63
func (i PingInteraction ) CreatedAt () time.Time {
64
64
return i .id .Time ()
65
65
}
66
- func (PingInteraction ) Guild () * InteractionGuild {
66
+
67
+ func (PingInteraction ) PartialGuild () * InteractionGuild {
67
68
return nil
68
69
}
69
70
You can’t perform that action at this time.
0 commit comments