Merge pull request #820 from nolt/feature-bots
(cherry picked from commit b10de0645a869485fbb5771a739abd06b5708c2d)
This commit is contained in:
@@ -38,6 +38,13 @@ public static class PartyRequestHandler
|
||||
return true;
|
||||
}
|
||||
|
||||
if (settings.AutoAcceptAnyone && await Bots.BotPartyHandler.TryScheduleAcceptAsync(receiver, requester).ConfigureAwait(false))
|
||||
{
|
||||
// The actual accept happens shortly afterwards in the bot's own tick (a human-like delay);
|
||||
// all bot-specific safeguards live in the handler, so this stays a thin criteria branch.
|
||||
return true;
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user