Skip to content

Commit

Permalink
fix error
Browse files Browse the repository at this point in the history
  • Loading branch information
th0mk committed Jul 18, 2023
1 parent 46c5a8f commit 072c285
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/FMBot.Bot/SlashCommands/ImportSlashCommands.cs
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ public class ImportSlashCommands : InteractionModuleBase
var components = new ComponentBuilder().WithButton(Constants.GetSupporterButton, style: ButtonStyle.Link, url: Constants.GetSupporterDiscordLink);

embed.WithColor(DiscordConstants.InformationColorBlue);
await ReplyAsync(embed: embed.Build(), components: components.Build());
await RespondAsync(embed: embed.Build(), components: components.Build());

this.Context.LogCommandUsed(CommandResponse.NoPermission);
return;
Expand Down Expand Up @@ -260,7 +260,7 @@ public async Task ManageImportAsync()
var components = new ComponentBuilder().WithButton(Constants.GetSupporterButton, style: ButtonStyle.Link, url: Constants.GetSupporterDiscordLink);

embed.WithColor(DiscordConstants.InformationColorBlue);
await ReplyAsync(embed: embed.Build(), components: components.Build());
await RespondAsync(embed: embed.Build(), components: components.Build());

this.Context.LogCommandUsed(CommandResponse.NoPermission);
return;
Expand Down

0 comments on commit 072c285

Please sign in to comment.