mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 04:56:49 +00:00
fix(bot): only update discord status when gateway is enabled
This commit is contained in:
parent
094ddbcea2
commit
63d9b411ae
1 changed files with 1 additions and 1 deletions
|
|
@ -282,7 +282,7 @@ public class Bot
|
|||
_logger.Debug("Running once-per-minute scheduled tasks");
|
||||
|
||||
// Check from a new custom status from Redis and update Discord accordingly
|
||||
if (true)
|
||||
if (!_config.DisableGateway)
|
||||
{
|
||||
var newStatus = await _redis.Connection.GetDatabase().StringGetAsync("pluralkit:botstatus");
|
||||
if (newStatus != CustomStatusMessage)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue