#MatVexe1845

1 messages · Page 1 of 1 (latest)

woeful ivy
#

t

#

Okay wassup

vale plover
#

all good buddy thanks

#

but i still dont understand

#

i dont have any api ratelimit

#

nothing

woeful ivy
#

weird

#

console doesnt show anything?

#

have you tried running a bot with the same logins but only logging it in

#

so the bare basics basically

vale plover
woeful ivy
#

tf

#

thats so weird

#

is it a big bot?

#

what version of djs?

vale plover
#

normally there is an extra line that says "{botusername}

vale plover
vale plover
woeful ivy
#

hmm

#

so it does connect to those things?

vale plover
#

only mongoose

woeful ivy
#

hmmm

vale plover
#

but its work

woeful ivy
#

and if you console.log in client.on(ready)?

#

does it ever reach that

vale plover
#

not even reach

#

wtffffffff

woeful ivy
#

dafuq

#

umm

vale plover
#

It's starting to stress me out

woeful ivy
#

try the bot token in a new bot

#

so use basically only this

#
const Discord = require('discord.js')
const { Client, Intents} = require('discord.js')
const client = new Client({
    partials: [],
    intents: [],
    makeCache: Discord.Options.cacheWithLimits({
        MessageManager: 200,
        PresenceManager: 0,
    }),
})
client.once('ready', () => {
    console.log(`Logged in as ${client.user.tag}`) 
})

client.login("")```
#

the most basic of basic

#

if this doesnt work you are a wizard

#

are you sure the tokens are not used by anyone else? shouldnt be an issue even if they had but maybe your token got reset or something

vale plover
#

WORKING

woeful ivy
#

oo

vale plover
#

why the fuck

woeful ivy
#

the full bot

#

it just wanted a holiday

#

xd

vale plover
#

nooooo

#

i mean it works

#

with the simple code

#

😭

woeful ivy
#

ah okay

#

thats fine

vale plover
#

what am I supposed to do

woeful ivy
#

so something is messed in your big bot

vale plover
woeful ivy
#

try deleting and re NPM'ing your djs

vale plover
#

this is my 2 bots

woeful ivy
#

ive thought that many times before

#

reinstalling the packages could fix anything wrong with thos

#

ofc they should never corrupt or just die

vale plover
#

I really don't understand, really everything is stopped at the same time

woeful ivy
#

hmmmm

#

2 bots at the same time

#

feels sus

#

i saw an eval.js

#

thats scary

vale plover
#

hmm?

woeful ivy
#

allowing things to eval is something ive always heard is quite bad

vale plover
#

I never use it

woeful ivy
#

but ofc theres uses for it

vale plover
#

hahahaha

woeful ivy
#

xd

vale plover
#

just a owner command *

woeful ivy
#

ah cool cool

#

but umm

#

still no worky worky with new packages?

vale plover
#

no

#

i want to cry

#

rly

#

idk what i can do

woeful ivy
#

go to discord dev portal, make a new bot token and add it to your server

vale plover
#

i will try to regenate all

#

tokens

woeful ivy
#

then run the bot

#

ye

#

maybe that works

#

dont even need to add to your server

vale plover
#

I am deleting all the nodes packages

#

I'm praying

woeful ivy
#

yup just yeet them all

vale plover
#

if it doesn't work

#

what do I do?

woeful ivy
#

reset tokens

vale plover
#

i did

woeful ivy
#

then try with a dif token (make a new bot)

#

im running out of ideas tho

#

since it works with my code

#

it might be an issue with your code and the discord api or something?

#

cause they pushed changes and shit

vale plover
#

i think $

#

this is a discord bug??

woeful ivy
#

with the new automoderation bs they are pushing

vale plover
#

not working 😭

woeful ivy
#

ask the guy in djshelp

#

at this point i have no clue anymore

last vigil
#

@vale plover

vale plover
#

i try now

woeful ivy
#

try also on a dif ip

#

With a dif token but the same code

#

that would confirm rate limit

last vigil
#

Yes literally change nothing besides the token

#

Ping me when you’ve done that

vale plover
woeful ivy
#

make sure you arent setting any slash command permissions or anyting

#

but youre not reaching ready event

vale plover
woeful ivy
#

do you have access to a dif pc

#

somewhere else

#

a friend you can ask or somehting

#

but no you can type in dc so you arent getting completely rate limited

last vigil
#

You can still get rate limited and talk

woeful ivy
#

ow?

#

i couldnt when i had that

#

vut i had 15 bots spam tagging me at max speed

last vigil
#

Some guy just got rate limited we’re pretty sure. And he’s talking

woeful ivy
#

so i am not one to talk

woeful ivy
#

if only they gave a good event or log for it

vale plover
#

for example

last vigil
#

What does that have to do with your code not running

#

Show the index file

woeful ivy
#

this is interesting code tho

#

lol

last vigil
#

Yea I don’t do stuff like that

woeful ivy
#

hell no

#

just require path and just path.resolve

#

instead of process.cwd

vale plover
woeful ivy
#

but this isnt a code review

vale plover
#

here my index..

last vigil
#

I’m so lost where is the ready event

woeful ivy
last vigil
#

Where is the login event

vale plover
#

here

woeful ivy
#

why is that in a dif file?

vale plover
#

not even reach the

console.log(`${client.user.tag} is online!`)
woeful ivy
#

put the client.ready thing in your index

#

and see if that logs

vale plover
#

ight

woeful ivy
#

above all your file reading and stuff

last vigil
#

Where is client.login saywhat

woeful ivy
#

def wouldnt recommend doing this tho with ur code but

woeful ivy
last vigil
#

Okay good

woeful ivy
#

xd

#

what a mood tho

#

def a me thing to forget

#

hahaha

vale plover
#

its so weird

woeful ivy
#

thats pretty surely rate then, but idk what couldve caused it

vale plover
#

I did nothing and suddenly

woeful ivy
#

its not affecting all bots thats for sure

last vigil
#

Are you using replit by chance

woeful ivy
#

and you can run my simple code

vale plover
#

a vps

woeful ivy
#

ah

#

run the bot on your local pc

#

see if that fixes

last vigil
woeful ivy
#

lolz

vale plover
#

yeah i try rn

woeful ivy
#

theres your problem

vale plover
#

vps?

woeful ivy
#

okay im not allowed to speak i had my work build a 700 dollar pc to run my bots lol

woeful ivy
#

idk

#

possible ig

#

idk how rate limits work through dc

#

but if you are sharing network or hardware with others in the vps and they fuck around, id guess they can fuck you for it:

#

?

#

idk tho

#

guessing here

last vigil
#

Probably

woeful ivy
#

const guildCommands = require('./commands.js').commands
message.guild.commands.set(guildCommands)

#

why dont ppl register their commands like this

#

ppl handle it so difficultly

#

not a word

#

i made that up

last vigil
#

Slash commands are difficult

vale plover
#

work in local 😢

last vigil
#

It does?

#

Why is that sad

vale plover
#
    at async C:\Users\mathias\Desktop\BOT\UNIVEXE\bot\src\main.js:312:17 {
  rawError: {
    message: 'You are not authorized to perform this action on this application',
    code: 20012
  },
  code: 20012,
  status: 403,
  method: 'put',
  url: 'https://discord.com/api/v9/applications/934492605646008401/guilds/924955659341004840/commands',
  requestBody: {
    attachments: undefined,
    json: [
      [Object], [Object],
      [Object], [Object],
      [Object], [Object],
      [Object], [Object],
      [Object], [Object],
      [Object], [Object],
      [Object], [Object],
      [Object], [Object]
    ]
  }
}
^C```
woeful ivy
#

