#development

1 messages · Page 1263 of 1

obtuse niche
fast trench
#

?

raven owl
#

When I try to upload my bot, it comes up with: Error 413, Request Entity Too Large.

#

@open rune

obtuse niche
#

Upload to what

fast trench
#

This is my code https://srcb.in/66c0f997e3 and this is my error ```js
(node:31668) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'id' of undefined
at MemberAddEvent.run (C:\wildcat\src\events\members\guildMemberAdd.js:22:26)
at Client.emit (events.js:215:7)
at Object.module.exports [as GUILD_MEMBER_ADD] (C:\wildcat\node_modules\discord.js\src\client\websocket\handlers\GUILD_MEMBER_ADD.js:16:14)
at WebSocketManager.handlePacket (C:\wildcat\node_modules\discord.js\src\client\websocket\WebSocketManager.js:384:31)
at WebSocketShard.onPacket (C:\wildcat\node_modules\discord.js\src\client\websocket\WebSocketShard.js:444:22)
at WebSocketShard.onMessage (C:\wildcat\node_modules\discord.js\src\client\websocket\WebSocketShard.js:301:10)
at WebSocket.onMessage (C:\wildcat\node_modules\discord.js\node_modules\ws\lib\event-target.js:125:16)
at WebSocket.emit (events.js:210:5)
at Receiver.receiverOnMessage (C:\wildcat\node_modules\discord.js\node_modules\ws\lib\websocket.js:797:20)
at Receiver.emit (events.js:210:5)
(node:31668) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 2)

@pure lion didn't know if you saw this message

open rune
#

@raven owl Probably, your file is too large to be uploaded
you need to minimize the size as you can.

raven owl
#

Oh ok

earnest phoenix
#

some one pls help

pure lion
fast trench
#

it doesn't matter where

earnest phoenix
#

@pure lion where should i put token in bot.login(Token.Token) ?

pure lion
#

Okay firstly

fast trench
#

I just told you where...

pure lion
#

Put the code in the link I provided

earnest phoenix
#

done

#

now

pure lion
#

Click save

earnest phoenix
#

ok

pure lion
#

And send me the new link

earnest phoenix
#

should i send the bot token @pure lion

pure lion
#

Show me token.json (hide the token)

#

@earnest phoenix no, never send the bot token to anyone.

earnest phoenix
#

then should i dm u

#

@pure lion

pure lion
#

No, just show me the inside of token.json but blur the token or replace it with the word token

earnest phoenix
#

i didnt understand

#

@pure lion check your dm

pale vessel
#

did he send it with the token

pure lion
#

No

#

He just sent the token

pale vessel
#

good

fast trench
#

😂 😂 😂 😂 😂 oh my god really? after you said not to?

earnest phoenix
#

what means token.json

pure lion
#

@earnest phoenix

earnest phoenix
#

ok

#

done

#

@pure lion check dm is it ok

#

@pure lion but its offline even i put the token why

fast trench
#

@earnest phoenix send me the token.json...but don't ping me just dm me the token.json

misty sigil
#

I smell copy pasted code

fast trench
#

he didn't even send the file I told him to send

earnest phoenix
#

which file?

misty sigil
#

Token.json

fast trench
#

OH MY GOD

earnest phoenix
#

i dont have

misty sigil
#

BRUH

fast trench
#

🤦‍♂️ my brain hurts... @pure lion does your brain hurt too lol

earnest phoenix
#

GWseremePeepoLifewhat should i do

fast trench
#

make the mf file

#

or even better...learn how to code

misty sigil
#

^

earnest phoenix
#

@fast trench sended

fast trench
#

That should legit be the first thing you learn how to do is start the bot...and I said Not to ping me so I'm done trying lmao

earnest phoenix
#

pls some one teach me

fast trench
#

go watch youtube

earnest phoenix
#

ok i dont know how to code

misty sigil
#

go learn instead of copy pasting code

earnest phoenix
#

ok

#

@misty sigil whats your bot name

misty sigil
#

@earnest phoenix

fast trench
#

@naive lagoon

earnest phoenix
#

how much time shall it take to make a bot OP like DYNO

#

@misty sigil

fast trench
#

dude

earnest phoenix
#

?

fast trench
#

that takes alot of knowledge you definitely don't have

misty sigil
#

can you not ping me every 6 seconds

open rune
#

Do you know that your first step is to choose your language

earnest phoenix
#

js

open rune
#

@misty sigil I am trying not to ping you

misty sigil
#

js
@earnest phoenix go learn base JS then

open rune
#

bAsIc JavAsCrIPT

earnest phoenix
#

@fast trench check your dm

#

@pure lion check your dm

misty sigil
#

@earnest phoenix so you wanted help with token.json

#

yes?

earnest phoenix
#

i know the token.json now @misty sigil

misty sigil
#

please

#

just use one message event

earnest phoenix
#

how to make it

#

online

#

@misty sigil i know the token.json

fast trench
#

@fast trench check your dm
@earnest phoenix stop

misty sigil
#

put json { "token":"your token" } into token.json

cinder sandal
#

.env is more secure tho

earnest phoenix
#

its online

misty sigil
#

nice

fast trench
#

Is it still deleting channels?

earnest phoenix
#

yes

cinder sandal
#

@earnest phoenix psst i saw ur code and it smells copied

fast trench
#

Rip I’m sorry to hear that

misty sigil
#

but why

#

i dont see anything in the code that does that

earnest phoenix
#

@earnest phoenix psst i saw ur code and it smells copied
@cinder sandal hmm

cinder sandal
#

also why would you use an embed constructor

#

if you can use MessageEmbed

#

without defining the embed

fast trench
#

Btw. “Full username” is referred to as the persons tag.

cinder sandal
#

quick.db is unstable

#

why do you use it tho

open rune
#

use mysql instead

fast trench
#

Right. So much easier

cinder sandal
#

or mongo atlas @earnest phoenix

earnest phoenix
#

@cinder sandal what should i do

cinder sandal
#

undefine the embed

fast trench
#

Learn how to code like we’ve said before

cinder sandal
#

^

fast trench
#

Wait. How else would you do an embed? I’ve only seen it like they have it? Well I do ‘new messageEmbed’ instead of ‘discord.messageEmbed’

