Skip to content

Commit

Permalink
fix blocking users in affinity
Browse files Browse the repository at this point in the history
  • Loading branch information
th0mk committed Jun 21, 2023
1 parent 5929567 commit 68caa1a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 0 additions & 3 deletions src/FMBot.Bot/FMBot.Bot.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -70,15 +70,12 @@
<ProjectReference Include="..\FMBot.Domain\FMBot.Domain.csproj" />
<ProjectReference Include="..\FMBot.Images\FMBot.Images.csproj" />
<ProjectReference Include="..\FMBot.LastFM.Domain\FMBot.LastFM.Domain.csproj" />
<ProjectReference Include="..\FMBot.OpenCollective\FMBot.Subscriptions.csproj" />
<ProjectReference Include="..\FMBot.Persistence\FMBot.Persistence.csproj" />
<ProjectReference Include="..\FMBot.Persistence.Domain\FMBot.Persistence.Domain.csproj" />
<ProjectReference Include="..\FMBot.Persistence.EntityFrameWork\FMBot.Persistence.EntityFrameWork.csproj" />
<ProjectReference Include="..\FMBot.Logger\FMBot.Logger.csproj" />
<ProjectReference Include="..\FMBot.LastFM\FMBot.LastFM.csproj" />
<ProjectReference Include="..\FMBot.Subscriptions\FMBot.Subscriptions.csproj" />
<ProjectReference Include="..\FMBot.Youtube\FMBot.Youtube.csproj" />
<ProjectReference Include="..\FMBot.Logger\FMBot.Logger.csproj" />
</ItemGroup>
<ItemGroup>
<Folder Include="Models\Modals\" />
Expand Down
2 changes: 1 addition & 1 deletion src/FMBot.Bot/TextCommands/LastFM/ArtistCommands.cs
Original file line number Diff line number Diff line change
Expand Up @@ -597,7 +597,7 @@ public async Task AffinityAsync([Remainder] string extraOptions = null)

var contextUser = await this._userService.GetUserSettingsAsync(this.Context.User);
var prfx = this._prefixService.GetPrefix(this.Context.Guild?.Id);
var guild = await this._guildService.GetGuildAsync(this.Context.Guild.Id);
var guild = await this._guildService.GetGuildForWhoKnows(this.Context.Guild.Id);

try
{
Expand Down

0 comments on commit 68caa1a

Please sign in to comment.