not if you make them like this

#

i struggled with it a looot

vale plover
woeful ivy
#

send me a bit of btc and i run it for you PepeLaugh

vale plover
#

so just have to wait 10 hours

woeful ivy
vale plover
#

😭

woeful ivy
#

you could try every so often

vale plover
#

it's 11pm for me

#

i wake up at 6 pm

woeful ivy
#

ye

#

so 7 hrs

#

should work by then

#

do you have an old laptop or something?

#

to run it on overnight

last vigil
#

Maybe this is a sign to switch your hosting service

woeful ivy
#

buy a raspberry pi and run it there

#

best thing i ever did before getting the full pc for it

last vigil
#

Or do it for free and use heroku

woeful ivy
#

ew

#

xd

#

jk if it works thats perf

vale plover
last vigil
#

Not everyone wants to spend money or build a pc for bots pepescream

woeful ivy
#

i dont like third parties

vale plover
#

well... thanks a lot friends

woeful ivy
#

4gb is fun until you run into issues

#

but yea your code is def interesting

#

i get so used seeing my own code

vale plover
#

I am currently in the shit for my server but lets gooooooooo 😂😭

woeful ivy
#

jesus what the fuck happened to 50 bucks for a raspberry pi

#

bloody 90 bucks for 8gb

vale plover
#

there is a shortage

woeful ivy
#

no need for a kit

woeful ivy
#

def dont need all that

#