cinder sandal
#
const Test = new RichEmbed()
embed.setTitle('me an embed')
message.channel.send(Test)```
fast trench
#

Oh yeah forgot about that way lol

cinder sandal
#

this way is weird

fast trench
#

That way you can edit it later on if you want to also

#

Oh well

cinder sandal
#

why people use config.json tho

honest perch
#

I learned js in less then a week and I am a slow learner
@earnest phoenix no you did not LEARN in a week, I've started in January and I only know basics

open rune
#

DSL baCk

#

return of DSL

trim saddle
#

@sinful lotus just come here

earnest phoenix
#

@cinder sandal canu help me

open rune
#

@sinful lotus what's your bot?

sinful lotus
#

hi

#

@open rune @untold pulsar

open rune
#

the name seems qt uwu

cinder sandal
#

@earnest phoenix also use ${message.author.tag} instead of ${message.author.username}#${message.author.discriminator}
check docs

trim saddle
#
let prefix, re
switch(typeof this.prefix) {
    case 'string': 
        re = `^(${this.prefix})`
        break
    case 'array':
        re = `^(${this.prefix.join('|')})`
        break
    case 'function':
        let pre = await this.prefix(this, msg)
            switch (typeof pre) {
                case 'string':
                    re = `^(${pre})`
                    break
                case 'function': 
                    p = pre()
                    re = `^(${typeof p === 'string' ? p : p.join('|')})`
                    break
                case 'array':
                    re = `^(${pre.join('|')})`
                    break
                default:
                    throw new Error(`Prefix function output must be string or array. Not ${typeof pre}.`)
}

this is the whole prefix parser

fast trench
#

@earnest phoenix also use ${message.author.tag} instead of ${message.author.username}#${message.author.discriminator}
check docs
@cinder sandal I told them that earlier lol

earnest phoenix
sinful lotus
#

is that js or python

trim saddle
#

js

sinful lotus
#

I guess js, the lack of {} confused me

trim saddle
#

switch cases don't use {}

cinder sandal
#

@earnest phoenix bro u just leaked ur token at the bottom

sinful lotus
#

you can

#

it makes it more readable as well

trim saddle
cinder sandal
#

@earnest phoenix can u remove the token in the hastebin thing pls

sinful lotus
earnest phoenix
#

pls make and save it

trim saddle
#

@earnest phoenix reset👏your👏token

earnest phoenix
#

pls make first

misty sigil
#

or mongo atlas
@cinder sandal something about this makes me think

#

you could've just said

#

mongo

cinder sandal
#

i removed the token from hastebin @earnest phoenix

misty sigil
#

because mongo can be hosted yourself

sinful lotus
#

let pre = await this.prefix(this, msg) this outputs an object @trim saddle could you log the contents?

earnest phoenix
#

ok @cinder sandal

cinder sandal
#

now it's super-secret-token

sinful lotus
#

if that error just randomly spawned out from prod, then find the guild that invoked that prefix, then check the contents

trim saddle
sinful lotus
#

@trim saddle log the type of that output

earnest phoenix
#

can some one make a bot for me

cinder sandal
#

@earnest phoenix why you have so many bot.on message ...

earnest phoenix
#

hmm sry

sinful lotus
cinder sandal
#

it causes spam of the command

sinful lotus
#

or do Array.isArray(pre)

trim saddle
#

what's wrong with js

cinder sandal
#

you need to put the commands into one bot.on message

sinful lotus
#

just js things u get used to it ¯_(ツ)_/¯

#

but either use object or Array.isArray to determine

#

and sorry if my brain is slow, my brain is disoriented from all the stress

cinder sandal
#

yeah

#

the commands are in client.on

#

(or bot.on, your choice)

earnest phoenix
#

@cinder sandal can u once acceptdm

carmine summit
#

uh

#

help

#
if (message.channel.id == 758216351142641714) {
  console.log(db.get('Number'))
  if (message.content != db.get('Number')) {
    return message.delete()
  } else {
    db.add('Number', 1)
  }
}
``` This code working perfectly till i mention everyone and the bot is still online, it just wont delete messages then gives an error: `DiscordAPIError: Unknown Message`
#

HELP

#

So I am thinking, that to store them in a variable

#

THen

#

if it reaches a certain limit

#

it will save

#

HOW DO I DO THAT?

earnest phoenix
#

tf are u trying to do

carmine summit
#

uh

#

remove the db

#

make it variable

#

then every 10 number passes, it will save it to the db

modest crane
#

DiscordAPIError: Unknown Message
i think that happens when the message doesn't exist

carmine summit
#

they didnt delete the message

#

the bot go panic mode

#

then bot go coo-koo

#

then

#

half of me says this aint a bot problem and i didnt need to replace the db by a variable then save it every minute because the db is local

#

this might be a rate limit problem

#

then 1/3 of me says that i should upgrade my hardware

ionic shard
#

my bot is randomly losing its status
can anyone tell why?

carmine summit
#

So bot went fine when there is low traffic, But when I mentioned everyone, the bot panicked. The db is local, by quick.db.

earnest phoenix
#

@ionic shard Its possible that rn the discord api is shit

#

It might be bcausr idk network stuff

ionic shard
#

not my code issue?

earnest phoenix
#

Mhm

obtuse jolt
#

How can I use regex to see if someone says like

[@user] qt or [@user] is qt

ionic shard
#

just check if it contains a mention and 'qt' at the same time

obtuse jolt
#

is [@granite pagoda] qt

#

eek

#

while true the message above would count as valid

#

Which I don’t want really

fluid basin
#

short answer: learn regex

ionic shard
#

yourMessageAsStr.includes('qt', mention);

carmine summit
#

can someone help me please

#

my bot is dying

#

So bot went fine when there is low traffic, But when I mentioned everyone, the bot panicked. The db is local, by quick.db.

#
if (message.channel.id == 758216351142641714) {
  console.log(db.get('Number'))
  if (message.content != db.get('Number')) {
    return message.delete()
  } else {
    db.add('Number', 1)
  }
}
``` This code working perfectly till i mention everyone and the bot is still online, it just wont delete messages then gives an error: `DiscordAPIError: Unknown Message`
ionic shard
#

what are u tryna do

carmine summit
#

without everyone

ionic shard
#

if u are using return why are u using else

#
  console.log(db.get('Number'))
  if (message.content != db.get('Number')) return message.delete();
  db.add('Number', 1);
}```
#

anyway this wont solve ur issue its just better practice ig

#

so what happens when u mention everyone

carmine summit
#

the messeges didnt get deleted

ionic shard
#

log message.content

carmine summit
#

a bunch of random numbers

#

a bunch of random numbers that the people sent in that channel

ionic shard
#

try using !==

carmine summit
#

That wont solve it?

ionic shard
#

maybe

carmine summit
#

i think its a hardware issue

ionic shard
#

no

carmine summit
#

i think its an api rate limit

ionic shard
#
  const NumMsg = args.join(' ');
  const number = db.get('Number');
  console.log(number);
  if (NumMsg !== number) return message.delete();
  db.add('Number', 1);
}```
#

try this

carmine summit
#

(message.content != number)

#

you mean this

#

discord returns a string

ionic shard
#

try now

carmine summit
#

still

#

jams

ionic shard
#

just edited it above

carmine summit
#

i think its a hardware issue

#

if not an api issue

ionic shard
#

shouldnt be hardware

#

it aint a big deal

#
  const NumMsg = args.join(' ');
  const number = db.get('Number');
  console.log(NumMsg );
  console.log(number);
  if (NumMsg == number) { db.add('Number', 1); } else {
  message.delete();
  }
}```
carmine summit
#

thanks for the help but i think its really a hardaware issue

#

the more you put codes in, the slower it gets

ionic shard
#

all ur doing is adding a 1 to current number

#

i ran prefix with quick db on local on 5 servers from my pc its no load

#

custom prefix

carmine summit
#

uh

vale garden
#

hi

#

are bots that send messages like twice every minute allowed

#

the bot will only be in 1 server

tight plinth
#

depends

vale garden
#

with 1 guy

#

in it

#

my friend wanted a bot like that

tight plinth
#

in this case yes

vale garden
#

in his private server

#

kk

tight plinth
#

also nice stryder7x pfp

#

but I'm pretty sure you're not the real stryder7x

white vapor
#

is Heroku free if you are using $0 dynos

earnest phoenix
#

i coded a bot working how do i make it 24/7

fickle sapphire
#

Use a host

#

Or vps

#

Or some

earnest phoenix
#

in free

#

@earnest phoenix FREE HOSTS ARE THE WORST

fickle sapphire
#

XD

earnest phoenix
#

use them temporarily but switch to a REAL VPS later

slender thistle
#

Do I mock the fact that you use repl.it?

earnest phoenix
#

Do I mock the fact that you use repl.it?
@slender thistle please shut up

#

@earnest phoenix i dont even have a penny
@earnest phoenix i dont even have a credit card heck not even a good wi fi to self host

fickle sapphire
#

Lol

slender thistle
#

😁

earnest phoenix
#

@fickle sapphire can u send the link of free hosting

#

@earnest phoenix is hroku free

fickle sapphire
#

Heroku works fine for a while

earnest phoenix
#

then?

#

banned

#

i got banned

#

don't use heroku

#

or glitch

#

then

#

free?

#

(yet)

slender thistle
#

Heroku, repl.it, Glitch, use one of your unneeded laptops/PCs

earnest phoenix
#

free?
@earnest phoenix but with a little bit of limits

slender thistle
#

.env file is private so not if you do it the right way

earnest phoenix
#

repl.it shows ur botum tokenum
@earnest phoenix "N" + "O"

#

"w" + "t" + "f"

#

i hate whitespace
it is the most used character in English and makes night mode pointless because half your screen is filled with the same white character

#

pls anyone tell free hosting sites allways free

#

what is vps

fickle sapphire
#

Virtual Private Server

#

You can acces it using your pc and then host your bot there

earnest phoenix
#

how do i download

placid iron
earnest phoenix
#

for free

slender thistle
#

A VPS isn't free

earnest phoenix
#

any free hosting sites

#

any free hosting sites?

fickle sapphire
#

Heroku, repl.it, Glitch, use one of your unneeded laptops/PCs

tough bramble
#

Virtual Server Cloud XL
4 vCores CPU
8 GB RAM
160 GB SSD

obtuse niche
#

Vps isnt expensive tho

#

Just rent a small server

rocky hearth
#

I already have a sandbox cluster on mongodb, I'm trying to create a new one, and I can't select the free plan. What is happening, is mongodb limited to 1 free cluster?

earnest phoenix
#

I already have a sandbox cluster on mongodb, I'm trying to create a new one, and I can't select the free plan. What is happening, is mongodb limited to 1 free cluster?
@rocky hearth probably yes

#

can anyone help me in music commands in discord.py?

#

can anyone help me in music commands in discord.py?
@earnest phoenix just ask your question no need to beg for help

#

ok

obtuse niche
#

^&

earnest phoenix
#

i want to add a command where the bot joins plays skips and leaves the vc

#

this only

rocky hearth
#

can I create multiple local clusters? For development?

obtuse niche
#

@earnest phoenix and what is ur question

earnest phoenix
#

how to join vc

#

i use

#

in vs

rocky hearth
#

read documentations @earnest phoenix

earnest phoenix
#

anybody who knows?

#

where to find documentations

obtuse niche
#

Smh

earnest phoenix
#

ohk found it thanks

#

found it

#

thanks

obtuse niche
slender thistle
#

"read the docs" aka "I'm lazy to point you in the right direction myself"

earnest phoenix
#

and can i test my bot here in this serveer?

obtuse niche
#

Well its a smart thing to read the docs first before asking questions

ionic shard
#

repl or heroku?

slender thistle
#

be more helpful and point them to the right docs while you're at it

earnest phoenix
#

ok

#

and one more thing?

slender thistle
#

and can i test my bot here in this serveer?
@earnest phoenix bots are not invited to this server anymore

earnest phoenix
#

ok

#

and

#

which site is good for starters for hosting their bots?

#

free

rocky hearth
#

I personally like heroku

manic osprey
#

it is not good heroku

slender thistle
#

There's not a single beginner-friendly free hosting website that is trusted

earnest phoenix
#

k

manic osprey
#

you can paid to host

obtuse niche
#

I personally dont recommend a free host

earnest phoenix
#

ko

#

ok

#

and prices?

manic osprey
#

2.99$ host from month

earnest phoenix
#

ok

manic osprey
#

you can use vps

earnest phoenix
#

how can i get my bot verified?

slender thistle
#

Anywhere from a few ($2-5.99 per month) to hundreds of dollars per month

manic osprey
#

internet search

earnest phoenix
#

found it

#

heroku

#

yes

#

good

ionic shard
#

...

manic osprey
#

heroky'

#

cant support

#

discord badge verified

#

thats cannot

#

support

