mirror of
https://github.com/Hessenuk/DiscordTickets.git
synced 2024-12-22 15:53:08 +02:00
fix: disable presence check on public bots
This commit is contained in:
parent
c7d9bbff53
commit
ca09070c66
@ -745,7 +745,7 @@ module.exports = class TicketManager {
|
||||
}
|
||||
|
||||
|
||||
if (working) {
|
||||
if (working && process.env.PUBLIC_BOT !== 'true') {
|
||||
let online = 0;
|
||||
for (const [, member] of channel.members) {
|
||||
if (!await isStaff(channel.guild, member.id)) continue;
|
||||
|
Loading…
Reference in New Issue
Block a user