#development

1 messages ยท Page 1883 of 1

earnest phoenix
#

lemme go make a quick polyfill for split brb

#

but first, should I use mongoose

quartz kindle
#

jenious

earnest phoenix
#

jeSus

quartz kindle
#

sus

earnest phoenix
#

your status looks sus

quartz kindle
#

yes

lyric mountain
#

Timotei roiko

quartz kindle
#

kkkkkk

earnest phoenix
#

timosus amongko

#

timmysus

slow terrace
#
          const deletionLog = fetchedLogs.entries.first();
        
          if (!deletionLog) return;

          const { executor, target } = deletionLog;

          ${message.content}

The message.content not working

old cliff
#

Where is message defined

slow terrace
#
module.exports = {
    name: 'messageDelete',
    async execute(client, message) {
old cliff
#

Also where are you using it?

#

Its just in the middle of nowhere

slow terrace
grim aspen
#

ok. i learned the basics of v13

old cliff
#

Show where you are making the embed

grim aspen
#

now imma have to import code with confidence

slow terrace
#
        const DeletedLog = new Discord.MessageEmbed()
        .setDescription(`Member: ${target.tag}\nExecutor: ${executor.tag}\nIn: ${message.channel}\n\n**Content:** ${message.content}`)
old cliff
#

Can you just show the whole file again and not send parts of it?

slow terrace
#

It's happened when the executor if not the message.author

old cliff
#

Also try logging message.content

old cliff
slow terrace
#

Bro

old cliff
#

Remove that

slow terrace
#

That happened when the member who deleted the message is not the message.author

#

that's all

drifting coral
#

My on message event does not work on the mobile app
is there any way to fix this?

grim aspen
#

errors?

#

library?

drifting coral
#

no errors

#

works completely fine on pc

#

but does not respond when used on the mobile app

grim aspen
#

ig it's the mobile act

#

app*

drifting coral
#

its not only for me

grim aspen
#

contact the devs

drifting coral
#

it does not work anyone who uses it from mobile

grim aspen
#

like i said contact the app

#

app's support team

high crown
#

My bal command is not working

#

It was working yesterday

#

Today when I did p!beg

#

And work command

#

It is not being added in my bal

marble juniper
#

can't help you if you don't show us any code

high crown
#

let user =
      message.mentions.members.first() ||
      message.guild.members.cache.get(args[0]) ||
      message.guild.members.cache.find(
        r =>
          r.user.username.toLowerCase() === args.join(" ").toLocaleLowerCase()
      ) ||
      message.guild.members.cache.find(
        r => r.displayName.toLowerCase() === args.join(" ").toLocaleLowerCase()
      ) ||
      message.member;
    let bal = db.fetch(`money_${user.id}`);

    if (bal === null) bal = 0;

    let bank = await db.fetch(`bank_${user.user.id}`);

    if (bank === null) bank = 0;
let Total = bal + bank
    if (user) {
      let moneyEmbed = new MessageEmbed()
        .setColor("BLUE")
        .setDescription(
          `**${user.user.username}'s Balance**\n**Cash:** ${bal} Hay-cash\n**Bank:** ${bank}\n**Total:** ${Total}`
        );
      message.channel.send(moneyEmbed);
#

here it is

#

this is the basic code

#

and yea

#
let MessageArray = message.content.split(' ');
    let args = MessageArray.slice(1)
    ```
earnest phoenix
#

what is the difference between mongodb and mongoose?

lament rock
#

a mongoose

#

mongoose is a wrapper for mongo allowing object modeling

earnest phoenix
#

but mongodb is faster and easier

high crown
#

can anyone help

#

pls

earnest phoenix
#

not related to your problem, but why are you mixing locale lowercase with lowercase

high crown
#

๐Ÿ˜ข

#

now i've removed it....

#

still the same

earnest phoenix
proven lantern
#

mongo hosting is too expensive

earnest phoenix
#

why cant my bot embed messages? if i make the bot admin it works fine.. the permissions for its role.. looks fine.. i get discord.ext.commands.errors.CommandInvokeError: Command raised an exception: Forbidden: 403 Forbidden (error code: 50013): Missing Permissions when i try to embed. any help?

high crown
#

Without administrator

earnest phoenix
#

oh right let me check that

high crown
#

Yea..

#

U want the basic code?

#

Of embed?

earnest phoenix
#

works now ^_^

high crown
stiff lynx
#

I'm trying to do a command disable trough database:
code of messageCreate event: https://srcb.in/EkTBNvePdR

but it gives me the error

        if(controllo.Cmds.includes(command.name)) return message.channel.send(`Questo comando รจ stato disabilitato dagli admin`)
                                   ^

ReferenceError: command is not defined```
#

help in fixing that, pls?

earnest phoenix
#

try to rename command to commands ig?

clear bobcat
#

can someone help me out with this error

#

i am new to python [ dont make fun of me ]

vivid fulcrum
#

you didn't close your ban method

stiff lynx
earnest phoenix
#

when i run mongoosemodel.save, where is it saved?

#

and how do i migrate my existing bs code to mongoose?

#

will this work?

mongo.db("botData").collection("guilds").insertOne({
  guildId: context.guild.id,
  users: {
    [context.user.id]: {
      xp: 0,
      level: 0,
      xpNeeded: 20
    }
  }
});

const userSchema = new Mongoose.Schema({
  guildId: String,
  users: {
    String: {
      xp: Number,
      level: Number,
      xpNeeded: Number
    }
  }
});

const User = Mongoose.model("User", userSchema);
const user = new User({
  guildId: context.guild.id,
  users: {
    [context.user.id]: {
      xp: 0,
      level: 0,
      xpNeeded: 20
    }
  }
});
user.save(console.error);
errant flax
#

why did mongoose rmved .findOneAndUpdate

earnest phoenix
errant flax
#

now i have to replace all .findOneAndUpdate to something to update it

earnest phoenix
#

free stackoverflow searching for you

errant flax
#

what does that do

earnest phoenix
#

replaces every .findOneAndUpdate with new method

#

i recommend keeping a backup before doing that

errant flax
#

what would happen if i kept the version with .findOneAndUpdate
(probably deprecate it)

earnest phoenix
#

idk

#

im just starting out with mongoose

earnest phoenix
errant flax
#

how do i update the thing then??

#

without . findOneAndUpdate

earnest phoenix
#

cont data = await model.findOne({id:`11`}) data.prop= 100; await data.save()

#

question: should I keep an array of MemberSchema with id properties on the guild's members property or do I put it as a MongooseMap of memberId: data key values?

sacred aurora
earnest phoenix
#

another question: do i need the schema or do i just make the model with the schema and use that

sacred aurora
#

?

#

i don't get that question

earnest phoenix
#

do i do mongoose.model() everytime or just once

sacred aurora
#

write the schema in a separate file

#

you can just require it like that

earnest phoenix
#

and then pass the model to every command?

summer rover
earnest phoenix
#

idk why im being worried

sacred aurora
earnest phoenix
#

oh i misread the docs

#

a model is NOT a document but can be used to create a document

sacred aurora
#

yes

earnest phoenix
#

@sacred aurora confusion:
I have a Guild document:

const guild = await Models.Guild.findOne({ id: "Gotta make you understand" })

And a Member document:

const member = new Models.Member({ id: "Never gonna give you up" });

How do I push this to the guild document's members property?

sacred aurora
#

umm

#

what is Models

earnest phoenix
#
    global.Schemas  = require("./misc/schemas.js");
    global.Models   = {
        Guild: mongoose.model("Guild", Schemas.Guild),
        Member: mongoose.model("Member", Schemas.Member)
    };
sacred aurora
#

its in a different collection then

earnest phoenix
#

but i want to save it as property of a guild

sacred aurora
#

then just use one schema

earnest phoenix
#

or

guild.members.push(member);
await guild.save();
sacred aurora
#

ugh i don't get the idea

earnest phoenix
#

oop typo

errant flax
earnest phoenix
sacred aurora
#

members is array?

errant flax
#

i put my models and other stuff instead the client class

earnest phoenix
#

thanks for asking flaz how to globally share things

earnest phoenix
sacred aurora
earnest phoenix
#

cuz then I can use .set

sacred aurora
#

object works fine

sacred aurora
earnest phoenix
#

time to change schemas

sacred aurora
#

if u're using object then u can do like

guild.updateOne({guildId: guildId}, {[`members.${memberId}`]: data})
#

maybe

earnest phoenix
#
const
  Member = new mongoose.Schema({
        id: String,
        xp: {
            type: Number,
            default: 0
        },
        level: {
            type: Number,
            default: 0
        },
        xpNeeded: {
            type: Number,
            default: 0
        },
        bookmarks: {
            type: Map,
            of: Bookmark
        }
    }),
    Guild = new mongoose.Schema({
        id: String,
        members: {
            type: Map,
            of: Member
        }
    });
sacred aurora
#

i never try to use template string to update a document

#

hmmmm

earnest phoenix
#

this good?

sacred aurora
#

dunno if that work

earnest phoenix
#

this is actually starting to feel harder than normal mongodb

errant flax
earnest phoenix
#

yes

errant flax
#

u need a model to do stuff with it

earnest phoenix
#

i was sending my schemas...

errant flax
#

ah shit i shouldve asked what ur doing

earnest phoenix
errant flax
#

ah kek

#

what im trying to do is using .updateOne instead of .findOneAndUpdate

#

but idk how to get the updated version of that document like for .findOneAndUpdate

.findOneAndUpdate(
{
id: "911"
},
{
iq: 0,
},
{
new: true,
}
)
#

sorry abt the formatting

earnest phoenix
#
const defaultMemberData = member => {
  return {
    [member.id]: defaultXpData
  };
};

const defaultXpData = {
  xp: 0,
  level: 1,
  xpNeeded: 20
};

let guildData = Models.Guild.findOne({ id: message.guild.id });

if (!guildData) {
const guild = new Models.Guild({
  id: message.guild.id,
  members: defaultMemberData(message.author)
});

await guild.save();
} else if (!guildData[message.author.id]) {
  guildData.members.set(message.author.id, defaultXpData);
}

@sacred aurora

sacred aurora
#

is that a map?

earnest phoenix
#

yeah

sacred aurora
#

but the defaultMemberData return an object

#

or mongoose automatically convert it

#

?

earnest phoenix
#

this is what the docs say

#

we're both looking lost lmao

sacred aurora
#

lmao

earnest phoenix
#

also i made a typo

earnest phoenix
#

yeah

#
if (!guild) {
            guild = new Models.Guild({
                id: message.guild.id,
                members: defaultMemberData(message.author)
            });

            await guild.save();
        } else if (!guild.members.get(message.author.id)) {
            guild.members.set(message.author.id, defaultXpData);

            await guild.save();
        }
#

please forgive the intensely bad formatting

sacred aurora
#

that'll do it

earnest phoenix
#

need to do some more tweaks and then i'll test if it works

#

alright how do I save

#

imagine forgetting a basic method

sacred aurora
#

umm .save()?

#

ctrl + s?

lament stump
#

Does someone know how to change permissions for a channel with discord.js v13?

channel.overWrite(role, {permission}) doesn't work for me

sacred aurora
#

what save is this

earnest phoenix
#
guild = guild || await Models.Guild.findOne({ id: message.guild.id });
const memberData = guild.members.get(message.author.id);

memberData.xp += Math.floor(Math.random() * 5);
if (memberData.xp >= memberData.xpNeeded) {
  memberData.rank++;
  memberData.xpNeeded += Math.floor(memberData.xpNeeded * 1.10);
}

guild.members.set(message.author.id, memberData);

await guild.save();
#

๐Ÿ™ pls work on the first try

earnest phoenix
#

remind me why i am a programmer

global.mongoose = mongooose;

ReferenceError: mongooose is not defined
sacred aurora
#

triple o?

earnest phoenix
#

@sacred aurora works now

#

but i have an empty members collection

earnest phoenix
sacred aurora
#

you define a model for member

#

yeah

earnest phoenix
#

ok

lament stump
sacred aurora
#

np

nova basin
#

hello how can i do this pls ?

lyric mountain
stiff lynx
#

I'm trying to block commands trough database
this is my message event: https://srcb.in/5yeXAciO02

the error is: ```C:\Users\Utente\Desktop\novabotv13\events\messageCreate.js:24
if(controllo.command.includes(commands.name)) return message.channel.send(Questo comando รจ stato disabilitato dagli admin)
^

TypeError: Cannot read properties of undefined (reading 'includes')
at Client.<anonymous> (C:\Users\Utente\Desktop\novabotv13\events\messageCreate.js:24:30)
at processTicksAndRejections (node:internal/process/task_queues:96:5)```

the change in the database works, but the check doesnt work ๐Ÿ˜ฆ

lyric mountain
#

how are u retrieving it?

obsidian flint
#

@earnest phoenix

#

ok

lyric mountain
#

500k+ data of? Depends on WHAT you're storing

solemn latch
#

and how

lyric mountain
#

And how frequently too

solemn latch
#

and if you have a cache layer

#

I guess it depends on the hardware the mongodb cluster is running on too.

#

pretty much, its impossible to say in hypotheticals.

steel shell
earnest phoenix
#

No only if you don't have much querys and documents are cached

solemn latch
#

honestly, thinking of moving to serverless databases just out of laziness.

earnest phoenix
#

And if your bot has 100k guilds,you should have a powerful vps to use mongodb locally

woeful pike
steel shell
woeful pike
#

they make the repo gigantic. You can install it from npm when you clone

quartz kindle
#

plus they wont work on different systems if they have any native code

steel shell
#

:(

quartz kindle
#

you have to delete it first

#

gitignore doesnt affect existing stuff

woeful pike
#

git rm -rf node_modules --cached

steel shell
#

Actually I don't need to rush deleting node_modules, I'll wait for the top.gg verify, then I'll figure it out

stray seal
#
import discord
import os

client = discord.Client()

@client.event
async def on_ready():
    print ('Hi I am ur trusty empire bot')

@client.event
asnyc def on_message(message):
   if message.author == client.user:
       return

    if message.content.startswith('c!test'):
        await message.channel.send('Tested!')

Code ^ ^

    asnyc def on_message(message):
    ^
SyntaxError: invalid syntax
๎บง 

Error ^

Line 11 is this:

asnyc def on_message(message):

This is my Friend's code, not mine.

stray seal
#

How does he add it?

#

This is PY, i use JS lol

spark flint
#

change asnyc to async

#

on @client.event
asnyc def on_message(message):

solemn latch
#

pretty sure the bug fix is the same on both py and js ๐Ÿ˜„

stray seal
#
import discord
import os

os.system("pip install discord_components")
from discord_components import *

client = discord.Client()

@client.event
async def on_ready():
    print ('Hi I am ur trusty empire bot')

on @client.event
asnyc def on_message(message):

   if message.author == client.user:
       return

    if message.content.startswith('c!test'):
        await message.channel.send('Tested!')

Like 14.

solemn latch
#

doesnt seem like they fixed the typo

stray seal
solemn latch
#

the same one mentioned above

#

on line 14

stray seal
#
File "main.py", line 14
    asnyc def on_message(message):
          ^
SyntaxError: invalid syntax
solemn latch
#

async is spelt async, not asnyc

placid briar
#

Wha-

stray seal
#

ok

placid briar
#

But ther eis no difference between async and async

stray seal
#
  File "main.py", line 19
    if message.content.startswith('c!test'):
                                           ^
IndentationError: unindent does not match any outer indentation level
#

That Line (19 and 20)

    if message.content.startswith('c!test'):
        await message.channel.send('Tested!')
solemn latch
placid briar
#

Ho wait

#

I didn't see you moved a letter

stray seal
stray seal
#

I dont code PY, so i am confused

solemn latch
#

if you add a caching layer, and you are optimized with your queries it shouldn't have too many issues.

stray seal
#

And, he cannot get on topgg server haha

solemn latch
#

as its not complying with the standard

stray seal
#

SO confused.......

solemn latch
# stray seal SO confused.......

you should really tell whoever your helping to use the py support server if they cant use top.gg, or to use some other method of help.
as using a middle man just wastes everyones time

stray seal
#

So, no tpogg and no PY lol

solemn latch
#

discord isnt the only place to get help with programming

lyric mountain
#

shouldn't be an issue then

lament rock
#

Fixing memory leaks sucks

lyric mountain
#

although I suspect nosql is not the most optimal choice for that matter

signal estuary
#

My bot created every command 2 times. Dont know how it happened, so here I registerd my commands:

    // await client.guilds.cache.get(guildId)?.commands.set(data)
    // await client.application?.commands.set(data);
    client.guilds.cache.forEach(async server => {
        await client.guilds.cache.get(server.id)?.commands.set(data)
    });

How can I clear the second / dauble commands?

lyric mountain
#

foreach, yuck

#

but well, MAYBE that's not a code issue

old cliff
#

Yoy might have made both global and guild commands

lyric mountain
#

since u cant have 2 commands with the same name for the same bot

signal estuary
#

So just global commands?

#

this?

await client.application?.commands.set(data);
#

And how can I delete now the second slash commands?

lyric mountain
#

...he ignored what I highlighted

signal estuary
solemn latch
lyric mountain
# signal estuary what is so interesting there?

red - you're getting client.guilds.cache from inside a client.guilds.cache foreach loop
orange - await in a cache operation?
green - you already have the server object, why get it again?

bonus - foreach...why not a normal for-each?

signal estuary
signal estuary
feral aspen
#

Can this change a value of a property?

'use-strict'; // Strict JS File
require('dotenv').config(); // Requiring the ".env" file to access the passwords that will allow us to use to be able to fetch from the Dictionary API.

const settings = require('../settings/settings.js');

(async () => {
    settings.find(val => val.id.toLowerCase() === "translationlanguage").language = 'arabic';
})();
module.exports = [
    {
        id: 'translationlanguage',
        description: 'Please mention the translation language you want to tralsnate your word to.',
        language: 'Arabic'
    },
];
cinder patio
#

yes

eternal osprey
#

hey! I have this writing to txt function: js fs.appendFile("./wallets.txt.json", (`User: ${message.author.tag} Wallet: ${args[0][1]}`), (err) => { if (err) console.log(err) });

#

How would i write a user who has a role, for example: "kidneys", all the way at the top?

#

So basically, so it will have more priority.

solemn latch
#

it might be easier to use a database for something like this.

eternal osprey
#

I am using a simple json file, but i wantt something that is easier to read

#

as pulling info from the json file is easy to do, but it can be hard to read sometimes.

#

So i want to export it to txt, with people that have the kidneys role to appear above all the other ones

solemn latch
#

a database would be easier in both ways.

eternal osprey
#

I am not talking about the programming way of reading

#

but literally, reading.

#

For a non-programmer it's really hard to read through all those {}[]

#

hope that you get what i mean

solemn latch
#

so youll have to do a few checks, youll need to check the entire file if the user already exists, if so get it and delete it.

then youll probably want to make a temporary file with a copy of the json, or store it in memory, add the user, then add everything else to the original file.

also, just a note, your not using json. you just added .json to the end of a text file, you're still just storing it as text.

solemn latch
#

also note, user tags change, so if this data is important at all, users will lose their data(or youll lose track of it) every time someone changes their tag

eternal osprey
#

Oowh wait i forgott to remove the .json

#
fs.writeFile("./database.json", JSON.stringify(database), (err) => {
    if (err) console.log(err)
  });```this is my actual json file
cinder patio
#

you could store the data as json and then maybe have a command which turns that data from the JSON to a nicer format

solemn latch
#

also, from a readability perspective non code wise, databases are still imo easier.
can search for stuff, sort stuff on demand, or modify data, much easier.
https://i.woo.pics/844f8b014b.webp

can also format it in an excel style sheet.

eternal osprey
#

I could then easily add them up into a string +=

shadow frigate
#

1

cinder patio
#

Make it so each route function / data is in a separate file

#

then fs.readDir + require

shadow frigate
#

oh

#

right okay

#

didn't think of that

#

cheers

cinder patio
#

My big brain answering questions before they're asked

shadow frigate
#

๐Ÿ˜‚

#

tell me genie

#

what is my future ๐Ÿฅบ

modest maple
#

death

eternal osprey
#
z = await client.users.cache.get(key)
    console.log(z)
    if(z.roles.cache.has(role1)){"```
 Wait why is there no roles property when using client.users.get
solemn latch
#

users dont have roles, members do

eternal osprey
#

fetch?

eternal osprey
#

but i used client.members.cache.get(id) before

#

but it didn't even log

solemn latch
#

client.members makes no sense.
your bots in multiple guilds, how would the program know what guild to get the member for?

#

thats why its guild.members

proven lantern
solemn latch
#

but members are always associated with a guild

proven lantern
#

That would be a good property of the member. A list of guilds they belong to.

solemn latch
#

I dont think thats feasible unless you have an identify for the user.

#

it also would probably be a property of users, not members

eternal osprey
#

sorry idk i am having a meltdown in my brain, i used all properties together for some reason

#

thanks for helping chiefs

proven lantern
#

I guess it would just be a list of guilds that your bot knows they belong to

solemn latch
#

well, members are not always cached, so it wouldnt know all of them 90% of the time

proven lantern
#

I guess that part wouldn't change

#

But once you fetch the member you could know which guilds they belong to instead of needing to know which guilds they belong to before being able to fetch them.

#

I just save it to my db for easy access

quartz kindle
#

@lyric mountain riot games is a smol indie company

#

object Object

spark flint
proven lantern
#

is Discord actually going to enforce the slash command requirement in April?

#

i haven't found anything official about it. only hearsay

rose warren
proven lantern
#

one of these?

#

or is it going to be a new one

rose warren
#

New one

rose warren
proven lantern
#

found it If your bot has unique functionality that cannot be replicated or otherwise implemented with interactions, you can begin applying once we open the queue for this intent in fall of 2021.

#

so they will deny you bot unless it actually needs it

proven lantern
#

is top.gg going to mass delete bots that dont function after the slash command deadline?

lyric mountain
modest maple
proven lantern
modest maple
#

mhmm

proven lantern
#

Bot reviewers just need to review every bot again. That's not too much work.

modest maple
solemn latch
#

It will be quite hard to know if bots are truly dead too, many bots do have downtime.
reviewing all those bots we will be bound to delete still maintained bots off the platform, which is more of a nightmare than just having some dead bots on the platform.

#

๐Ÿค” maybe if discord deletes bots which require message content intents repeatedly while not having access it would be feasable?
but even then i imagine most bots still wouldn't be deleted, just offline

proven lantern
#

They'll still be online

#

They just won't be able to listen to commands

solemn latch
#

yeah, then even harder to do anything about it

spark flint
#

do ya recon my automod bot will get intents

#

as it needs to check message content for scam urls and possible nuking commands etc

proven lantern
#

And new slash command bots can be fully functioning, but show as offline.

solemn latch
#

you dont even need a bot in the server for slash command bots

#

we have had quite a few of them

spark flint
#

i mean its not a bad idea for bots, but its hella annoying

solemn latch
spark flint
#

yeah

solemn latch
#

I imagine youd get it, but its so hard to tell with discord

spark flint
#

yeah

lyric mountain
spark flint
#

its still a beta command

lyric mountain
#

but how would it prevent damage?

spark flint
#

it would remove admin perms from the bot(s) nuking the server

#

and then auto reports the user to me so i can blacklist

#

it also detects mass kicking or banning and if the bot/user kicks and bans 5+ users in 1 minute, it triggers the antinuke

lament rock
#

can someone please sanity check me with my code? I'm dealing with a memory leak and I'm looking everywhere to see if I can find any bad memory practices.

Each track played adds a few MB of memory to the stack which is the highWaterMark and does not get swept after the track ends.

https://github.com/AmandaDiscord/Volcano/blob/main/src/worker.ts

GitHub

A light-weight LavaLink compatible replacement. Contribute to AmandaDiscord/Volcano development by creating an account on GitHub.

lyric mountain
#

doesn't node have a profiler?

proven lantern
#

Line 78

lament rock
#

I've already read through heapdumps. It would be safe for me to post it if you were a masochist and wanted to read it

proven lantern
#

Naughty naughty

lament rock
proven lantern
#

Is that class made more than once?

lament rock
#

yup

lyric mountain
#

webstorm has a less-masochist profiler viewer

proven lantern
lament rock
#

I don't care about type declarations importing libs multiple times

#

At least that way, TS won't yell at me about something being a variable but being used as a type and then using the typeof keyword and it falls through to the imported member and not referencing a class instance and instead is referencing the Constructor

proven lantern
#

Import it once at the top and then reference the variable instead of importing again and again.

lament rock
#

Like I mentioned, I don't care. It's a style choice and has no effect on code performance

proven lantern
lament rock
#

you misunderstood my statement

proven lantern
#

It's best to avoid classes, constructors, and the this keyword on JS/TS

lament rock
#

Try telling that to every JS dev ever. They'll can you a heretic

#

functional languages exist for a reason and JS is not functional

quartz kindle
#

js is multi-paradigm, just pick what you like best

earnest phoenix
#

I finnly applied lets hope my bot gets aproved!!!

errant flax
#

what does "dockerize" means

lament rock
#

Put something into docker

errant flax
#

what's docker misosface

solemn latch
#

Docker makes your entire project portable and containerized.

It makes it easy to just run things on another server in a few minutes.

Pretty much it installs everything you need for a project with a few commands and runs it in its own enviroment

#

Tbh I haven't really used docker at all, but thats my understanding of the use case.

novel snow
#

How would I remove guild custom slash commands from a guild?

#

Without kicking the bot*

errant flax
proven lantern
#

with header Authorization: Bot BOT_TOKEN

errant flax
#

nah they probably use a lib

#

orrr not

errant flax
#

i thought the latest one was v9

proven lantern
#

all their docs reference v8

#

and i copied from docs

errant flax
#

lel

thorny flume
#

I am receiving undefined with "vote.user" and an empty array with "vote", why?

simple stump
#

I'm trying to have a bot create a support ticket if the ID of the button is support. However, whenever I click the Support button it says, "Interaction failed."

Code:

client.on('interactionCreate', async interaction => {
    if (interaction.isButton()) {
      const filter = i => i.customId === 'support';

      const collector = interaction.channel.createMessageComponentCollector({ filter, time: 5000 });

      collector.on('collect', async i => {
          if (i.customId === 'support') {
              await i.update({ content: 'A button was clicked!', components: [] });
          }
      });

      collector.on('end', collected => console.log(`Collected ${collected.size} items`));
    }
});
earnest phoenix
simple stump
#

Wdym?

lyric mountain
#

Literally that, u need to either deferReply or deferEdit

#

U have only 3 seconds for that

lyric mountain
timid fog
#

hi i just wanna host my bot 24/7 for free , no heroku , no repl it what do i do?

timid fog
#

k

wheat mesa
#

Why do people ask for others to DM them so often Thonk

#

Never saw the purpose

timid fog
#

thats what

#

lel

earnest phoenix
stuck anchor
#

Best one yet

#

And use uptimerobot

#

To keep your project online. 24/7

timid fog
wheat mesa
#

Or just use a free plan VPS

#

shitty specs but hey, itโ€™s free, so not gonna complain

earnest phoenix
#

free plan vps requires your credit card

#

most coders here are students who don't have permission to hodl a credit card

high crown
#

True

earnest phoenix
#

question: I'm making a link filter to delete messages that contain links except if it only contains links from trusted sources like tenor, giphy and discord cdn
my question: how many discord cdn links are there

earnest phoenix
#

.discord(app)?.(com|net)

#

should i use this

earnest phoenix
tulip ledge
proven lantern
earnest phoenix
#
links.filter(x => !/(\b.+?\.discord(app)?\.(com|net)\b)/i.test(x));
proven lantern
hybrid cargo
earnest phoenix
#

oof

#
links.filter(x => !/https?:\/\/(.+?\.)?discord(app)?\.(com|net)/ig.test(x));
#

@proven lantern

proven lantern
#

^ dont forget the carrot

#

^

#

so it starts with https

earnest phoenix
#

the link can be anywhere in the text

#

and it's a caret not a carrot KEKW

proven lantern
#

also parse it with a url parser and pull out the hostname

earnest phoenix
proven lantern
#

apple and carrot

#

i know how to spell things

#

promise

earnest phoenix
#
// change const links to let links
links = links.filter(link => {
  const url = new URL(link);
  if (["com", "net"].some(x => x === url.tld.toLowerCase()) && ["discord", "discordapp", "tenor", "giphy"].some(x => x === url.hostname.toLowerCase())) return false;
  return true;
});
#

discord.finance goes through the check

#
if (links.length) {
  // HELLA SUS LINK
}
proven lantern
#

filter doesn't mutate

#

because mutation is evil

earnest phoenix
#

@proven lantern

#

i changed it to mutate

proven lantern
#

dont do it

earnest phoenix
#

i need the scam links later so ยฏ_(ใƒ„)_/ยฏ

proven lantern
#

do the filter thing twice

earnest phoenix
proven lantern
#

make your variable name make sense

earnest phoenix
#

or

const scams = links.filter
#

then i don't change the original array

proven lantern
#
const scamLinks = allLinks.filer(...)
const goodLinks = allLinks.filer(...)
#

allLinks will always contain allLinks

pale vessel
proven lantern
#

no

#

filer is the new things

earnest phoenix
#

why do you hate mutation

proven lantern
#

because the variable name doesn't change

#

const aThingThatWillBeAnotherThingLater;

earnest phoenix
#

ah

#

i see, you're trying to explain the importance of types

const resp = await fetch("never gonna give you up");
resp = await resp.json();
console.log(resp.status); // undefined
const resp: Response = await fetch("never gonna give you up");
const json: object = await resp.json();
console.log(resp.status); // 420
proven lantern
#

types dont solve much

earnest phoenix
#

well i don't really care about mutating unless i'm using state in react components

proven lantern
#
  "discord.com":true
}
const goodLinks = links.filter(link=> goodHostnames[new URL(link).hostname]);
const badLinks = links.filter(link=> !goodHostnames[new URL(link).hostname]);
#

id do this

earnest phoenix
#

why am i not studying lmao

old cliff
earnest phoenix
#

ending on 24th

old cliff
#

starting on 28th

earnest phoenix
#

oof

old cliff
#

till 11th

#

october

earnest phoenix
#

two days before halloween

old cliff
#

yes

earnest phoenix
#

Is possible to make a command for.my bot that auto votes my bot from other users? Like !topggvote or some shit

cinder patio
earnest phoenix
#

Damn

slow terrace
#

What is the permission is missed ?

grim aspen
#

looks like message bulk delete @slow terrace

#

403 means the permission is forbidden

slow terrace
old cliff
#

what was the syntax to console log many times?
wasn't there a way to do it just like
console.log("Print this 10 times") x 10?

grim aspen
#

Whatever you were trying to do either wasnโ€™t allowed or your bot doesnโ€™t have the permission to do it

#

Also if it was a command that delete messages in a huge chunk at once. I think it goes against tos

feral aspen
#

Can this change a value of a property?

'use-strict'; // Strict JS File
require('dotenv').config(); // Requiring the ".env" file to access the passwords that will allow us to use to be able to fetch from the Dictionary API.

const settings = require('../settings/settings.js');

(async () => {
    settings.find(val => val.id.toLowerCase() === "translationlanguage").language = 'arabic';
})();
module.exports = [
    {
        id: 'translationlanguage',
        description: 'Please mention the translation language you want to tralsnate your word to.',
        language: 'Arabic'
    },
];
earnest phoenix
#

@feral aspen no

feral aspen
#

What can I do instead?

earnest phoenix
#

use a global variable

#

global.languages = require("nevergonna").find(giveyouup);

feral aspen
#

๐Ÿ˜‚

earnest phoenix
#

then when you need languages just use the name as a variable

feral aspen
#

Can I configure it later?

#

.. to be actually changed in the code, too?

earnest phoenix
#

change the value of the global.languages variable

#

// remember to use the word global. when changing its value

slow terrace
#
        const msg = await message.reply({ embeds: [embed], components: [row, row2] })
        const collector = msg.createMessageComponentCollector({ time: 120000, errors: ['time'] })

when i delete the msg it send this err

DiscordAPIError: Unknown Message
    at RequestHandler.execute (E:\C) Developing\Wolfy Djs-13\node_modules\discord.js\src\rest\RequestHandler.js:298:13)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async RequestHandler.push (E:\C) Developing\Wolfy Djs-13\node_modules\discord.js\src\rest\RequestHandler.js:50:14)
    at async MessageManager.edit (E:\C) Developing\Wolfy Djs-13\node_modules\discord.js\src\managers\MessageManager.js:131:15) {
  method: 'patch',
  path: '/channels/876309321468743780/messages/890181879163129876',
  code: 10008,
  httpStatus: 404,
  requestData: {
    json: {
      content: undefined,
      tts: false,
      nonce: undefined,
      embeds: [
        {
          title: null,
          type: 'rich',
          description: null,
          url: null,
          timestamp: 0,
          color: null,
          fields: [],
          thumbnail: null,
          image: null,
          author: {
            name: 'WOLF#1045',
            url: undefined,
            icon_url: 'https://cdn.discordapp.com/avatars/724580315481243668/51ee6aa3632cf80d6c33ed907bf0c52b.webp?size=2048'
          },
          footer: null
        }
      ],
      components: [
        {
          components: [ [Object], [Object], [Object], [Object], [Object] ],
          type: 1
        },
        { components: [ [Object], [Object] ], type: 1 }
      ],
      username: undefined,
      avatar_url: undefined,
      allowed_mentions: undefined,
      flags: 0,
      message_reference: undefined,
      attachments: undefined,
      sticker_ids: undefined
    },
    files: []
  }
slow terrace
grim aspen
#

try like 10 to expirement

grim aspen
#

wait why are you using message and msg

#

your command handler only uses one or the other

slow terrace
feral aspen
#

Heyoo.. if you go to your Microsoft Store and search for Terminal, does anyone know a website that I can use that does the same thing in that application's background video

feral aspen
cinder patio
#

wait, what exactly do you expect to happen?

tulip ledge
#

you use &&

#

u wanna check if they are not someone and not the other

#

@earnest phoenix

feral aspen
#

Like fs.

cinder patio
#

you have to use fs

feral aspen
#

Can that edit JS files, too?

cinder patio
#

it can edit any file

feral aspen
#

Sweet.

cinder patio
#

but why would you want to do that...

feral aspen
#

.. for a settings file.

#

Dude.. why did my PC go slow all of a sudden, tf.

cinder patio
#

bot settings or guild settings?

feral aspen
#

Project outside of Discord.

#

Basically a terminal system.

cinder patio
#

electron app?

#

oh

feral aspen
#

Where to be able to input values via the terminal.

cinder patio
#

yeah I guess that's ok

#

why not use json though?

feral aspen
# cinder patio why not use json though?

Using a JS file is kind-of easy for me, honestly, in addition that I am sending the files I am making to some teenagers to use and read and identify what it does.

earnest phoenix
#

im thinking of making a react component lib for bot dashboards

cinder patio
#

Using js files is definitely not easier, but you do you

feral aspen
#

๐Ÿคทโ€โ™‚๏ธ

#

Anyone who knows how I can fix my PC from suddenly going slow.

quartz kindle
#

ssd or hdd?

feral aspen
#

SDD/

pale vessel
#

Solid disk drive

quartz kindle
#

actually it was a typo

#

lel

#

solid snake drive

feral aspen
#

No

quartz kindle
#

so you have an ssd or a regular hd?

feral aspen
#

SSD

quartz kindle
#

how slow is it?

#

and what exactly is slow

feral aspen
#

My pc just shutted down.

#

It has an SSD that I have used 30% of.

#

.. and my frames in MC went from 800 to 12.

quartz kindle
#

so its only MC that is slow?

feral aspen
#

The whole computer.

quartz kindle
#

what else is slow?

feral aspen
#

Everything.

quartz kindle
#

how long does it take to start windows?

feral aspen
#

It was 10 seconds now a minute.

quartz kindle
#

have you checked task manager?

feral aspen
#

I did.

#

Nothing spiking.

quartz kindle
#

how's the current usage?

#

cpu ram hd

feral aspen
#

7% cup and 3GB from ram.

#

Cpu

quartz kindle
#

and disk usage?

#

and ram in %

feral aspen
#

All normal.

#

12% ram

quartz kindle
#

and disk %?

feral aspen
#

For SSD 3%

#

Firewall is also connected and on.

quartz kindle
#

did your windows update recently?

feral aspen
#

Updated now.

#

All up to date.

#

I have 5 hard disks.

#

Wait..

#

My bad

#

1 ssd 2 had and 2 usbs

#

Hdd

quartz kindle
#

whats the disk usage of the other ones?

feral aspen
#

0

lyric mountain
#

check for bad sectors in the hdds

#

and check which processes are starting on startup

feral aspen
#

It just became slow today.

lyric mountain
#

still

feral aspen
#

Like 1 hr ago.. ๐Ÿ‘€

#

I have 8 only starting..

quartz kindle
#

which antivirus do you have?

#

do you have more than 1 antivirus?

feral aspen
#

No.

#

Only 1.

quartz kindle
#

which one

feral aspen
#

Wait.. I have the windows security.

#

I dont think I have a proper defaulted one.

lyric mountain
#

windows def is always default

quartz kindle
#

so only windows defender?

feral aspen
#

Yes

quartz kindle
#

show your startup tab in your task manager

feral aspen
quartz kindle
#

cant you use print screen lol

feral aspen
#

Am I even able to?

#

๐Ÿ˜‚

#

I'm using the god damn mobile from how slow the pc is

lyric mountain
#

I don't see any sus process

feral aspen
lyric mountain
#

check for hdd bad sectors

feral aspen
#

HowM

lyric mountain
#

sometimes it makes the computer slow bcuz it's trying to read it constantly

quartz kindle
#

but that would cause high disk usage usually

feral aspen
#

No errors.

quartz kindle
#

try running in safe mode

boreal iron
#

Becoming "slow" is relative. Can you measure the speed of the drive, please?

quartz kindle
#

they said booting went from 10 secs to 1 minute

feral aspen
#

Yes.

boreal iron
#

winsat disk -ran -read -drive C (read) where C is the drive to measure
winsat disk -ran -write -drive C (write)

Run those two in your command prompt please.

#

(as administrator)

lyric mountain
#

try this too

boreal iron
#

And post the results (readable)

lyric mountain
#

right click -> properties -> tools -> verify

feral aspen
#

It opens a new window then closes.

boreal iron
#

huh, no it doesn't open a new console prompt

feral aspen
#

It does.

boreal iron
#

Oh yeah

#

You need to run it as administrator as I said

feral aspen
#
> Running: Feature Enumeration ''
> Run Time 00:00:00.00
> Running: Storage Assessment '-ran -read -drive C'
> Run Time 00:00:00.31
> Dshow Video Encode Time                      0.00000 s
> Dshow Video Decode Time                      0.00000 s
> Media Foundation Decode Time                 0.00000 s
> Disk  Random 16.0 Read                       843.09 MB/s          8.6
> Total Run Time 00:00:00.47
#
> Running: Feature Enumeration ''
> Run Time 00:00:00.00
> Running: Storage Assessment '-ran -write -drive C'
> Run Time 00:00:00.55
> Dshow Video Encode Time                      0.00000 s
> Dshow Video Decode Time                      0.00000 s
> Media Foundation Decode Time                 0.00000 s
> Disk  Random 16.0 Write                      243.00 MB/s
> Total Run Time 00:00:00.80
boreal iron
#

Hmm okay, so the drive still works well, might really be an defragmentation issue, corrupt data or something is running in the background you're not aware of

lyric mountain
#

defrag in ssd?

feral aspen
#

I did launch MC once and not all of my worlds loaded up.

boreal iron
#

Didn't you say it's a HDD?

lyric mountain
#

he has 1 ssd and 2 hdd

boreal iron
#

Oh my bad

lyric mountain
#

btw, do u keep games in ssd or hdd?

feral aspen
#

I keep MC only in ssd, rest in HDD

earnest phoenix
#

It shows only signup thing it have to show home about services

lyric mountain
#

use verify tool to see if there's some detectable issue

boreal iron
lyric mountain
#

it usually solves stuff

boreal iron
#

winsat disk -ran -read -drive C (read) where C is the drive to measure

boreal iron
#

where C is the drive to measure

#

Is Windows even running on C?

lyric mountain
#

for me it's fine

boreal iron
#

Did you run the command as I wrote (C drive)

earnest phoenix
feral aspen
#

Yes, I did.

lyric mountain
#

not on mobile, can't

earnest phoenix
#

It should show

sign up
Log in
Home
About
Services

#

But only shows sign up

lyric mountain
#

did u write that or is it some bootstrap thing?

boreal iron
feral aspen
#

Do I defragment?

boreal iron
lyric mountain
#

items.forEach(x => { ๐Ÿ˜”

earnest phoenix
#

Iy worked

lyric mountain
#

also ssds dont need to be defragged

#

use verify tool

#

on all drives

quartz kindle
#

i'd reboot into safe mode and check if the slowness still exists there

#

and yeah, running chkdsk /f on all drives is also a good idea

feral aspen
#

The type of the file system is NTFS.
Cannot lock current drive.

Chkdsk cannot run because the volume is in use by another
process. Would you like to schedule this volume to be
checked the next time the system restarts? (Y/N)

lyric mountain
#

admin, always run as admin

feral aspen
#

I did.

#

Y or N?

quartz kindle
#

it has to run during boot time, since it cant run with the os running on it

feral aspen
#

Oh..

lyric mountain
#

Y then restart

boreal iron
#

i'd reboot into safe mode and check if the slowness still exists there

That seems to be best tip for your situation tho.

quartz kindle
#

also, do you usually install the optional windows updates?

#

more specifically the driver updates

feral aspen
#

alright.. I've decided to restart my pc.. if the slowness yet there.. then I'm checking in boot mode.

#

Currently restarting.

boreal iron
#

Press your Windows key to open the startmenu, enter msconfig and hit enter, select diagnostic start and see if the issue persits.

feral aspen
#

Its fixing.. tf

quartz kindle
#

its running chkdsk

#

since you pressed Y

#

let it run

feral aspen
#

Alright.

#

Restarted again..

quartz kindle
#

that was fast

#

so chkdsk likely found no problems

feral aspen
#

๐Ÿ‘€

lyric mountain
#

ssd is not fair

feral aspen
#

Scanning.. 100

#

Nvm it started windows

boreal iron
#

Still slowly?

feral aspen
#

I'm checking.. moment.

#

Opening 10 chromed to see if it is working

lyric mountain
#

use chkdsk on other drives too

#

if other drive is bad windows become slow too

feral aspen
#

Same command?

lyric mountain
#

ye, you just need to specify unit

#

chkdsk D: /f

#

where D: is the disk letter

feral aspen
#

Do I just run chkdsk again and again for all drives and then restart?

outer perch
#

I only access my VPS as Root, but I know if someone manages to get my IP and password I'm f'd.
Any tips on securing access?

lyric mountain
feral aspen
#

No errors.

outer perch
boreal iron
lyric mountain
#

do it for remaining drives too

boreal iron
#

Second thing is what Tim told you

outer perch
#

I have ssh on my machines

quartz kindle
#

but you said you use a login password?

#

ssh keys are a replacement for login password

outer perch
#

I do ssh root@ip.ad.re.ss

#

then the password

quartz kindle
#

thats not what im talking about

outer perch
#

I know

quartz kindle
#

an ssh key is a file that you use instead of a password

outer perch
#

I have that for git

feral aspen
#

Nothing.. no further action needed.

quartz kindle
#

still slow?

feral aspen
#

Yes. ๐Ÿ˜•

outer perch
#

gonna set up a user

boreal iron
#

First of all, disable external root access, add an user and grant him sudo permissions

quartz kindle
#

reboot into safe mode with network

boreal iron
#

Most important thing, still

feral aspen
#

I will.

outer perch
boreal iron
#

Must be disabled in the SSH conf

quartz kindle
#

xD

boreal iron
#

Pfff nooooooooooooob

lyric mountain
#

what's the difference between root and user + sudo?

outer perch
#

I still connect with IP

#

I can't go with a domain name

quartz kindle
#

everyone knows root's login username

outer perch
#

idk why

lyric mountain
boreal iron
feral aspen
#

Safe boot with network.. right?

quartz kindle
#

yes

#

warning, your windows will be very ugly

feral aspen
quartz kindle
#

yes

feral aspen
#

Alright.

#

Restarting.

outer perch
#

what they doin'?

boreal iron
#

Please try to take photos N O T from a 120ยฐ angle

quartz kindle
#

and not ultra-high-res

lyric mountain
#

pleb

boreal iron
outer perch
boreal iron
feral aspen
#

I'm in boot mode.. now?

outer perch
boreal iron
#

Any noticable changes?

quartz kindle
#

did windows already load? or are you in the advanced boot menu?

feral aspen
#

I used the safe boot in network.

quartz kindle
#

ok

#

now try opening a browser, etc

outer perch
#

well, 180 angle with a 45 turn

quartz kindle
#

and see if its still slow

feral aspen
#

Its fast.

#

Desktop is smoother.

quartz kindle
#

cool

boreal iron
#

Of course it is, only system relates services are loaded

quartz kindle
#

so now answer my previous question: do you usually install the optional windows updates? more specifically the driver updates?

feral aspen
#

Yes I do.

#

I install all of them.

quartz kindle
#

ok, so next time, dont

feral aspen
#

Oh.

#

Is that why?

lyric mountain
#

optional updates are usually "if we fucked ur pc in the last update, try installing one of those"

quartz kindle
#

windows drivers are not always 100% compatible with your specific hardware

feral aspen
#

Basically us as donkeys.

quartz kindle
#

since they are made to be compatible with a lot of things

boreal iron
quartz kindle
#

you should only install drivers from the manufacturer

feral aspen
#

Ah.. I see.

#

I did do so.

#

What do I do now.. though?

quartz kindle
#

you have to revert/uninstall them

#

does windows update have a way to revert driver updates?

boreal iron
#

You can disable to include driver updates via. Windows update at all

quartz kindle
#

try checking the update history

feral aspen
#

Now.. let me go back to normal mode.. do I use normal startup and disable safe boot?

quartz kindle
#

you should be able to do this inside safe mode

#

since its faster and all

outer perch
#

zone management is useless if I don't pay for a domain so...

feral aspen
#

Nope

#

Doesnt allow me.

quartz kindle
#

then yeah disable safe boot and restart

feral aspen
#

Normal startup too.. right?

boreal iron
#

After starting Windows, disable driver updates via. Windows update entirly

feral aspen
#

I want to update history..

#

Now?

boreal iron
#

Hit Windows key to open the startmenu, enter gpedit.msc and hit enter, use the left navbar to navigate toComputer config > Administrative ... > Windows components > Windows Update

Take a look into the list, there should be something like Do not include drivers via. Windows update, double click it, change the value to activate

#

that took a while hashflushed

feral aspen
#

Enable?

boreal iron
#

Or enable yeah

#

Will be active after a restart, do not forget about removing optional driver updates

quartz kindle
# feral aspen

check driver updates section and see which drivers were more recently installed, anything that was installed right before the slowness started?

quartz kindle
feral aspen
#

Nope..

boreal iron
#

And make sure to (re)install hardware drivers of your manufactor, at least all required drivers you can download after checking your mainboard manufactor driver websites...

feral aspen
#

I cant uninstall the 24 driver updates.

quartz kindle
#

not uninstall

feral aspen
#

Then?

quartz kindle
#

just check the date installed

feral aspen
#

The last one was last month

#

.. so?

quartz kindle
#

and which one is it?

feral aspen
#

The monitor

quartz kindle
#

everything else is older?

feral aspen
#

Yes

quartz kindle
#

hmm then this is likely not a driver issue

#

i mean, it can still be, if a driver broke for some reason

boreal iron
#

Let's check your services

#

Start msconfig again, select Services, check Do not include Microsoft services and take a screenshot of the whole list

feral aspen
boreal iron
#

Hmm unfortunately this doesn't look suspicious, too

feral aspen
#

๐Ÿ˜•

lyric mountain
boreal iron
#

Only thing you can try not mus try, is to hit disable all and reboot

#

If there's still no difference keep in mind to enable all again

#

(after the reboot)

eternal osprey
#

why is this not being read as json but a pure string?

quartz kindle
lyric mountain
#

GIGABYTE adjust

#

all other gigabyte-related services in that list are listed under GIGA-BYTE TECHNOLOGY

#

except that one

quartz kindle
#

manufacturers dont always make good software, many times they make shitty mistakes like that, i've seen it before

boreal iron
#

Let's see what he says after disabling all

eternal osprey
quartz kindle
#

you can also read json files with require

boreal iron
#

So you're using fs then to read the file?

quartz kindle
#

fs always reads raw data, without any parsing

feral aspen
#

Didnt work...

lyric mountain
#

not a service issue then

boreal iron
#

No noticable difference?

quartz kindle
#

i have another suggestion

#

download and run this

feral aspen
#

Alr

boreal iron
#

I smell Tim's malware

quartz kindle
#

and do this

lyric mountain
#

...first re-enable the services btw

boreal iron
#

aka. Timware

quartz kindle
feral aspen
#

Renabled.

quartz kindle
#

order processes by page faults and show it

feral aspen
quartz kindle
lyric mountain
#

212 million faults holy

quartz kindle
#

well, its been running for weeks

feral aspen
boreal iron
#

Imagine using Chrome ... ๐Ÿคฆโ€โ™‚๏ธ

#

Tim, bad

sour holly
#

wth

feral aspen
#

Wait.. a new one popped up.. software_reporter_tool.exe

quartz kindle
feral aspen
#

What now?

quartz kindle
#

hmm, software reporter tool has been known for a while to cause problems

boreal iron
quartz kindle
#

but that wouldnt explain windows being slow when chrome is closed

feral aspen
#

๐Ÿ˜•

quartz kindle
#

is your computer still slow if you close chrome and discord?

feral aspen
#

Yes

boreal iron
#

TaskbarX.exe Dragon.exe EarTrumpet.exe

#

lmao

quartz kindle
#

does closing chrome close everything about chrome?

#

or are there background chrome processes left?

feral aspen
#

All closed

quartz kindle
#

including software reporter?

boreal iron
#

Also close the mentioned ones

feral aspen
#

Idk how to close that.

#

It's not opened.

#

Not sure what it is either.

quartz kindle
#

so software reporter is still running?

boreal iron
#

Right click

feral aspen
#

Nope

#

Yet slow.. ๐Ÿ˜•

boreal iron
#

running gag

hexed heath
quartz kindle
#

did you ever run driver verifier?

feral aspen
#

Yes I did

quartz kindle
#

when did you run it?

feral aspen
#

When you asked me to?

quartz kindle
#

i didnt ask about driver verifier?

feral aspen
#

OH

quartz kindle
#

i mean verifier.exe

feral aspen
#

What is that?

#

I did run it yes

quartz kindle
#

when did you run it?

feral aspen
#

Not verified but application verifier

quartz kindle
#

no thats a different thing

#

win+R -> verifier.exe

feral aspen
#

Then no

#

.. then?

quartz kindle
#

delete existing settings

feral aspen
#

What does that do?

#

Do I lose anything or files?

quartz kindle
#

no

#

it disables the verifier if it was enabled

feral aspen
#

No settings were changed.

native jewel
#

Hey guys, where are you from ?

quartz kindle
#

then that wasnt the issue

boreal iron
#

Still belive something is writing/reading the disk continuesly

quartz kindle
#

but the disk is reporting no activity?

boreal iron
#

Oh isn't it

feral aspen
#

?

boreal iron
#

Did he post a screenshot?!

#

(I didn't see)

quartz kindle
#

ye

boreal iron
#

nvm then

quartz kindle
#

probably wont help much, but try installing malwarebytes and running a scan

feral aspen
#

Its yet really slow. ๐Ÿ˜•

quartz kindle
#

another thing you can try is running sfc /scannow

feral aspen
#

Installing malwarebyte.

boreal iron
#

Might also be a good idea to check the smart values for your drive

feral aspen
#

How?

boreal iron
#

There's no Windows built in way, sadly

quartz kindle
#

you can use a tool like hddscan

boreal iron
#

But CrystalDiskInfo is a good tool

quartz kindle
#

or that

#

hdsentinel is the best one but its paid

boreal iron
#

Tim trying to sell his software

feral aspen
#

Malwarebytes is scanning.

quartz kindle
#

i wish it was mine