earnest phoenix
#

yes

#

so how i get it in many servers?

obtuse niche
#

And vote it up

carmine summit
#
let chnl = args[0].split('<#').join().split('>').join()
client.channels.cache.get(chnl).startTyping(10)
```hmmm
earnest phoenix
#

but

#

what if my bot is still not on top.gg is is on the verge? @obtuse niche

obtuse niche
#

Takes around 6 weeks to get ur bot accepted or rejected

earnest phoenix
#

ok

#

wait 2 moths?

obtuse niche
#

Make sure your bot meets the requirements

earnest phoenix
#

but arent discord closing applications for bots?

slender thistle
#

No they're not

earnest phoenix
#

@obtuse niche requirements suvh as?

#

such

obtuse niche
#

Because it would be a waste if time if its rejected

earnest phoenix
#

where are requirements?

#

what?

obtuse niche
earnest phoenix
#

ok

obtuse niche
#

Its in there

#

Make sure its 24/7 online because when your bot is offline they cant review it and it will be rejected

earnest phoenix
#

ok

#

that i will manage

ionic shard
#

is . a common prefix?

slender thistle
#

It is

obtuse niche
#

Yep

earnest phoenix
#

is ; a common prefix?

#

how do i check my bot ip

ionic shard
#

so my bots gonna get denied if i have . prefix? even tho i have command to change prefix?

slender thistle
#

Bots don't get declined for common prefixes

earnest phoenix
#

ok

#

what about ;?

#

prefix

slender thistle
#

and it doesn't matter in any case as bots aren't invited to this server anymore

earnest phoenix
#

ok

slender thistle
#

so the whole common prefix thing will just be scrapped

ionic shard
#

ok cool.

earnest phoenix
#

ok

obtuse niche
#

U can just use the dot if u want

ionic shard
#

yeah cuz changing my prefix now would hurt

earnest phoenix
#

how do i check my bot ip

#

?

ionic shard
#

why do u need that

earnest phoenix
carmine summit
#
let chnl = args[0].split('<#').join().split('>').join()
client.channels.cache.get(chnl).startTyping(10)
```is this the best way to fetch a channel using '[#general](/guild/264445053596991498/channel/264445053596991498/)'?
obtuse niche
carmine summit
#

uh

#

BRUH

ionic shard
#

for * its a free hosting site for ever
@earnest phoenix doesnt look like a hosting site to me

#

🤦‍♂️

earnest phoenix
#

its

slender thistle
#

..??

#

it's a website monitoring service

ionic shard
#
uptime monitoring service.```
slender thistle
#

not website hosting

ionic shard
#

not sure sorry

earnest phoenix
#

@carmine summit yes do u know how to get url

slender thistle
#
l = "[#123456789](/guild/264445053596991498/channel/123456789/)"
console.log(l.substr(2, l.length - 3)) // "123456789"
#

Might be a better idea to use that instead of two .splits

earnest phoenix
#

@carmine summit pls help how can i get url

carmine summit
#

you need express

#

go read docs keklaugh

slender thistle
#

Why did I read that as "unoptimized"

lament meteor
#

because js kinda eh

carmine summit
#

How do I know how many words are there in a string

slender thistle
#

words are separated with a space, so split by a space and return the length of the returned array

honest perch
#

@earnest phoenix where are you hosting?

#

Glitch?

earnest phoenix
#

@earnest phoenix where are you hosting?
@honest perch no i am thinking for heroku

#

words are separated with a space, so split by a space and return the length of the returned array
@slender thistle if you wanna be really accurate, smh seperate the string into an array of five letters each since a word is technically any combination of five letters except whitespace (google it)

carmine summit
#

ok thanks

slender thistle
#

Magically

earnest phoenix
#

@honest perch where u

honest perch
#

In Europe

earnest phoenix
#

?

carmine summit
#
if (command == 'type'){
    //2second per word
    let chnl = args[0].split('<#').join('').split('>').join('').toString()
    let msg = args.slice(2).join(' ')
    let seconds = (msg.length / 5) * 2
    console.log(chnl)
    client.channels.cache.get(chnl).startTyping(seconds)
    setTimeout(function(){
    client.channels.cache.get(chnl).stopTyping()
    client.channels.cache.get(chnl).send(msg)
    }, seconds*1000)
  }
```hmmm
earnest phoenix
#

In Europe
@honest perch link?

honest perch
#

Europe is a continent located entirely in the Northern Hemisphere and mostly in the Eastern Hemisphere. It comprises the westernmost part of Eurasia and is bordered by the Arctic Ocean to the north, the Atlantic Ocean to the west, the Mediterranean Sea to the south, and Asia ...

carmine summit
#

bRuH

earnest phoenix
#

@honest perch i said where do u host ur bot not link lol

honest perch
#

I host my bot on a vps

earnest phoenix
#

any free

honest perch
#

No

earnest phoenix
#

how do i get my bot url @honest perch

honest perch
#

By going to the servers ip

gentle lynx
#

how can i require users.js?

#

under models

earnest phoenix
#

sry i dont know that

gentle lynx
#

nvm got it

carmine summit
#

im deleting the command

#

its too buggy

green kestrel
#

on glitch especially its actively against their TOS and theyll detect it and ban it

carmine summit
#

after i ran the command, after the bot sends the message. Exactly 7 seconds the bot is going to type again without permission

earnest phoenix
#

then what should i do sir @green kestrel

green kestrel
#

dont try and force a free hosting provider to stay on 24/7 when its designed not to?

carmine summit
#

bUy A vPs

green kestrel
earnest phoenix
#

i dont have money

green kestrel
#

ask around friends who have bots

green kestrel
#

see if they can give you a user account on a vps theyre paying for

earnest phoenix
#

i dont have any friends who will pay money for me

green kestrel
#

@carmine summit in some countries its not possible for anyone under 18 to even have a bank account, so they cant pay for a VPS or have a paypal etc

earnest phoenix
#

@green kestrel i m 18 i cant have paypal i should be 19 😭

#

can u give me a vps

#

pls

#

someone

carmine summit
#

Try to convince your mom to give you her credit card

#

then put the 3 numbers

#

the card number

green kestrel
#

no, i dont have enough free resources, otherwise im all for helping out random strangers 🙂

carmine summit
#

the card exp

#

and the card name

#

how tf did i mistype card for carn

#

its d and n are so far away lol

earnest phoenix
#

@carmine summit lol my family dont have paypal or credit or debit crad

