mirror of
https://github.com/barelyprofessional/KfChatDotNet.git
synced 2026-05-02 12:32:03 -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
|
else
|
||||||
{
|
{
|
||||||
var gambler = await Money.GetGamblerEntityAsync(user.Id, ct: ctx);
|
var gambler = await Money.GetGamblerEntityAsync(targetUser.Id, ct: ctx);
|
||||||
if (gambler == null)
|
if (gambler == null)
|
||||||
{
|
{
|
||||||
await botInstance.SendChatMessageAsync(
|
await botInstance.SendChatMessageAsync(
|
||||||
|
|||||||
Reference in New Issue
Block a user