diff options
Diffstat (limited to 'config/channel.go')
| -rw-r--r-- | config/channel.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/config/channel.go b/config/channel.go index 5cc88aa..a015aef 100644 --- a/config/channel.go +++ b/config/channel.go @@ -21,7 +21,7 @@ const ( ) func HandleModifyFallbackChannel(ctx context.Context, dg bot.Session, i *interaction.MessageComponent) bool { - cfg := GetGuildConfig(ctx, i.GuildID) + cfg := GetGuild(ctx, i.GuildID) var channelID uint64 if len(i.Data.Values) > 0 { var err error @@ -40,7 +40,7 @@ func HandleModifyFallbackChannel(ctx context.Context, dg bot.Session, i *interac } func HandleModifyDisChannel(ctx context.Context, dg bot.Session, i *interaction.MessageComponent) bool { - cfg := GetGuildConfig(ctx, i.GuildID) + cfg := GetGuild(ctx, i.GuildID) cfg.DisabledChannels = strings.Join(i.Data.Values, ";") err := cfg.Save(ctx) if err != nil { |