carmine summit
#

BrUh

earnest phoenix
#

Where the hell are u living @earnest phoenix

#

In 1900?

#

no

#

😭 i want vps

#

pls

#

some one give me vps

green kestrel
#

nobody who doesnt know you is going to give you something that costs money every month for free

#

if you need a free vps you need to network, and maybe exchange skills for services

#

do them something in exchange

earnest phoenix
#

i can exchange steam acc with $2.12 and fall guys game @green kestrel

pale vessel
earnest phoenix
#

@pale vessel do u want

honest perch
#

no, i dont have enough free resources, otherwise im all for helping out random strangers 🙂
@green kestrel give whole house

summer torrent
#

@earnest phoenix dont beg

earnest phoenix
#

ok

fickle sapphire
#

My command handler uses a discord collection.. is it easier or faster to use a Database for those commands?

honest perch
#

What

fickle sapphire
#

For my commands I use a collection

#

but I don't know if it is easier to use a Database

honest perch
#

What do you mean by a database

fickle sapphire
#

for the commands

honest perch
#

Tf

#

Why would you ever do that

fickle sapphire
#

Idk , just wondering

honest perch
#

That's a) Stupid

#

b) slow

fickle sapphire
#

😄

opal plank
#

store all the bot scripts on database, just run everything with a single import and execute

#

fuck github and other things to store code

rocky hearth
#

can I host on firebase?

open rune
#

use AWS

#

it's good

earnest phoenix
#

host on heroku free

#

24/7

rocky hearth
#

aws is not free.

#

I need a free hosting service for development. I was wondering if I could use firebase for both database and hosting. Can I?

opal plank
#

@rocky hearth i have tried firebase before but i dont think you can host bots there

#

also aws IS free

#

you get a whole year for free

#

if that doesnt fit your taste check Google's F1 Micro

#

if that also doesnt hit the spot, buy a VPS

rocky hearth
#

1 year free, for 24/7?

opal plank
#

ineed

#

cancel at the end, refresh

#

¯_(ツ)_/¯

half bear
rocky hearth
#

haha, I also dont want to give credit details.

#

Then I have to go for heroku

opal plank
#

Good luck with that

#

heroku/glitch arent proper bot hosting services

half bear
#

@opal plank my friend read here yesterday night

#

and roasted me

earnest phoenix
rocky hearth
#

For database, can I have multiple FREE clusters in mongodb

opal plank
#

if you host your shit on heroku/glitch it clearly shows you have no concern wahtsoever about the quality of your bot host

half bear
#

@rocky hearth please buy a vds

opal plank
#

there are vps for as low as 3 dollars

#

¯_(ツ)_/¯

half bear
#

in Turkiye it is very expensive

opal plank
#

just convert the money

half bear
#

like 26TRY

rocky hearth
#

That is 240rupees for me!

opal plank
#

Unless you live in zambia or some african country $3 shouldnt be much regardless of ur currency

half bear
#

@opal plank ford mustang is 10.000 dollar

#

in america

#

but turkiye, it is 400/500k

#

this is basic example

rocky hearth
#

Had you worked with mongodb locally, can I have multiple clusters there?

opal plank
#

im well aware of overpriced stuff in third world countries

#

im a database supremacist @rocky hearth

half bear
#

türk geldi

#

bruh

opal plank
#

i only use postgres, the superior database

#

cassandra pretty good too

#

and redis

#

thats about it

half bear
#

k

opal plank
#

How many messages should i keep cached per channel?

pale vessel
#

get all messages and store them in memory smart

opal plank
#

laughs in redis

#

i just got a good reference point

#

might be doable

balmy anchor
#

How do I get mentioned member in a command?

#

like:

^hello @balmy anchor

#

(JavaScript)

sacred cypress
#

Have you tried to google it?

#

@sacred cypress

summer torrent
#

discord.js?

balmy anchor
#

yes

summer torrent
#

message object has a mentions property

sacred cypress
#
message.send(`Hey! <@${member.user.id}>`)
#

Pretty sure

balmy anchor
#

ok thx i think i got it

summer torrent
#

message.send 🤔

balmy anchor
#

lol

earnest phoenix
#

You mean get a mentioned user from the message and parse it or something

