mirror of
https://github.com/barelyprofessional/KfChatDotNet.git
synced 2026-05-02 04:22:04 -04:00
Use the target instead of whoever is running the command
This commit is contained in:
@@ -68,7 +68,7 @@ public class LegitCheckCommand : ICommand
|
||||
}
|
||||
else
|
||||
{
|
||||
var gambler = await Money.GetGamblerEntityAsync(user.Id, ct: ctx);
|
||||
var gambler = await Money.GetGamblerEntityAsync(targetUser.Id, ct: ctx);
|
||||
if (gambler == null)
|
||||
{
|
||||
await botInstance.SendChatMessageAsync(
|
||||
|
||||
Reference in New Issue
Block a user