get a cheap ass sd card not from rpi

#

then the cable and shit should come with the rpi

#

and a case is optional

#

but just get a cheap one as well

vale plover
#

yes. for the moment I have 4 months of hosting left on the VPS. I will wait

woeful ivy
#

hope it clears up soon

#

time for bed (11pm is about as good of a time as any)

#

wish you all the best

vale plover
#

hope too
are you passionate about parrots?

woeful ivy
#

i have one

vale plover
woeful ivy
#

hes sitting next to me sleeping atm

#

poor bird doesnt understand why im still at my desk

#

hahaha

vale plover
woeful ivy
#

african gray

vale plover
#

ooh

woeful ivy
#

the one in my pfp is my brd

vale plover
#

they are incredible animals

woeful ivy
#

had some emotes made of the little guy

#

yea

#

incredibly annoying as well if they want to be

#

but so sweet

#

and cutre

vale plover
#

I had the chance to raise 2 ara ararauna

last vigil
#

Is it actually yours in the pfp or same species

woeful ivy
#

the actual one

last vigil
#

Nice

woeful ivy
vale plover
#

when they was 12 months old

woeful ivy
#

imggg

#

they cute

#

mines now 20

#

approx i never remember

vale plover
#

hand feed?

woeful ivy
#

uh well

#

kinda?

#

i put food in his bowl and he eats it

#

its harrisons bird pellets or whatever

vale plover
#

oh yes but I mean they were raised by hand or by their parents?

woeful ivy
#

ohh

#

hand yea 😦

#

dont like birds as pet

#

they belong outside in the wild

#

i used to live in a house with a big garden with a big area for him to live in

vale plover
#

100% agree

woeful ivy
#

but moved

vale plover
woeful ivy
vale plover
#

parents did not feed them

#

so we had to do it

woeful ivy
#

we had 3 parrots, all because their owners didnt/couldnt keep them

woeful ivy
woeful ivy
#

this guy i got when i was 4

#

18 years later still with me

#

we had another african gray but she died cus she flew into the side of her cage and broke her nex

#

neck

#

then we had an old bird that just died cus of age

#

tiny bird, tropical colors

last vigil
#

Dang

#

I’ve had 3 lizards

#

No more tho

woeful ivy
#

and we had an arizona bird i think they called

vale plover
#

my brother

woeful ivy
#

we had to get rid of him, we only temp took care of him but yea he was vicious

vale plover
#

is a reptile lover

last vigil
#

Bearded dragons FTW

woeful ivy
woeful ivy
vale plover
#

😂

woeful ivy
#

ight yall good day/night

#

pleasure to talk and meet

vale plover
#

thx for ur help

last vigil
#

Yep cya

vale plover
#

Hello @woeful ivy & @last vigil ,
I hope you slept well.
I still can't turn on my bots... would asking my vps provider for a new IP will fix the problem?

woeful ivy
#

Yikes that sucks

#

Idk if vps do new ips

last vigil
#

dang thats weird

#

sorry i never saw this

#

but i never went to sleep lol, when we were talking it was 2 pm for me. it's 12:52 am now im heading off soon

#

since it's an issue with your VPS, and I don't know anything about that, I can't help sorry

vale plover
#

could you give me a host that you find really good?
Currently more than 18 hours without response, it disgusts me. Do you know if I can make a claim in these cases?

wary atlas
last vigil
#

you can only host one bot on it for free though

vale plover
# last vigil you can only host one bot on it for free though

Good evening!
We talked a few weeks ago I think and you helped me to solve my VPS problem and you told me that the best solution was a Raspberry and I'm starting to think about it. I have a few questions.
Can you connect to it from outside your home?
Can you set up some kind of VPS so that if we host a website and it gets DDoSed, our connection is not directly affected?
Does this use a lot of bandwidth?

Many thanks to you, have a nice evening.

vale plover
last vigil
#

I don't think I was the one who recommended it

last vigil
vale plover
#

Oh sorry,

#

it was Kiter I think

last vigil
#

@woeful ivy @wary atlas maybe one of them

vale plover
woeful ivy
#

Hey sup

last vigil
woeful ivy
#

am live will respond later

vale plover
#

yes its good now

woeful ivy
#

❤️

vale plover
#

weird

vale plover
last vigil
woeful ivy
#

Hosting webpages is not a great idea on your home network. You will be better off with a vps for sure, but for running discord bots and some other lightweight bots you are more than fine to use a raspberry pi

woeful ivy
#

using teamviewer you can connect to your raspberry from anywhere in the world

vale plover
#

can we speak in private?