#
<message>.mentions.members.first()``` this will do
grizzled raven
#

HOW HAVE YOU SECURED ACCESS TO YOUR SYSTEMS AND INFRASTRUCTURE?
yo how would i go about answering this question

earnest phoenix
#

Trying to apply for verification?

summer torrent
#

from Discord Developers server

Want to know what we mean by "how do you secure your infrastructure"? Well, that's easy. How do you restrict access to your bot? As before, if we want to know more about this, we'll ask.

green kestrel
#

i only use postgres, the superior database
@opal plank lies, all lies, IBM DB2 is where its at 🤣 /s

opal plank
#

@green kestrel Postgres, Cassandra(for some other stuff) and redis is best combo

#

prove me wrong

earnest phoenix
#

Nah JSON db is the best /s

opal plank
green kestrel
#

@grizzled raven do you have sftp/scp in preference to ftp? do you deny plaintext password login? do you deny passwords at all in preference to public key? do you encrypt data at rest? is there 2FA? etc etc

#

@opal plank i cant prove you wrong, works for you! my personal preference is mysql 8+ and redis tbh

#

or mariadb

#

ive not found any overriding requirement for something like mongo ("document/object" stores) yet in any of my projects

#

i like foreign keys and table relationships too much for that

opal plank
#

relation db's

#

postgres has been a bliss in my life tbh

#

the amount of advanced stuff in it beats sql by a mile in my opinion

green kestrel
#

last time i looked into postgres was many years ago, it had the fact that it was quite strict towards sql standards going for it, but wasnt as scalable or fast as mysql. however back then mysql mainly had people using really awful MYISAM table format instead of InnoDB which didnt have row locking, or field locking, proper foreign keys, etc

earnest phoenix
#

@opal plank the fuck is that emotr

opal plank
#

i can definetly assure postgres scales fine

green kestrel
#

back then MYISAM was much faster than InnoDB, since oracle acquired it tons of work has gone into InnoDB and its now up there with microsoft sql server and oracles enterprise products

opal plank
#

and runs fine too

#

check this

green kestrel
#

can postgres do a master-master replication?

opal plank
#

this is when i was purposefully trying to kill the rig

green kestrel
#

with conflict resolution?

opal plank
#

thats within 5h

green kestrel
#

this is often a problem with most databases, they expect master-slave setup

opal plank
#

you can setup constraints in it to remove duplicates

green kestrel
#

hmm, i wonder what my mysql server stats are on triviabot's server, i havent looked

opal plank
#

those results are flawed btw

#

i did not use a single indexer

#

i was trying to kill the server

#

which i did not accomplish

green kestrel
#

conflict resolution has to be done at the db engine level, its more than just deduping, every field would have to be timestamped

opal plank
#

i twas using 2 cores

green kestrel
#

i think mysql can do master-master but its never been a recommended config

opal plank
green kestrel
#

im talking about where you have a cluster of multiple individual servers all replicating the same db and all can be written to as well as read from without issue

earnest phoenix
#

monkaHmm Hmm database talk

opal plank
#

as long as the DB is ACID compliant it should be fine

#

since it should have any loss in the data

green kestrel
#

looks just like with mysql, it "kinda does it", they have a similar kludge called multi master 😄

opal plank
#

i'd check this if i were you brain

#

though in concept there should be no loss in data on postgres

#

not im not sure why you'd be interested in multi masters

green kestrel
#

nice, 191,000 SELECTs per hour

opal plank
#

both SQL and Postgres run on ACID compliant

green kestrel
#

95,000 inserts per hour

green kestrel
#

82 million selects, over what timeframe?

opal plank
#

i need to calculate the mean for that

#

4h

green kestrel
#

what exactly are you doing there, plotting the orbit of a space probe? 😮

opal plank
#

Running 70% of twitch's global traffic

green kestrel
#

lmao

#

well that explains it

opal plank
#

lmao

#

i think i might be able to get the db size

#

lemme run a query rq

green kestrel
#

mines just the database throughput of two bots, sporks and triviabot, plus their websites and dashboards

opal plank
#

11 Million Users registered

#

curently 840k cached

#

i should likely dump all those messages cached tbh

earnest phoenix
#

11 Million Users registered
@opal plank Why do i see smoke coming out of the database

opal plank
#

webscaling is fun, makes so you have to optimize every last bit of code to make it more performant

#

its a good way to get good coding practices scaling--friendly

earnest phoenix
#

How big of a database you got mate

opal plank
#

big in what sense?

earnest phoenix
#

Big in how much it can store

opal plank
#

databases can store a fuckton of shit

earnest phoenix
#

It must be huge than big

opal plank
#

there isnt a set limit

#

ive seen databases with billions of entries

earnest phoenix
#

Yea i know, but what db are you using

opal plank
#

postgreSQL

#

look at this for example

#

if i were to log all messages, i'd hit those billion numbers in no time

earnest phoenix
#

Doesn't db sometimes cost money, like a MongoDB cluster

opal plank
#

thats 6 mil in 5h

#

no?

#

just like your node bot, it runs on a server

#

be it a vps or a computer

#

¯_(ツ)_/¯

#

im the one setting up my database

earnest phoenix
#

Oh, that makes sense

#

Database entries goes brrr

opal plank
#

i got 2 databases rn

#

one locally which has the same shape of the main, and the main one

#

did u see the pic i sent?

earnest phoenix
#

What do you mainly use them for

opal plank
#

175 BILLION tuples returned in 4 hours

earnest phoenix
#

Bruh, that a lot

opal plank
#

well theres a fuckton of shit i keep

#

mainly user data

#

stream and user data

#

the rest is configs per channel

#

and logs

earnest phoenix
#

stream data?

opal plank
#

yeah

#

its twitch

#

we refer to channels as streams too

#

just like here we use servers as guilds too

earnest phoenix
#

Oh that, i remember when you said you had a bot for twitch

opal plank
#

its technically the same bot

#

though its a standalone thing

#

they talk via IPC pipes

#

its the same bot, but they can work individually with limited functionality

earnest phoenix
#

Oh, k but how long did it take to setup the IPC pipes

opal plank
#

couple hours maybe?

earnest phoenix
#

Interesting

opal plank
#

though i had already known how to work with IPC before

#

so it was less learning and more working

earnest phoenix
#

Well if you know how something works you don't learn much tbh, because you don't remaster something you already mastered

#

So the work matters more than learning at this case

opal plank
#

correct and incorrect

#

while i knew a bit of IPC beforehand, like i said, scaling stuff on this level requires fine tuning

#

otherwise the whole bot collapses with clogs

earnest phoenix
#

clogs?

opal plank
#

yeah, bottleneck, it clogs up, halts,

earnest phoenix
#

Damn

opal plank
#

its way too much traffic to be running on one core alone

#

i'd need to cluster it, though im trying to avoid doing that rn

cinder patio
#

I wish I had something big to do this on

opal plank
#

Recommendation: Dont do twitch @cinder patio

#

im only here still cuz ive put too much time and effort into it already

#

the api and libs are not nearly as polished as discord's

peak osprey
#
if(command === "unban"){
      if(!message.member.hasPermission("BAN_MEMBERS")) {
        return message.channel.send(`**${message.author.username}**, You do not have perms to unban someone`)
      }
      
      if(!message.guild.me.hasPermission("BAN_MEMBERS")) {
        return message.channel.send(`**${message.author.username}**, I do not have perms to unban someone`)
      }
      
      let userID = args[0]
        message.guild.fetchBans().then(bans=> {
        if(bans.size == 0) return 
        let bUser = bans.find(b => b.user.id == userID)
        if(!bUser) return
        message.guild.members.unban(bUser.user)
  })
      
    ;}```

im using v12 and i cant get this cmd to work
#

any reason?

thin turret
#

Error?

peak osprey
#

no

reef mantle
#

hello

#

i am new and i wanna learn C#

#

i have good JS

#

please someone help in C#

swift void
summer torrent
#

don't ask2ask

reef mantle
#

ok :C

#

i thought someone of you could help

summer torrent
#

ask your question instead of "please help"

#

and someone will help

