mirror of
https://github.com/Hessenuk/DiscordTickets.git
synced 2024-11-05 04:13:08 +02:00
fix: activity name update (#503)
Signed-off-by: Vin <28811713+VinDotRun@users.noreply.github.com>
This commit is contained in:
parent
17b68e997b
commit
12c4c96c1f
@ -75,7 +75,7 @@ module.exports = class extends Listener {
|
||||
};
|
||||
await client.keyv.set(cacheKey, cached, ms('15m'));
|
||||
}
|
||||
const activity = client.config.presence.activities[next];
|
||||
const activity = { ...client.config.presence.activities[next] };
|
||||
activity.name = activity.name
|
||||
.replace(/{+avgResolutionTime}+/gi, cached.avgResolutionTime)
|
||||
.replace(/{+avgResponseTime}+/gi, cached.avgResponseTime)
|
||||
|
Loading…
Reference in New Issue
Block a user