mirror of
https://github.com/veganhacktivists/arabot.git
synced 2025-05-18 13:04:14 +02:00
feat: turn off the fixer for the roles reassignment
This commit is contained in:
parent
ea211a9111
commit
7918f73e7d
@ -40,7 +40,7 @@ export class FixRolesOnReady extends Listener {
|
||||
// THIS SHOULD BE DISABLED BY DEFAULT
|
||||
// THIS IS ONLY USED FOR RESTORING ROLES TO THE SERVER!
|
||||
// ENABLING THIS UNINTENTIONALLY WILL CAUSE SLOWDOWNS TO THE BOT DUE TO RATE LIMITING!
|
||||
enabled: true,
|
||||
enabled: false,
|
||||
});
|
||||
}
|
||||
|
||||
@ -59,7 +59,7 @@ export class FixRolesOnReady extends Listener {
|
||||
|
||||
// Fetching the channel for the logs
|
||||
// Leave the snowflake parameter empty for no logs
|
||||
const logChannel = await client.channels.fetch('1329152627312824320');
|
||||
const logChannel = await client.channels.fetch('');
|
||||
const sendLogs = logChannel !== null;
|
||||
|
||||
if (!sendLogs) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user