discord.js-selfbot-v13 icon indicating copy to clipboard operation
discord.js-selfbot-v13 copied to clipboard

Cache system / ram usage

Open zrSadek opened this issue 7 months ago • 9 comments

Which package has the bugs?

The core library

Issue description

Hi, i think the sweepers etc dont work bcs i always have a big ram usage on simple code if i let them run for many hours, i tried many thing like makecache options, sweepers etc (the code below is not mine i found it on an other issue)

Code sample

const { Client, Options } = require("discord.js-selfbot-v13");
const client = new Client({
  disableEveryone: true,
  sweepers: {
    ...Options.DefaultSweeperSettings,
    messages: {
      interval: 3_600, // Every hour.
      lifetime: 1_800, // Remove messages older than 30 minutes.
    },
  },
});

Package version

latest

Node.js version

18*

Operating system

W11

Priority this issue should have

High (immediate attention needed if possible)

Checklist

  • [X] I have searched the open issues for duplicates.
  • [X] I have shared the entire traceback.
  • [X] I am using a user token (and it isn't visible in the code).

Additional Information

none

zrSadek avatar Jul 22 '24 21:07 zrSadek