mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 13:06:50 +00:00
Properly retry client creation on failure
This commit is contained in:
parent
5b13c1b100
commit
17c8b7b765
2 changed files with 34 additions and 9 deletions
|
|
@ -91,7 +91,7 @@ namespace PluralKit.Bot
|
|||
});
|
||||
}
|
||||
|
||||
private bool IsWebhookMine(IWebhook arg) => arg.Id == _client.CurrentUser.Id && arg.Name == WebhookName;
|
||||
private bool IsWebhookMine(IWebhook arg) => arg.Creator.Id == _client.CurrentUser.Id && arg.Name == WebhookName;
|
||||
|
||||
public int CacheSize => _webhooks.Count;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue