#development

1 messages · Page 1820 of 1

wheat mesa
#

Pasting your error without code is virtually useless to us

#

You need to paste your code along with it

brave garnet
#

Huh. Show the code

opaque acorn
#
const Discord = require("discord.js");

module.exports = {
    name: "ticket",
    aliases: ['t'],
    description: "Abrir un ticket de soporte.",
    async execute(message, args, client) {
      const channel = await message.guild.channels.create(`ticket: ${message.author.tag}`);
      
      channel.setParent("820276801652916270");
  
      channel.updateOverwrite(message.guild.id, {
        SEND_MESSAGE: false,
        VIEW_CHANNEL: false,
      });
      channel.updateOverwrite(message.author, {
        SEND_MESSAGE: true,
        VIEW_CHANNEL: true,
      });
  
      const reactionMessage = await channel.send("Gracias por contactar con el soporte");
  
      try {
        await reactionMessage.react(":lock:");
        await reactionMessage.react(":no_entry:");
      } catch (err) {
        channel.send("Error enviando emojis!");
        throw err;
      }
  
      const collector = reactionMessage.createReactionCollector(
        (reaction, user) => message.guild.members.cache.find((member) => member.id === user.id).hasPermission("ADMINISTRATOR"),
        { dispose: true }
      );
  
      collector.on("collect", (reaction, user) => {
        switch (reaction.emoji.name) {
          case ":lock:":
            channel.updateOverwrite(message.author, { SEND_MESSAGES: false });
            break;
          case ":no_entry:":
            channel.send(":white_check_mark: Borrando este canal en 5 segundos!");
            setTimeout(() => channel.delete(), 5000);
            break;
        }
      });
  
      message.channel
        .send(`Ahora estaremos contigo! ${channel}`)
        .then((msg) => {
          setTimeout(() => msg.delete(), 7000);
          setTimeout(() => message.delete(), 3000);
        })
        .catch((err) => {
          throw err;
        });
    },
  };
wheat mesa
#

I assume it’s throwing an error at the message.guild.channels.create() line?

opaque acorn
#

yeah

wheat mesa
#

You’re using the command in a guild, right?

opaque acorn
#

yes

fair axle
#

I want to initialize mute_data as {} but I can't

mongoose.model("guilds", new mongoose.Schema({
    guild_id: { type: String },
    ephemeral: { type: Boolean, default: false },
    mute_data: { type: Object, default: {} },
    moderation_logs: { type: String, default: null },
    capslock_protection: {
        type: Object, default: {
            enabled: false,
            warn_count: 3,
            mute_time: 5,
        }
    }
}))
#

When I do this it returns me

{
  ephemeral: false,
  moderation_logs: null,
  capslock_protection: { enabled: false, warn_count: 3, mute_time: 5 },
  _id: 60fc82af851bf71bd43e5d6b,
  guild_id: '813453118997528647',
  __v: 0
}
lyric mountain
#

well, you set default values

#

an empty object is normally not returned at all

fallen holly
#

I was testing my commands to see if it works or not bcus it been a while Senes I tested the muted command

fair axle
fallen holly
#

And no response and no errs

fair axle
#

Can It be a problem in the future?

fallen holly
#

Idk what happened and for all my commands it was not formatted

#

There was extra spaces extra indent

knotty talon
#

anyone know how to convert this into an image

#
        console.log(flags)
pale vessel
#

🩴

#

Badge images?

knotty talon
#

yea

pale vessel
#

You gotta look them up by yourself

knotty talon
#

I did

#

for 30mins

#

nvm..

earnest phoenix
#

It just isn't returned

#

At least I assume it still exists not sure how mongoose works

fair axle
#

Okey thank you

pliant needle
#

@mental furnace I just don't understand wtf is wrong... ```● mongod.service - MongoDB Database Server
Loaded: loaded (/lib/systemd/system/mongod.service; enabled; vendor preset: enabled)
Active: failed (Result: core-dump) since Sat 2021-07-24 17:03:04 EDT; 1h 21min ago
Docs: https://docs.mongodb.org/manual
Main PID: 4521 (code=dumped, signal=ILL)

Jul 24 17:03:03 CodeBook systemd[1]: Started MongoDB Database Server.
Jul 24 17:03:04 CodeBook systemd[1]: mongod.service: Main process exited, code=dumped, status=4/ILL
Jul 24 17:03:04 CodeBook systemd[1]: mongod.service: Failed with result 'core-dump'.

mental furnace
#

core dump?

#

looks something way unrelated to config and log files

#

SIGILL 4 Illegal instruction. The ILL signal is sent to a process when it attempts to execute a malformed, unknown, or privileged instruction.

#

@pliant needle try reinstalling ig?

pliant needle
mental furnace
#

get some holy water

#

pour it on the computer

#

then dry it with rice

#

its cursed

proven lantern
#

does java have null coalescing operator in newer versions?

#

or java 11

boreal iron
#

Java… we need an exorcist in here now! okeh

proven lantern
#

wow

lyric mountain
#

but you can just use something like```java
public static <T> T getOr(T get, T or) {
return get == null ? or : get;
}

proven lantern
#

what about current versions?

lyric mountain
#

I'm talking from version 16

#

it'll probably never have something like that

#

BUT you can just use groovy if you like

#

it's just vanilla java + QoL stuff

grim sundial
#

does anyone know why i am not receiving any event data? payload.d

#

btw

pale vessel
#

You got proper intents?

grim sundial
#

lemme jus double check

#

yeah, 512

earnest phoenix
#

Are you making a lib?

grim sundial
#

yes

earnest phoenix
#

Cool, hope you have fun

pale vessel
#

Did you receive any opcode, at least?

grim sundial
#

yeah, 10

pale vessel
#

I don't think you need it but try adding GUILDS intent, so 513

grim sundial
#

i meant 513, whoops

#

not 512

#

this is what im getting if this helps: js { t: null, s: null, op: 10, d: { heartbeat_interval: 41250, _trace: [ '["gateway-prd-main-c894",{"micros":0.0}]' ] } }

earnest phoenix
#

op 10 means hello doesn't it?

#

So it means it worked no?

pale vessel
#

No it means hello

earnest phoenix
#

It means it connected successfully

#

So what was the issue again?

grim sundial
#

yeah its connected, but im not recieving

#

and imma say it

#

i aint recieving the d

#

lol, payload.d should be the event name

earnest phoenix
#

But you do get something if you were to log payload correct

#

payload.d is the data

grim sundial
#

wait not d sorry, t

#

yeah

earnest phoenix
#

payload.t is the event name

grim sundial
#

yes

#

and its null

#

and its supposed to be the event name

earnest phoenix
#

Mmmm

#

I am confused what you are wanting now

#

Are you wanting the data or the event name

grim sundial
#

i got a bit too happy

#

im trying to listen to the event

#

event name

earnest phoenix
#

Well

#

iirc OP 10 returns no event name

#

it just returns null

#

with data

pale vessel
#

they're not getting message events

grim sundial
#

yeah

pale vessel
#

that's the problem, no?

grim sundial
#

im not doing that in opcode 10

earnest phoenix
#

you use the heartbeat interval to consistently send a heart beat to stay connected

pale vessel
#

they did that

earnest phoenix
#

Well when they said earlier that their having problems logging the data

#

I assumed that was the issue

#

Now they are saying its the event name so I am confused what they wanted

grim sundial
#

i meant t instead of d

earnest phoenix
#

Are you sure message create is even being fired.

grim sundial
#

its not being fired

#

thats the issue

earnest phoenix
#

Mmmm I see

#

What are you doing to try and make it fire the event

pale vessel
#

Send a message...?

#

🩴

earnest phoenix
#

Well yes but how

#

They could be doing it wrong

grim sundial
#

?

earnest phoenix
#

Hence the event wont fire

#

You are making a custom library yes?

grim sundial
#

yeah?

#

im not emitting it to the discord client yet, this is raw ws

earnest phoenix
#

Ah I see

#

I was under the assumption you were using a discord bot to test this all out or smth

grim sundial
#

what

pale vessel
#

well yeah

#

that's the only way

earnest phoenix
#

Then I must be confused

#

Thus I will refrain from trying to help you further so I don't confuse you.

#

Sorry if I caused any confusion, I don't have a ton of experience with the discord api on this level

grim sundial
#

na all good

earnest phoenix
#

I hope you get the help you need

#

and when you finish it I would love to check it out

grim sundial
#

some of the code is already public

#

well by "some" i mean all the code minus the stuff i've done today

earnest phoenix
#

Oh nice

grim sundial
#

logged out my main acc

#

dubyu

pale vessel
#

Oh

#

You again

grim sundial
#

hi

earnest phoenix
#

Looks cool

#

Doing it in JS nice

grim sundial
#

imma push the updated code so if anyone knows how 2 fix, lmk pls

frosty pier
#

How do I put my bot online?

grand wigeon
frosty pier
#

What?

grand wigeon
#

??

frosty pier
#

How do I put my bot online?

grand wigeon
#

How am I suppose to know

limber mica
#

Im trying to convert to kurasuta yet i get an options.clusterCount is undefined

grand wigeon
limber mica
#

Or rather

this.clusterCount = Number((_a = options.clusterCount) !== null && _a !== void 0 ? _a : os_1.cpus().length);
                                                 ^

TypeError: Cannot read property 'clusterCount' of undefined
    at new ShardingManager (N:\Desktop\ColdRP bot\node_modules\kurasuta\dist\Sharding\ShardingManager.js:41:50)     
    at Object.<anonymous> (N:\Desktop\ColdRP bot\main.js:5:17)
    at Module._compile (node:internal/modules/cjs/loader:1092:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1121:10)
    at Module.load (node:internal/modules/cjs/loader:972:32)
    at Function.Module._load (node:internal/modules/cjs/loader:813:14)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:76:12)
    at node:internal/main/run_main_module:17:47
#

;-;

long crow
grand wigeon
#

This is complicated

grim sundial
limber mica
#

im big dumb dumb

long crow
# grim sundial what?

Your repo you showed earlier, "homepage": "https://github.com/OfficiallyLost/LostCord#readme", "dependencies": { "axios": "^0.19.2" } }

limber mica
#

how in the hell do i use kurasuta

grim sundial
long crow
#

no idea either...

grim sundial
#

one sec, lemme find it

long crow
grim sundial
#

what

#

this has nothing to do with anything related to my issue

#

i dont get it

#

no

#

no it wont

long crow
#

Lol? NOT MY ISSUE. wtf are you saying

grim sundial
#

what the fuck is going on

pale vessel
grim sundial
#

nah

pale vessel
#

Your intents were inside properties

#

It should be outside

long crow
#

Well, yeah tagging me? How am I suppose to know you talking to another person

pale vessel
#

and you didn't send your identify payload

#

You only logged it

grim sundial
#

:/

#

dub

#

thank u

pale vessel
earnest phoenix
#

"iM nOt cLicKiNg tHaT" its a discord link what is discord going to dox you

grim sundial
#

alr, imma get around to doing it now. hopefully dis works den

errant flax
#

just bc its blue doesnt means it can harm u(most of the time)

earnest phoenix
#

Its blue cause its a link

#

Someone would have to try hard to mask a IP logger as a discord link

grim sundial
# pale vessel and you didn't send your identify payload

alr, so, same thing :///```js
case constants.OPCODES.HELLO:
this.heartbeatInterval = payload.d.heartbeat_interval;
this.send(payload);

                setInterval(() => {
                    this.heartbeat(this.heartbeatInterval);
                    this.send(payload);
                    console.log('sent heartbeat and op 1');
                }, this.heartbeatInterval);
        }```
earnest phoenix
#

Doubt Cakes would really care

grim sundial
#

and intents have been moved out of properties

pale vessel
#

Rename your identify payload

#

Or just provide it directly w/e

#

Also your heartbeat method already has a setInterval()

#

And include ws in your package.json

grim sundial
#

oh... i've got the two mixed up ://

#

thank

grim sundial
earnest phoenix
#

I wish I had the patience to make a lib

#

I don't have the patience nor the focus

long crow
pale vessel
#

They're using JS, no?

earnest phoenix
#

They don't really have a need for discord-api-types if they are using JS

#

Unless they wanna JSDoc everything

limber mica
#

How do i make a post request to post my stats to top.gg?

long crow
#

jsconfig.json go Brrrr

earnest phoenix
#

By using the post method on the stats endpoint

#

or using the modules they have for posting your stats

#

Check out the api tab on the page

grim sundial
#

okay, same thing is happening

#

how dumb am i being?

#

wait one sec

#

edited pastebin btw

pale vessel
#

Can you get rid of this and try again?

grim sundial
#

the setInterval ?

pale vessel
#

Also, maybe paste the full code

pale vessel
grim sundial
pale vessel
#

Err, intents is outside d now

grim sundial
#

i wanna die

#

it works

#

thank you mate

earnest phoenix
#

five seconds later you give them a tabnine link that is totally unrelated to their issue 🧠

rocky hearth
#

how can I set a svg (created using the tag), to a background image of div?

sly sierra
lethal trout
cinder patio
#

tax is not always initialized

#

everytime you initialize it it's in an if statement

gusty kestrel
#

@wheat mesa help

cinder patio
#

"initialized" as in given a value

lethal trout
#

then how is it working

#

but not

#

that

cinder patio
#

... because one of the if statements gets executed, but if none do, then it's not going to have a value and you'll get an error

earnest phoenix
#

bruh

cinder patio
wheat mesa
# gusty kestrel <@173489654144696320> help
{
  "name": "wafflebot-detritus",
  "version": "1.0.0",
  "description": "",
  "main": "out/index.js",
  "scripts": {
    "test": "echo \"Error: no test specified\" && exit 1",
    "dev": "ts-node -T -P ./tsconfig.json ./src", // Don't worry about these scripts right now
    "start": "node -r ts-node/register/transpile-only ./src/index.ts"
  },
  "author": "",
  "license": "ISC",
  "dependencies": {
    "dependency-name": "dependency-version", // EX: "discord.js": "^12.5.3"
  },
}

Your package.json file structure should look something similar to this

gusty kestrel
#

Alr

cinder patio
#

ok wtf

gusty kestrel
#

@wheat mesa can u just tell me where the terminal is?

cinder patio
#
{
    "compilerOptions": {
      "target": "es6",
      "module": "commonjs",
      "declaration": true,
      "rootDir": "./src",
      "outDir": "./dist",
      "removeComments": true,
      "strict": true,
      "experimentalDecorators": true
    },
  }

Perfectly valid JSON and yet JSON.parse is screaming

const options = JSON.parse(fs.readFileSync(pathToOptions, "utf-8"));
SyntaxError: Unexpected token } in JSON at position 266
earnest phoenix
#

Makes sense.

cinder patio
#

wht>

earnest phoenix
#

The error

cinder patio
#

👀

earnest phoenix
#

I have a feeling it doesn't think it is valid json.

cinder patio
#

but it is

#

ok wait wtf

earnest phoenix
#

Well i'd help but I am way too tired

gusty kestrel
#

@cinder patio where is terminal

cinder patio
#

I found the issue it was the comma

earnest phoenix
#

Oh right

#

commas are a bitch

cinder patio
#

but my editor said it's fine

earnest phoenix
#

trailing commas in json are a bitch

#

Using vscode?

#

If so I don't think vscode recognizes trailing commas as an error

pale vessel
#

ph

earnest phoenix
#

Yea

pale vessel
#

Didn't press escape

earnest phoenix
#

vscode doesn't recognize trailing commas as an error

#

unless you have a linter maybe?

#

iirc a linter could catch that no?

wheat mesa
gusty kestrel
wheat mesa
#

Your curly brackets in your package.json file are wrong

wheat mesa
#

Remove the second curly bracket on line 18. That should fix the issue.

#

If it doesn’t, then I’ve overlooked something. It’s 2:30am and my brain is fried

quaint wasp
#

So I did this:


        const thatGuild = message.guild.id;

        const list = client.guilds.cache.get(thatGuild); 
        list.members.cache.forEach(member => {
            const memberID = member.id

            if(memberID !== globalBanned) {
                const embedGOOD = new Discord.MessageEmbed()
                .setTitle('Scanner')
                .setColor('GREEN')
                .setDescription('We did not find any blacklisted users!')
                .addField('Your server is safe.', 'We only blacklist users that do not follow the most obvius rules, such as bulling, hurshing, and more.')

                message.channel.send(embedGOOD)
            }
            if(memberID === globalBanned) {
                const embed = new Discord.MessageEmbed()
                .setTitle('Scanner')
                .setColor('RED')
                .setDescription('We found a blacklisted user in this server!')
                .addField(`‼️ WARNING ‼️', 'We found a blacklisted user! Please check your server for these IDS: \n ${globalBanned} \n To search up an ID type ++user-info <ID>`)

                message.channel.send(embed)
            }
        }); 

And now it spams the server, because it is running this procceses for each single member.
How do I scan them all at ones and send only one embed?

gusty kestrel
#

@wheat mesa

#

Uhhh

wheat mesa
#

Remove your keywords

#

Not sure if that’s the problem entirely, but it’s worth a shot

gusty kestrel
wheat mesa
#

Other than that, I don’t see anything wrong with that json

gusty kestrel
#

@wheat mesa sorry but why is it showing this new error

quaint wasp
#

what the...

gusty kestrel
#

I've put the correct token

wheat mesa
#

I recommend learning Javascript before making a bot

gusty kestrel
wheat mesa
#

When it says “invalid or unexpected token” it is not talking about your bot token, it’s talking about an incorrect character in your syntax

quaint wasp
#

I suggest practesing on the bot tho.

wheat mesa
#

You use ' to start off your string, but then end it with `

quaint wasp
#

Like trying out things and learning form em

wheat mesa
#

Which is incorrect

gusty kestrel
#

Ok

wheat mesa
#

You’ll get very confused with the basics such as what’s happening here

quaint wasp
#

Nah, I mean I did that, and it was trash, then moved on to making a bot and learned wayyy more from making it for a week then I did while passing the W3School javascript lessons for like a month or so

quaint wasp
wheat mesa
#

People learn in many different ways, but that doesn’t mean it’s a good way to learn

gusty kestrel
#

alr

#

I'll YouTube how to learn JavaScript

quaint wasp
#

whoa

wheat mesa
#

Good idea!

gusty kestrel
#

Ty for helping

quaint wasp
#

Idk... If you watch one vd you get addicted to it and then cant code unless theres a tutoreal for that...

wheat mesa
#

Knowing how to read error messages is very important

quaint wasp
#

Thats pretty much how 3 of my friends ended up after watching that whole guid of wornoff keys

earnest phoenix
#

Wait you guys can read?

quaint wasp
wheat mesa
#

Logically debugging one step at a time is one of the fundamentals of development in general

earnest phoenix
#

No I have text to speech on

quaint wasp
#

agreed.

quaint wasp
earnest phoenix
#

Im kidding btw

#

ofc I can read

quaint wasp
#

By the way how does it call this:

``:*"$)`

#

What did it say?

#

aww

earnest phoenix
#

Idk I don't have text to speech on

#

nor would i want it to say that

quaint wasp
#

alright idk if this is the right support channel for this

#

alright.

#

👍

#

so can someone help me with the thing I need help with?

earnest phoenix
#

It legit said asterisk dollar

#

lmfao

quaint wasp
quaint wasp
#

help?

wheat mesa
#

My brain is too fried to look at all of that atm, but I can see that you’re using forEach which is slow compared to a for(const blah in blahblah)

rocky hearth
#

what font is closest to Agency FB preinstalled on mac?

quaint wasp
#

idk

wheat mesa
#

Just general advice

quaint wasp
#

not going to switch to that

wheat mesa
#

I’m not sure if this is the best way to do this, but you could have a variable called something like foundBanned and set it to true if a member is found to be banned, then after your loop finishes iterating over each member, you can check the value of foundBanned and send an embed accordingly

#

The problem is that you’re sending an embed for each user it iterates over

quaint wasp
#

ya.. ik

quaint wasp
wheat mesa
#

Yeah something like that

quaint wasp
#

Idk what to put after the foundbanned variable lol

wheat mesa
#

Except make sure to declare foundBanned outside of your forEach scope so that you can use it outside of the forEach

quaint wasp
#

o. right

#

so.. Now idk what to put after.

#

Actiaully nvm

wheat mesa
#

I’m sure you’ll figure it out, I’m headed to bed

#

3am is far too late for me to be awake at

hallow bridge
#

hey, guys, such a problem, I'm making a rank card, and as I understand in PIL, you can only use one font for a nickname, I use DejaVuSans.ttf, as you can see, not all characters are supported here, what should I do?

Example: ⭕⃤ᶠo𝕆𝕤𝕖𝕋🔥𝕣𝕚ℕ𝕜𝔸😂
discord.py

quaint wasp
#

yyya...

hallow bridge
near stratus
#

also limit the text length

near stratus
#

idk in py

pale vessel
#

Does it not support fallback fonts?

hallow bridge
fresh verge
#

How does one loop through every document in a collection (JavaScript) (MongoDB)?

gusty kestrel
#

Can someone show me a tutorial of JavaScript

marble juniper
#

@gusty kestrel

#

you can also try this

gusty kestrel
slender thistle
pale vessel
#

I thought that was a sentence at first

near stratus
cinder patio
#

I recommend using .forEach directly instead of .toArray

#

.toArray loads all elements in-memory all at once while forEach doesn't

woeful pike
#

it depends on what you need

earnest phoenix
#

Can esbuild parse .xml file imports?
Example: import anime from "./marco.xml"

amber thistle
#

so im making a comments section for my bot list, and i have a array of user ids, i would need their username and avatar to display at the comments section so i was wondering is there anyway to fetch a array of user ids without getting rate limited

earnest phoenix
#

cache them in your db right when they login

quartz kindle
#

only if they are all from the same guild, otherwise no

amber thistle
#

well i was thinking of storing their name and avatar in the db but if they were to update their username/avatar, i would have to loop through all comments that ever existed in the db and update it

earnest phoenix
#

no

amber thistle
#

oh

earnest phoenix
#

afaik the browser will fetch the image again from the link your js provides unless it's cached

amber thistle
#

brain fart moment

quartz kindle
#

why not just pull their name and profile from the db on comment rendering?

#

once its updated, the next time the page is loaded, it would be rendered with the updated links

amber thistle
#

im writing down on how i should work this out rn

#

hella confused

quartz kindle
#

how do you store the comments?

#

probably in a database table containing user id and comment text no?

amber thistle
#

in a schema

const botComments = mongoose.model("bot comments",
    new mongoose.Schema({
        _id: String,
        comments: Array
    })
)
#

each object going into comments looks like

user: user id
content: comment content
quartz kindle
#

yes

#

so when the page is loaded

#

you fetch the list of comments

amber thistle
#

u mean when the page is rendering

quartz kindle
#

and for each user id from the list, you fetch their username and profile from another schema

#

yes

amber thistle
#

hm is there a way to make next.js render faster

quartz kindle
#

you cache it

amber thistle
#

it takes like 2-3 seconds per page rendering and theres not many elements

amber thistle
quartz kindle
#

idk how next.js works as i never used it. does it use server side rendering?

amber thistle
#

the method im using rn is fetching everytime it loads

earnest phoenix
amber thistle
earnest phoenix
#

it should display the cache if the props are the same

quartz kindle
#

the page should be rendered once, and then kept in memory for a while, so next page visit does not rerender

earnest phoenix
#

Yeah

amber thistle
earnest phoenix
#

That's possible

#

getStaticPaths

amber thistle
#

front end is hard

quartz kindle
#

this is backend tho

earnest phoenix
#

You can set how long it is cached

amber thistle
quartz kindle
#

xD

earnest phoenix
#

doesn't next/image already use caching tho?

#

also why aren't you just using disqus for the comments section

#

you wont have to handle XSS too

boreal iron
#

And no one wants caching! The kids want techno, not caching.

earnest phoenix
#

anyways
why do we have to use external libs for parsing xml when json has native support?

cinder patio
#

what uses xml?

quartz kindle
#

who uses xml?

earnest phoenix
quartz kindle
#

json has native support because its a native feature of the language lul

#

xml is not a native feature of any language

earnest phoenix
#

why

pale vessel
#

Because it's a markup language

quartz kindle
#

xml is basically offline html

pale vessel
#

Strict brother of HTML

earnest phoenix
cinder patio
#

using xml to store json oldEyes

quartz kindle
#

jason

boreal iron
#

Things always going crazy in this channel

quartz kindle
#

The design goals of XML include, "It shall be easy to write programs which process XML documents."[6] Despite this, the XML specification contains almost no information about how programmers might go about doing such processing. The XML Infoset specification provides a vocabulary to refer to the constructs within an XML document, but does not provide any guidance on how to access this information.

earnest phoenix
#

maybe im just doing the xy problem
here's my original problem:
HTML SUX i have some html

<ul class="smth">
<li></li>
<li></li>
...
</ul>

and i need to convert it to json so i can use it to do shit

You can see where this is going
||ofc i used an xml file to store the stuff||
||and now i need help trying to import xml in esbuild because im using it for react anyways||

quartz kindle
#

then parse them with html processing tools

earnest phoenix
main spruce
#

Who can help me with the drop down menu

slender thistle
#

How helpful is Tabnine even

earnest phoenix
sacred aurora
#

hehehe

quartz kindle
# earnest phoenix example?

idk what you're trying to do and which language you're using, but there are plenty of libraries for reading html, accessing elements and classes, reading contents, writing content, etc

earnest phoenix
#

"hey i think you spelles sometimes wrong, did you mean potato"

sacred aurora
#

he say react so js

earnest phoenix
#

i never use anything other than js because js is terrible and i love yelling at stuff

main spruce
pale vessel
#

Maybe some of us can, but we don't know what to help you with

#

If only you told us what's wrong...

long crow
#

Or tell what languange, what lib you using

boreal iron
#

And/or provide any code

earnest phoenix
#

provide ip

slender wagon
#
WsWebService.ApplyPayout;
(interval here)
WsWebService.ApplyPayout;

this is c# and i am not good at it, how do i add 1 second intervals between these two

pale vessel
#

Task.Delay?

slender wagon
#

do i have to install any module

pale vessel
#

Nope

slender wagon
#

oki i'll give it a shot

#

ty

earnest phoenix
#

congrats, but this isn't the place to talk about queue time

grim sundial
#

i have this: js if (payload.d.type === 0) payload.d.type = { raw: 0, easy: 'Text' }; if (payload.d.type === 2) payload.d.type = { raw: 2, easy: 'Voice Channel' }; if (payload.d.type === 4) payload.d.type = { raw: 4, easy: 'Category' };

#

is there a better way to get rid of all these if statements?

#

and there r gonna be a bit more, 2 i think. it doesnt really look nice if ygim

long crow
#

Switch case?

grim sundial
#

er, not really what im looking for. im trying to make it in a 1-2 liner kinda thing

#

i dont think its possible but was just wondering

long crow
#

Ternary?

#

Well, maybe

grim sundial
#

its kinda the same thing lol. i'd have to repeat it

slender thistle
#

Doubt there's any way tbh

#

Other than making a Map and getting payload.d.type key from it and doing different stuff then, probably via separate functions

grim sundial
#

eh, seems a bit too much just for like 5-6 if statements

#

thank anyways

slender thistle
amber thistle
#

hell yes

earnest phoenix
#

@grim sundial
Make a Map called PayloadTypes and set the type for every number
If payload.d.type is a number, set it to PayloadTypes.get(payload.d.type)

quartz kindle
#
list = ["Text", , "Voice Channel", , "Category"];
payload.d.type = { raw: payload.d.type, easy: list[payload.d.type] }
slender thistle
#

But they go as 0-2-4

pure lily
#

why when I spawn 2 shards the bot responds twice? I use pm2 for startup

modest maple
#

well... are these actually shards, or are you just telling pm2 to start two instances

quartz kindle
quartz kindle
pure lily
slender thistle
#

Oh

#

That's... what the fuck

quartz kindle
pure lily
# quartz kindle show code

const { ShardingManager } = require('discord.js');
const config = require("./botconfig/config.json");
const manager = new ShardingManager('./bot.js', { token: config.token, autoSpawn: true, respawn: true });
const shardcount = 1

manager.on("shardCreate", shard => {
console.log(I've launched shard ${shard.id}.)
})

manager.spawn(shardcount, 10000);

quartz kindle
#

and your bot.js?

modest maple
#

Man fuck my dedi

#

completely timing out

#

I spend $73 a month on this shit

quartz kindle
#

yikes

quartz kindle
#

you have shards:auto

#

remove that

pure lily
quartz kindle
#

yes

pure lily
#

i tell you if it works

pure lily
quartz kindle
#

👍

plain talon
#

Bot no work

vivid fulcrum
#

slap it

pure lily
frank flint
#

Does anyone have code of the servers your bot is in using embeds i can use event as soon as somone adds my bot and itll send a notification in that channel

vivid fulcrum
#

i had an aneurysm reading that

plain talon
quartz kindle
#

client.shard.ids[0]

quiet pawn
#

anyone know a good way to get payments for like paid features because i wanna do for my vote requird command i wanna make it so someone can do a 1 time payment to let them not have to vote and just be able to use the command, if that makes sense

solemn latch
#

patreon and using their api is good

#

since you can tie a discord account to it, it can all be done automagically.

quiet pawn
#

o pog thanks, @solemn latch

#

have a dino nuggy for the help

quartz kindle
#

patreon api is a nightmare

#

plus people have to link their discord accounts to it

solemn latch
#

could also use their role bot which gives donors a role.
a bit less easy imo, but works

modest maple
#

Doesnt help that patreon just dont maintain their api anymore

small tangle
#

How do i obtain the ID of a slashcommand without having to execute it first and then print the ID? i dont find a solution. Im using JDA

earnest phoenix
#

I dont get any error but it doesnt work can someone help me

solemn latch
#

what doesnt work?

earnest phoenix
#

It doesnt edit channel names

vivid fulcrum
#

get isn't a promise

#

it's a cache lookup

#

returns T | undefined

#

there's no catch method on it

#

step through your code

#

debug it

#

try catch it

#

and do proper async/await

quartz kindle
#

also that code is running on every single message

#

you can only update a channel name 2 times every 10 minutes

earnest phoenix
#

i will connect it to guild member actions later

#

Did it for test

vivid fulcrum
#

your code is filled with bugs from the very first line of the run func

#

you're not granted to get the actual @everyone role iirc

quartz kindle
#

also theres guild.roles.everyone

vivid fulcrum
#

slightly relevant: the actual everyone role always has the same id as the guild

#

never do name lookups in cases where the id is known

earnest phoenix
quartz kindle
#

no difference

earnest phoenix
#

My problem is with channel name update not with get everyone role

#

When i solve that ill look for this ok

quartz kindle
#

did you fix what cry told you to fix?

latent heron
#

tim

quartz kindle
#

fl0w

earnest phoenix
#

tim fl0w

slender thistle
#

fl0w tim misty

slender wagon
#

fl0w

earnest phoenix
#

no grainger

#

II would like to add an automatic role when a member reaches a certain number of invitations

if you can help me

#

i don't really know how to do it

earnest phoenix
#

a code ?

earnest phoenix
#

i don't understand 😅

long badger
earnest phoenix
#

i'm french si i'v got a bad english lol

wheat mesa
#

He’s asking what programming language you’re using

long badger
earnest phoenix
#

I just want to add roles automatically when a member has for example 5 invites

wheat mesa
#

What library are you using?

earnest phoenix
#

for exemple : when a people got 5 invite the bot give role (5invites)

long badger
earnest phoenix
#

...

wheat mesa
#

I’ve only done the smallest amount of python, so I can’t really help you

earnest phoenix
#

You'd have to make a invite tracker i'd assume

#

No idea how to do it in python

#

ok thanks

small tangle
#

@digital sonnet can you add me temporary?

quaint wasp
#

uhh... I got this:

const guild = client.guilds.cache.get(supportID)
const memberchannel = guild.channels.get(memberStatsChannel);
``` and it says guild.channels.get is not a function.
earnest phoenix
#

cause its not

#

notice how you usec cache.get on guilds

#

you have to do the same on channels

quaint wasp
#

oh right..

#

so guild.channels.cache.get(); ?

earnest phoenix
#

Indeed

#

also to shorten it you could do it all in one variable

#
const memberchannel = client.guilds.cache.get(supportID).channels.cache.get(memberStatsChannel)
#

Though it doesn't look that nice

quaint wasp
#

nah I got more stuff like serverChannel and Channel Channel lol so theres no need

uneven fulcrum
#

why are some of my votes not getting logged

#

it says i had 40 votes today but only 18 were logged

fresh verge
#

So, with some actions within my database, it has to be db.mycollectionname., what is db suppose to equal? (Javascript) (MongoDB).

quaint wasp
#

also go read there docs its like the first thiing they litilery teach you.

fresh verge
quaint wasp
hexed sedge
#

Just made another small project, feeling good

quaint wasp
#

👍

fresh verge
#
client.connect(err => {
  const collection = client.db("test").collection("devices");
  console.log("Success!")
  client.close();
});``` -_-
warm tiger
#

hi

brave garnet
#

Hey

earnest phoenix
#

Does someone know how can i connect server stat codes to ready i need it bc of if bot crush

lyric mountain
#

poor godzilla

slender thistle
#

@woeful pike How much of a good idea would you consider creating a Discord bot in Rust in terms of getting practice with the language?

woeful pike
#

in terms of getting practice? Probably pretty good, in terms of practical application? Terrible

brave garnet
#

U know? I did similar thing with python. Bot even got accepted... Do it ;)

woeful pike
#

unless your bot is already popular and in hundreds of thousands of servers where you need to minmax throughput

#

and you're comfortable with rust

slender thistle
#

It's mostly just for fun, but I could probably rewrite my bot into Rust (since it's not used much in my server) to gain some more practice working with Rust

#

(Like Discord bots are good in terms of practical application, generally speaking 😛)

brave garnet
#

If u wont try u wont know...

slender thistle
#

Mhm

lament rock
#

Bots can theoretically be proof of work.
Depending on how large, you might employ different techniques which are interesting to possible employers

#

I have some software which is Discord related I'm proud of to show off

lusty falcon
#

Hey, what guild ID does top.gg test from? I wanna so if an error occurs I'll know that top.gg got to testing it

lyric mountain
#

errr...that's private ig

#

and you aren't supposed to interact with the reviewer during testing by using the bot, that'd be privacy breach

sudden geyser
# slender thistle It's mostly just for fun, but I could probably rewrite my bot into Rust (since i...

My two cents: you can gain Rust experience this way, but I feel creating the same project in the same problem domain doesn't yield much success since people usually don't employ good strategies for their paradigms. I don't see anything wrong with using Rust even if you don't need the low-level fast performance because Rust can (and has) been used as both a high-level and low-level programming language.

gilded plankBOT
#

@lusty falcon

The only guilds we might invite your bot to regarding Top.gg-related things such as verification or polls are:

  • 333949691962195969 - Top.gg Verification Center
  • 264445053596991498 - Top.gg
  • any guild owned by a user with the role <@&767389896133443625> in this server.

Any other guild claiming to be affiliated with Top.gg's verification is very likely false.

lusty falcon
#

Thanks

slender thistle
earnest phoenix
#

First fail in trynna create my own code

#

client.on("message", async message => {

if(message.content.startsWith('-WYR')){

const { WouldYouRather } = require('gamer-discord-utils')
    await WouldYouRather(message)
                          }
                          } 
    ```
#

Someone told me it was wrong but I never got the reason as to why can someone explain what did I do wrong

short siren
#

bro require it at the top of your code

#

also you forgot a bracket i think

#

at the end

#
const { WouldYouRather } = require('gamer-discord-utils')

client.on("message", async message => {
  if (message.content.startsWith('-WYR')) {
   const w = await WouldYouRather(message)
  }
})```
#

I haven't used that package before so I might be wrong as I'm unsure what it does

lyric mountain
#

tbf it's a veeeery dangerous pitfall to depend on packages to serve as pre-made commands

short siren
#

yeah for a simple would you rather command it'd be easy to just make it yourself

split hazel
#

i've never heard of this

#

i bet these packages are made by newbie node developers

#

theres no way someone experienced in their right mind would make a package like this

wheat mesa
#

I guess you’re not wrong though, the dev on the GitHub page for it said he made it as he was learning programming back in 2014...

split hazel
#

this isn't even as bad

#

with the utils package you're just gonna effortlessly use someone else's command that looks exactly the same

wheat mesa
#

So many people use it

#

No idea why

split hazel
#

because not many people know modulus exists

wheat mesa
#

True

split hazel
#

and they've learnt to look at npm if they dont know how to make something

#

it took me like a year into js to realise modulus was a thing

wheat mesa
#

A comp sci class I took in high school taught modulus in the first 2 weeks

split hazel
#

i started way before my computer science class started

#

guess i was just unlucky lol

wheat mesa
#

I started before then too

#

Never knew about modulus until my computer science class taught us

#

Granted it’s kind of a niche thing that most people don’t use

sinful pecan
#

Good evening I was certified at top.gg today GG 🙂 I would like to place an order that allows to know who has voted for my bot we could help me please

wheat mesa
#

An... order?

sinful pecan
#

I would like to ensure that if a user vote for my bot sends it to me in a defined channel

wheat mesa
sinful pecan
#

thanks

split hazel
#

that'll be 2.99 is there anything else you would like to order?

plush grove
#

Why this do not give role ```js
client.on("messageReactionAdd", async (reaction, user) => {
const emoji = "👍";
const channel = client.channels.cache.get("867207482514341918")
const m = await channel.messages.fetch("868277595249213480");
if (reaction.emoji.name == emoji && reaction.message.id == m.id) {
const member = await reaction.message.guild.members.fetch(user.id)
member.roles.add("847142688737329193");
};
});

tulip ledge
#

best way to get last 2 indexes of an array? Array can be any size from empty to like 200

grim sundial
tulip ledge
#

ty

grim sundial
#

yw

wheat mesa
#

Ex: myArray[myArray.length-1]

#

Etc

tulip ledge
#

I know that but that wouldn't be "nice" code

wheat mesa
#

Why not?

tulip ledge
#

As you'd have [ array[array.length-1], array[array.length-2] ]

#

and array.slice(-2) is way nicer

wheat mesa
#

Fair enough

#

Whichever one works for you

grim sundial
#

i've jus been workin on something, and im a bit confused with something

#

wait one sec..

#

my vscode is just freezing

#

okay

#

wait nvm

crisp gate
#

how to re-apply with the same descriptions and details? I didn't save/copy the details that I wrote in the website

grim sundial
small fractal
#

what do i get for boosting this server?

wheat mesa
#

A cool role

#

Also that’s not really a development question but whatever

small fractal
#

oh sorry wrong channel

#

my bad mate

thorny flume
#

how can i get a message by id i sent?

solemn latch
#

869018138317045871

#

there you go

earnest phoenix
#

yes unnecessary extra lines of code

#
let member = message.mentions.members.first();
    let role = message.guild.roles.cache.find(role => role.name === "Muted");
    if(!member) return message.channel.send("Pls Tag a User to **Unmute**!");
    if(!role) return message.channel.send("This Server Doesnt has a Muted Role!");
    if (!member.roles.cache.has(role.id)) return message.channel.send("This User Already **Unmuted**!")
    if(!reason) reason = "No Reason Specified!"
    member.roles.remove(role)
#

and then add embed msg

#

On many servers the muted role is called "Muted"

#

I pasted mute codes lemme edit it

#

This is should work

#

You can add
member.send("you muted in guild.name")

errant flax
#

is it good practice to make a temporary timed data with setInterval wiggleflushed

errant flax
#

u need to make it template literal or something

earnest phoenix
tight trail
#

how do i make a command, that only works if you have a certain role in my discord server

latent heron
#

@earnest phoenix

try:
    self.config.read("data/access.ini")
    for section in self.config.sections():
        if section == "API":
            val = self.config[section][key]
            if val not in ["", 0, False]:
                return val
            else:
                raise FeederError(message=f"{self.err}: Given key '{key}' does not exist or nothing found.")
except FeederError as error:
    return error
#

i'm insane

#

also

#

.ini > .env

#

this is irrefutable

sterile thicket
#

In index.jsjs const args = message.content.slice(prefix.length).trim().split(/ +/g);
then this args gets exported to another file where I used it as: js let cmd = args[0]
It works that way... But when I use toLowerCase(), i.e: js let cmd = args[0].toLowerCase()
it gives me an error: Cannot read property 'toLowerCase' of undefined

wheat mesa
#

then args is undefined

#

You are actually exporting it, correct?

#

Try logging the value of args[0]

prisma osprey
#

C

sterile thicket
lament rock
#

the error makes the value obvious

worthy ivy
#

explain

latent heron
#

it just is

worthy ivy
#

sus

#

still going to use .env since thats the only thing i can set my environmental variables mmLol in heroku

quiet pawn
#
const { Util } = require('discord.js-light');
Topgg = require("@top-gg/sdk");
const topgg = new Topgg.Api(``);
const config = require("../config.json");

module.exports = {
    name: '.',
    aliases: ['add'],
    description: ".",
    async execute(client, message, args, command, Discord) {
        
        let voted = await topgg.hasVoted(message.author.id);
        
        if(voted || config.patreonids.includes (message.author.id)) {
            

        if (message.member.guild.me.hasPermission("MANAGE_EMOJIS", "ADMINISTRATOR")) {
        if (!message.member.hasPermission("MANAGE_EMOJIS", "ADMINISTRATOR")) return message.channel.send("You need `ADMINISTRATOR` or `MANAGE_EMOJIS` to use this command.");
    
        if (!args.length) return message.reply ("Please Specify some emoji's");

        for (const rawEmoji of args) {
            const parsedEmoji = Util.parseEmoji(rawEmoji);

            if(parsedEmoji.id){

                const extenstion = parsedEmoji.animated ? ".gif" : ".png";
                const url = `https://cdn.discordapp.com/emojis/${parsedEmoji.id + extenstion}`;

                message.guild.emojis.create(url, parsedEmoji.name)
                .then((emoji) => {  
                    
                    const yeet = client.emojis.cache.get(`${emoji.id}`)

                    const complete = new Discord.MessageEmbed()
                    .setColor('RANDOM')
                    .setTitle(`Complete \`${parsedEmoji.name}\` added`)
                    .setDescription(`Url: \`${emoji.url}\``)
                    .addField("Emoji:", `${yeet}`)
                    return message.reply(complete)
                })
                .catch(() => { 

                const failed = new Discord.MessageEmbed()
                .setColor('RANDOM')
                .setTitle(`Failed`)
                .setDescription('Failed to add because you are at max emotes')
                .setImage(url)
                
                return message.reply(failed); 
            })
        }
        }
    } else{

      const novote = new Discord.MessageEmbed()
      .setColor('#FFE082')
      .setTitle('You need to vote to use this command')
      .setDescription(`[Top.gg Vote](https://top.gg/bot/ /vote)`)
      .setTimestamp()

    return message.channel.send(novote)
    }
}
}
}
#

HOW

worthy ivy
earnest phoenix
#

whats the line 14

#

im on mobile

quiet pawn
#

like

#

of user id's

worthy ivy
#

but config.json is a json

quiet pawn
#

yes

radiant kraken
quiet pawn
#

it worked 100% fine on my test bot

#

thats why im confused

civic scroll
earnest phoenix
civic scroll
#

check if spelling is correct

earnest phoenix
radiant kraken
#

@quiet pawn config.patreonids is undefined

worthy ivy
quiet pawn
#

that makes nosense

#

because it is

worthy ivy
#

check config.json then

quiet pawn
#

i did

civic scroll
worthy ivy
#

then go to property patreonids

quiet pawn
#

lol

quiet pawn
civic scroll
quiet pawn
#

well it does

#

lol

#

it worked 100% on my test bot

worthy ivy
#

it is outside of any properties

#

right

quiet pawn
#

then when i moved it to my main bot

#

it just error'd

radiant kraken
#

see it on ur main bot

#

it may be undefined on ur main bot

quiet pawn
#

the error is on main bot

civic scroll
radiant kraken
#

^

quiet pawn
#

my test bot works fine

#

with the command

civic scroll
radiant kraken
#

look at patreonids on ur main bot

quiet pawn
#

i have

sly jetty
#

whats happening here

quiet pawn
#

thats what im looking at...

#

lol

worthy ivy
#

then copy the same config.json from the test bot to the main bot

quiet pawn
#

i cant

radiant kraken
#

why

worthy ivy
#

why

quiet pawn
#

because token

#

and bunch of other stuff

worthy ivy
#

i-

quiet pawn
#

that main bots config has

sly jetty
quiet pawn
#

that other doesnt

sly jetty
#

stoopid

quiet pawn
#

?

worthy ivy
#

who stores token in json files

civic scroll
#

welcome to inspect

worthy ivy
#

store it in a .env file dummy

sly jetty
quiet pawn
civic scroll
quiet pawn
#

its a test bot for a reason

civic scroll
#

as that kind of data may be dynamic

sly jetty
#

and use process.env.TOKEN or token
in the env it should be TOKEN="(token)" or token=

worthy ivy
civic scroll
worthy ivy
#

and i mean ANY other properties

quiet pawn
#

1 sec

civic scroll
#

pause the bot at that line

#

then inspect the values

earnest phoenix
#

@quiet pawn console log config.patronize then

quiet pawn
#

ill just copy my config.json from test and change the stuff i needa change

earnest phoenix
#

or config

worthy ivy
earnest phoenix
#

yeah

#

my brain is smol

worthy ivy
#

same dw

civic scroll
long crow
civic scroll
#

stop console.log

#

use debugger

worthy ivy
#

dugger

#

DUGGER

quiet pawn
#

lol

earnest phoenix
#

dugger

worthy ivy
#

dugger

radiant kraken
#

no

quiet pawn
#

imma just copy my test bots config then edit the roken and stuff

long crow
#

roken

civic scroll
quiet pawn
#

yea

#

ik

earnest phoenix
#

i hope you didnt forgot to do ctrl s

civic scroll
#

otherwise you will make silly errors

#

also

#

typescript

#

thank me later

quiet pawn
earnest phoenix
#

and its actually an issue

worthy ivy
earnest phoenix
near stratus
civic scroll
#

imagine keyof typeof

sly jetty
#

guys im still finding how to host my bot in heroku
can anyone help
rn using it on replit.com topggFlushed

quiet pawn
#

so

earnest phoenix
#

i use js every time because i only know js

quiet pawn
#

what happened was i moved the config to the vps before it saved

quiet pawn
#

lol

worthy ivy
#

btw, sqlite dosnt work on heroku

#

just a heads up

sly jetty
sly jetty
earnest phoenix
near stratus
earnest phoenix
#

Procfile*

sly jetty
#

then ima use replit then

civic scroll
earnest phoenix
#

yeah

rose warren
worthy ivy
sly jetty
#

repl gud ( guess my friend gave me a boosted repl)

civic scroll
#

why replit

near stratus
civic scroll
#

glitch

rose warren
#

But yes. Heroku is bad.

earnest phoenix
#

glitch bad

earnest phoenix
#

i mean its not bad

near stratus
sly jetty
earnest phoenix
#

its not for bots

civic scroll
#

but imagine express

near stratus
earnest phoenix
#

they litterally dont want discord bots(or pingers)

sly jetty
#

cause i guess replit is fast for me
The project is fast now because boosted replit

civic scroll
#

and 12hour-active time

earnest phoenix
#

dont use glitch lol

civic scroll
sly jetty
near stratus
#

noone uses glitch anymore

rose warren
#

Using glitch for a discord bot is against glitch tos

earnest phoenix
#

your account can get banned for pinging the project

sly jetty
earnest phoenix
sly jetty
#

🥔 💻

#

mine
^

civic scroll
earnest phoenix
#

testing the bot etc is fine

rose warren
#

Yeah and as a result you have to break tos to host your bot.

civic scroll
#

ah

#

i'm self-hosted

#

will buy a rasberry pi when i'm done

earnest phoenix
#

i didnt use glitch since it blocked uptime bot and freshping

near stratus
earnest phoenix
#

i now use replit + rpi zero

civic scroll
near stratus
earnest phoenix
worthy ivy
rose warren
#

There are cheap / free vps options out there. Better than hosting on heroku, replit and glitch imo.

earnest phoenix
#

its fine lol

worthy ivy
#

also mongodb compass mmLol

civic scroll
near stratus
worthy ivy
#

lol

civic scroll
#

actually firebase tho

earnest phoenix
#

i wish i had something like rpi 3 or rpi 4

civic scroll
#

i wish

sly jetty
worthy ivy
earnest phoenix
worthy ivy
#

third world country moment

#

and living in a province moment

near stratus
earnest phoenix
#

you need to have cooling™

worthy ivy
solemn latch
#

Or just a minor underclock and undervolt

worthy ivy
#

heroku dark mode when

wheat mesa
#

store your rpi in the fridge

sly jetty
earnest phoenix
#

my rpi got to 50c before

earnest phoenix
#

ez

sly jetty
sly jetty
#

i had a old powerbank

#

but its broken

#

and i cant fix

#

:(

long crow
#

Why not host it on your parent pc?

earnest phoenix
#

rpi doesnt use that much

wheat mesa
#

Plus running hardware 24/7 causes more wear and tear over time

worthy ivy
sly jetty
worthy ivy
#

lol rpi and router have like low power usage

near stratus
#

But I don't trust my internet provider
they succ

sly jetty
wheat mesa
modern patrol
#

yo

#

can anyone help me

sly jetty
sly jetty
modern patrol
#

does anyone have verified bot here pls dm me

long crow
#

I mean, you can search it on internet for youself

earnest phoenix
#

lol

wheat mesa
sly jetty
earnest phoenix
#

if it can then zoomeyes

modern patrol
near stratus
modern patrol
wheat mesa
#

Well I'm not sure about rpi's, but 50c isn't that high in general

modern patrol
#

first question what to fill in these

wheat mesa
#

I mean... I think it's fairly straighforward

near stratus
sly jetty
modern patrol
wheat mesa
#

Do you use your bot to store any information in relation to discord?

modern patrol
modern patrol
sly jetty
wheat mesa
#

I believe so

earnest phoenix
worthy ivy
#

you are whitelisting for intents correct?

wheat mesa
#

80c and under is pretty fine yeah

#

Just don't want it running at like 80c for days at a time

sly jetty
#

my pc goes to 90 c everyday

#

😑

#

it becomes roasting pan

worthy ivy
#

"yes be like my laptop and have max fans on and have it running on an air conditioned room"

sly jetty
#

i got only one fan

#

and my ac sus

worthy ivy
earnest phoenix
sly jetty
#

a/c

#

bruh

modern patrol