peak osprey
#
if (command === 'ban') {
    if(!message.member.hasPermission("BAN_MEMBERS")) return message.reply("You don't have premission to do that!");
  let reason = args.slice(1).join(' ');
  let member = message.mentions.members.first();
  if (!member) return message.reply('You must mention someone to ban them.');
  if (reason.length < 1) return message.reply('You must have a reason for the ban.');

  let dmsEmbed = new Discord.MessageEmbed()
  .setTitle("ban")
  .setColor("#00ff00")
  .setDescription(`You have been banned on \`${message.guild.name}\``)
  .addField("Banned by", message.author.tag)
  .addField("Reason", reason);

  member.send(dmsEmbed)
.catch(() => console.log("Couldn't send DM before banning"))

      member
        .ban({
          reason: reason,
        })
        .then((member) => {
          
          message.reply(`Successfully banned ${member.tag}`);
        })
  message.delete();

}```
#

when i ban someone it says banned undefined

summer torrent
#

member.user.tag

reef mantle
#

yea

peak osprey
#

ah i am dumb thanks

reef mantle
#

np

half bear
#

can anyone help?

earnest phoenix
#

take the roles, map them to their mention property, join with whatever char you want

#

hey how to animated bot pic in top.gg?

shy turret
#

you cant have an animated bot pic but u can use css

earnest phoenix
#

example?

#

how can i put all roles with @ in embed?
@half bear js message.guild.roles.map(role => role)

#

@shy turret give me example pls

shy turret
#

dont ping me

#

um

#

idk

#

i dont really use...

#

those stuff

#

in djs'

half bear
#

@half bear js message.guild.roles.map(role => role)
@earnest phoenix is it only for 1 server

#

and is it like that?

...
{ name: '![detiket](https://cdn.discordapp.com/emojis/758302676597080094.webp?size=128 "detiket") Roller', value: `${message.guild.roles.map(role => role)}` },
...
summer torrent
#

don't spoonfeed @earnest phoenix

pale vessel
#

the mention property is role.toString(), not just role @half bear

#

that would be the object and in order to format it to mention, you have to use `${role}`, might as well use role.toString()

earnest phoenix
#

ок

#

how to make this buttons in top.gg with css lol

#

what

#

animated buttons and bot logo

pale vessel
#

you answered yourself

#

css

#

use the html style tag

earnest phoenix
#

example?

#

What would it look like to set a cooldown in JavaScript. Like for the bot to wait before logging something

#

And hi again I've been taking some coding classes

#

that's not what a cooldown is

#

Pb. I'm still relatively new at this. I don't know the terminology for a lot

#

a cooldown is the amount of time needed to execute an action that had been executed previously

#

ergo cooldown

#

Oh

#

What I want to do is that when the bot receives a command, it'll wait a set amount of time before logging a response. What I don't know is how to put that into JavaScript. I don't know an object is there I'm missing. I don't know what I need to do to make a delay

#

setTimeout

#

Ok. Is that the command?

#

that's a method

#

globally available

#

Ok that's what I was looking for

#

Thank you so much

#

first parameter takes a function you want to execute later, second parameter takes the amount of ms

#

no problem, always

#

2 parameters?

#

yup

#

Oh I looked it up I'm being input

#

Getting**

#

you should be able to find samples by just googling the name

#

yeah

peak osprey
#

is there a doc to make a unban command for js

earnest phoenix
#

no

#

that's a stupid question

#

it's like asking "is there a step by step how to solve 4x^2 + 1x + 2 = 0" in maths

not everything will be given to you right away, take a step back, analyze the problem and conclude what you need. search around your lib's documentation for the methods you think are appropriate

#

Ok. So now all I need to do rn is figure out how to make a discord bot without being able to download anything. I know how to make the code, I just need to know how to get it into discord

#

I for the most part have the code. That's good

#

it's not how that works

sage bobcat
#

One message removed from a suspended account.

opal plank
#

Huh?

molten charm
#

Is there any dbl vote tracking code written using discord.js? When someone votes, they will send a thank you message to the channel I chose.

opal plank
sage bobcat
#

One message removed from a suspended account.

opal plank
#

once you know how to use a webhook

faint prism
#

it's like asking "is there a step by step how to solve 4x^2 + 1x + 2 = 0" in maths

not everything will be given to you right away, take a step back, analyze the problem and conclude what you need. search around your lib's documentation for the methods you think are appropriate
@earnest phoenix get that quadratic formula mmLol

opal plank
#

you can log them locally

#

@earnest phoenix get that quadratic formula mmLol
Just google it mmulu

sage bobcat
#

One message removed from a suspended account.

#

One message removed from a suspended account.

opal plank
#

OMG

#

MY EYES

dreamy cedar
#

how i make the reaction work only if the user has specific permission or role

opal plank
#

i was looking for a website that did that formula @faint prism

#

click this

#

and have your retinas burned

faint prism
#

Just do the formula

#

It's literally a math function

earnest phoenix
#

does anyone else have the formula engraved into your brain or was your math teacher normal

opal plank
#

Indeed

faint prism
#

Yeah

sonic lodge
#

lol we had a "song"

sage bobcat
#

One message removed from a suspended account.

#

One message removed from a suspended account.

#

One message removed from a suspended account.

opal plank
#

i forgot it too

faint prism
#

lol we had a "song"
@sonic lodge same

opal plank
#

its been to many years

sage bobcat
#

One message removed from a suspended account.

opal plank
#

i think its been 5 or 6 years for me

earnest phoenix
#

we're constantly using it

sonic lodge
#

the "song" just happens to be the formula to the tune of mary had little lamb or something

narrow cloak
#

Anyone knows how to code java for bot

faint prism
#

The quadratic formula of navigative b is plus or minus the square root of b squared minus 4ac all over 2a

earnest phoenix
#

coding java? well that's an intense task considering there's a whole company out there working on it 😓

fluid basin
#

3 billion devices run Java™️

opal plank
#

-since 1965™️

earnest phoenix
#

X=(-b ± √(b²-4ac))/2a

pale vessel
#

wait, it's always 3 billion?

opal plank
#

ive never seen that number go up nor down

earnest phoenix
#

I'm in precalc rn

#

Hello

fluid basin
#

hey please stay on topic this is development not math-help

earnest phoenix
#

Help

opal plank
#

i dont recall ever seeing it at 2bil

earnest phoenix
#

runs on 3bil devices because oracle paid companies to enforce java lol

narrow cloak
#

If we code in kotlin for a bot

sage bobcat
#

One message removed from a suspended account.

keen willow
#

hello

vernal rivet
#

I see c#

earnest phoenix
#

does your class extend InteractiveBase

sage bobcat
#

One message removed from a suspended account.

keen willow
#

anyone here available for a web project?

opal plank
#

Nowadays the only thing im extending on my code are bugs mmulu

vernal rivet
#

Oofers

earnest phoenix
#

i forgot how interactive works

opal plank
#

Patches bug on index. breaks remote filed that used to call whatever was there before

sage bobcat
#

One message removed from a suspended account.

earnest phoenix
#

viewing gh on mobile sucks ass

fluid basin
#

@keen willow uh pretty sure this isn't a place to ask for people to work together with you, but instead for coding help.

earnest phoenix
#

the repo should have samples though

opal plank
#

run it on mobile version

vernal rivet
#

It allows awaiting for messages, and other stuff

opal plank
#

desktop*

earnest phoenix
#

i knoe what interactive does, i forgot how it works

#

know

keen willow
earnest phoenix
fluid basin
#

yeah I saw

vernal rivet
#

Oh it should attach the methods to the command context from what I remember

fluid basin
#

instead you should describe more about what you are doing instead of asking blindly

twilit rapids
#

Mistake from them, sorry

#

-needdev @keen willow

gilded plankBOT
#

@keen willow

DBL is not a place to find developers for jobs. You can try and put a request on Fiverr or Freelancer. Please do not post the request again. Doing so may result in punishment.

fluid basin
#

thanks @twilit rapids

earnest phoenix
#

yeah, extends ModuleBase

vernal rivet
#

Mhm

earnest phoenix
#

that's why InteractiveService needs to be in your DI container

#

i remember now

keen willow
#

well @twilit rapids why does @sacred cypress said to look here AwkwardKid

vernal rivet
#

Mhm

twilit rapids
#

Like I said

fluid basin
#

does anyone use docker for their bot here

twilit rapids
#

"Mistake from them, sorry"

narrow cloak
#

I want to create a bot please help me what is the easy coding

keen willow
#

oh ok

opal plank
#

theres no easy coding

vernal rivet
#

?

opal plank
#

you gotta learn the language @narrow cloak

vernal rivet
#

How much knowledge do you in programming?

opal plank
#

me?

vernal rivet
#

No jeffin

opal plank
#

ah

vernal rivet
#

You I already know, knows a lot

narrow cloak
#

@vernal rivet I am nothing know

opal plank
#

then you should start from there

#

have u chosen which lang u wanna start with?

vernal rivet
#

Then I recommend you learn some before jumping in.

narrow cloak
#

Java or python or kotlin

fluid basin
#

oh nvm

opal plank
#

learn: Programming languages to start out with:

JavaScript: Programming language used mostly for web development, very widely. used
https://www.codecademy.com/learn/javascript - Interactive tutorial for JS in
http://javascript.info/ - Another tutorial

Python: Well-known programming language, widely supported.
https://docs.python.org/3/tutorial/ - official tutorial, not interactive
http://www.learnpython.org/ - somewhat interactive tutorial

Ruby: Another programming language similar to Python, easier to learn for some people.
https://www.ruby-lang.org/en/documentation/quickstart/ - very quick introduction that only teaches you the basics
http://poignant.guide/ - the infamous "Poignant Guide", a light-hearted humourous tutorial
https://www.codecademy.com/learn/ruby - interactive, serious tutorial

Lua: A programming language that provides a really simple syntax, easy to learn, and understand, yet powerful language, mostly used with games.
https://www.lua.org/pil/contents.html - "Programming In Lua" book, the official guide to Lua, this is the free edition that aims at Lua 5.0
https://www.lua.org/manual/5.1/manual.html - The official language manual for Lua 5.1, contains everything you need to know about the language.

vernal rivet
#

I recommend javascript or python for newer programmers

narrow cloak
#

Thanks a lot

opal plank
narrow cloak
#

👍

vernal rivet
#

Np

fluid basin
#

tfw sparse files is dumb on mac using docker

#

takes unnecessary amount of space

vernal rivet
#

Oofers

opal plank
#

Time to break the production bot again

vernal rivet
#

Rip

opal plank
#

lets push untested commits onto it

#

and see what happens

tidal marlin
#

When I cache DB, should I then reffer to an user as if(DB.ID === message.author.id) or is there other way?

vernal rivet
#

Sounds fun

fluid basin
#

what? cache DB?

vernal rivet
#

?

#

What db are we talking about?

tidal marlin
#

NoSQL

fluid basin
#

if you want to cache things, that largely depends on your data structure

vernal rivet
#

It's usually different for every db

opal plank
#

usually DB's are either persistent or in memory

#

im not familiar with 'cache db' either

tidal marlin
#

hmmm ok

fluid basin
#

also a database is not a cache

opal plank
#

cache implies temporary

vernal rivet
#

It's a holder of data

opal plank
#

so its either memory or storage/persistent

narrow cloak
#

#development message
you can check this out if you want to use javascript
@fluid basin what is this link

opal plank
#

afaik, there might be some other stuff there im not aware of

fluid basin
#

@narrow cloak uh some resources and what you need to know to make a bot?

narrow cloak
#

Ok bro

fluid basin
#

thats for javascript/nodejs though

opal plank
#

Oh boy, this is going to be one hell of a bad idea.....

vernal rivet
#

Rip erwin

fluid basin
#

btw mongodb has no cache afaik

opal plank
#

i sure hope IRC uses specific sessions rather than tokens to rate limit

#

cuz otherwise i'll get my ass ratelimited hard

#

with irc spam

fluid basin
#

write your own ratelimit bucket KEKW

#

they usually should have a ratelimit header

opal plank
#

IRC doesnt

slender thistle
#

I use my custom caching for mongo life ez

opal plank
#

the Helix api does come with header

#

not IRC

fluid basin
#

ooh its rare seeing a green shiv, anyways mongo is pretty fast if you use a ssd/nvme drive instead of a hdd

#

since it usually directly reads the data from the drive

#

thats why its mem usage is little

faint prism
fluid basin
#

seems like a library issue?

faint prism
#

Normally when it disconnect it reconnects

ebon verge
#

:/

faint prism
#

But it's like it gave up this one time 😒

fluid basin
#

more than once?

#

look at the disconnect and reconnect below

faint prism
#

It does that constantly

#

but stays online

fluid basin
#

yeah but that only a few seconds

#

not a few hours

faint prism
#

Those log entries are from the lib, not mine

narrow cloak
#

if anyone knows kotlin language

faint prism
#

Yeah, the difference is that it didn't reconnect

#

So I had to restart the service

fluid basin
#

pretty sure there are kotlin libraries for discord

narrow cloak
#

kotlin language for bots if its true

faint prism
#

It's just java but with boilerplate code reduced, yeah?