#development
1 messages · Page 1086 of 1
same
totes, but you need to give each user that privacy policy before adding them
to that online list
reminder that we are now required to add disclaimers to our bots
quick question, how can I get the discord.client object in a different process?
without using IPC if possible
and without sending it to an API
api too
make an index the redirect traffic
i deleted bot .'(
sending it to another process is ipc
like what
no i mean like
if i've got process a, and i've got data in process b i want to send to process a, how can i do this?
IPC
with ipc
lmao
it's literally inter-process communication
without using an api too lol
iipc moment
exactly
why NOt use IPC?
how do i communicate between processes without communicating between processes
just read a quick guide on it
hmm
make server;
log both processes;
emit event(type and data)
listener on other end
boom
its not that complicated at all
yeah
i googled it the other day and 🥴
its not hard at all
at a high level ofc yeah
you seem to only need some basic stuff
IPC can be used for some really complicated shit
yeah
but for basic stuff its not hard at all
i use it to talk to my Yyoutube/twitch/discord bots
remember it has limitations on how much data it sends
you could also do Database to technically pass large quantities of data
WITH ipc
technically
make a table, generate an id and put data into database. just use IPC to send the id over to the other process to fetch it
well, im trying to send the whole eris client object, and eris has almost everything in the client class
why are you sending an entire client object
so probably shouldn't use the db for this
im not sure it'd be very nice to send large objects over
why are you even sending it
use named pipes and transfer bytes of data
buffers lul
for many reasons, to make a chat on the website to speak in the support server, gets the bots statistics etc
and im not using widget either
that does NOt need the entire client object
why not parse that and send it?
i know
you named 5 things, why not send those 5 things in a json rather than the whole client?
ikr lmao
send as needed
im not doing just that, i'd need to make an option to add reactions maybe or more stuff i dont realy know atm
wdym?
are you trying to interface discord on a website?
titan embeds did that already
im trying to make it mostly all myself
use IPC to make a small api then
i'll look into ipc a bit more
1 is type of event
second is data
with that in mind, make a server for IPC and then log both instances
now they are both linked together
now heres the fun part
send the event 'request' to your place that has your client
and send the json with the properties of the data you need
for example
pipes?
anyone know any sources on structure extensions?
is it really this simple?
https://discordapp.com/channels/264445053596991498/272764566411149314/725744409295192125
i got an idea actually
make a private npm library which holds the data- nvm actually just realised that wont be dynamic
poggers
bot a
ipc.on('request', (request) => {//listen event request
let data;
if(request.data) client.push data.data; //if request has data property in it, put whatever property
ipc.emit('return', data) //sends data to bot b
}
bot b
ipc.emit('request', (request) => { //emit event request
let request;
request.data = true;
}
ipc.on('return' => {//heres your data from bot a} )
``` @digital ibex
does that give a rough idea of what i mean??
build your json to have the properties of the stuff you want
or just send an array and dynamically check
up to you , but thats a rough jist of how you'd be able to request stuff on the go
yeah, this confuses me.
you used d.js before, no?
no
its pretty much
client.on('message') events
^^
i was going to use that as example
events are emiited and listened to
you are listening to requests and emitting responses
its a very basic api
but for yourself
i'll just make my own api requests, thanks anyways
IPC is just so you dont have to use websockets around
that example i gave you is just 2 events
send/receive
but on my pc u can make api requests to localhost, what about a linux machine, dashboard and bot are both hosted there?
i mean the api method
you can make internal requests with http in node
should work
would it work on a linux machine too?
yes
hm ok, thanks guys
@digital ibex
yeah
that was the thing which confused me along with a stackoverflow thing before :p
look at the examples, it makes it quite easy to understand
check localhost and UDP examples
like i said, it can be used to basic stuff like this https://ptb.discordapp.com/channels/264445053596991498/272764566411149314/736669216962379856
or it could be much more complicated like that
yeah
im trying 2 different methods:
- make the api requests myself (preferably)
- make a small express server
im pretty sure d.js has a fetchApplication to get the application info, or something like that, im looking at the discord docs, how can i also do this?
i cant find it anywhere
application info?
1 sec
for your own application you can use that iirc
actually
nvm actually
nvm that doesnt do API calls
thats just reversing the snowflake
i though it did a call
is that not what you want?
client applications need oath iirc
i mean yeah, prob would be a security breach but ya lol
Integrate your service with Discord — whether it's a bot or a game or whatever your wildest imagination can come up with.
try this
should not work for you
im sure it needs oatuh
I really think you should use ICP instead of Websocket communication, it's more appropriate
you know IPC well feud?
IPC*
it confuses me :/
Feud might be able to give you a better help, this is what i recommended
bot a
ipc.on('request', (request) => {//listen event request
let data;
if(request.data) client.push data.data; //if request has data property in it, put whatever property
ipc.emit('return', data) //sends data to bot b
}
bot b
ipc.emit('request', (request) => { //emit event request
let request;
request.data = true;
}
ipc.on('return' => {//heres your data from bot a} )
I am using discord.py, the extension thing, and my on_message_edit event gets triggered at any command
I need some help
2 events, one sending, one receiving
I haven't found any help on the internet or in the docs
how do i assign a role to a member in discord.js
I've never had the chance to use it practically but I 've experimented with it
im using it, but its rather simple
im using similar structure to what i sent above
its somewhat an api
checks for each property of json object and builds it based on it, once its built, it emits back to the client who requested
hey i have a problem
i followed the official command handler guide
and
now my bot react with every prefix
i can put anything before the command name it'll still do it
here's the code
the prefix is *
did u add
if (message.content.startsWith(prefix)) return;
or smth
prefix.length is line 81
also you may want to use
if (message.channel.type === "dm") return;
instead of (!message.guild)
You only need prefix.length if you're using args properly
both do the same thing
Another thing you could use is node's built in worker threads/ child process module (which also uses IPC). Your express server could spawn the bot process (I'm assuming that's what you are doing?) and that way they can easily communicate
Yeah that's what I meant
what ?
no the problem is
the command is sent regardless of the prefix
it could be
bban
çban
)ban
"ban
it'll be sent
or it should only be sent with *ban
ok
Wait no
no ?
idek
you can't slice an string off with .slice
your slicing prefix out, but never checking if its at the beginning of content
That's correct, i assume Something is wrong with the command setup
Oh wait yea
if(!message.content.startsWith(prefix)) return;
Anyone uses asyncpg here?
thankssss
The what
you guys are the bests
@plucky harness async package? Or what I'm confused, "asyncpg"
Asyncpg. Pg = postgresql for python
lmao
not a single one
i found a dumb bug in my code.
tag @ here without any other text, and it responds like you tagged it directly.
I absolutely need to fix it asap, but its been like it for weeks, and has only happened twice.
oh i just need to check if its mentioning the bot directly
not checking if its being mentioned at all
match regex
yeah
'<!?idhere>'
funny enough, thats how i do prefix checks.
\d+
ah no read that wrong
if (message.mentions.has(client.user.id) && message.content.length < 23) return message.channel.send(`My prefix in this community is \`${serverSettings.prefix}\`\nUse ${serverSettings.prefix}help for help!`)
const prefixMention = new RegExp(`^<@!?${client.user.id}> `);
const prefix = message.content.match(prefixMention) ? message.content.match(prefixMention)[0] : serverSettings.prefix;
if (!message.content.toLowerCase().startsWith(prefix.toLowerCase())) return;
? is the same as !{0,1}
Is economy stuff need sort off extra things to do it like database to keep user data or something ?
mine is similar, though i only use it on twitch
holdon
i really need to recode my twitch and youtube bots, they are getting far behind my main branch one
The f u c k
What is a message.chat
Oh sick
its a collection of bots
thats why it takes so long for me to make commands
i gotta add the same command on twitch, discord, youtube and the beta branch
oh intresting
its one hell of a nightmare
its now instanely fun cuz 2 of them are on Ts
so i gotta write Ts AND Js
yes, theres a difference
my Ts is set to strict mode, so it'll fuck everything up
is it api abuse if i use my bot to dm owners of servers that use my bot that are over 300 members (excluding top.gg) a link to the new version of that bot
i would think so, yes.
api abuse is kind of a grey line.
6 requests i dont think will ever be enough for action to be taken against your account.
If you use like discord.js or discord.py they put ratelimits to make sure you don’t get banned
you can api abuse without hitting ratelimits
That's a wrong way to phrase it
d.js and d.py automatically handle the Discord ratelimits for you
check pins for a distinction between api abuse and normal usage
tldr
don't do anything the user didn't ask for
clIenT modIfiCatiOns
not my screenshot 🤔
large N? so like, 10 minutes?
they never really say
doesnt server monitor do it every 10 minutes or so
just add a little extra response to each command that gives them a link to the new version anyways
or just put it in your bot status
lmao who looks at statuses, especially bot statuses
you need a backend server
you're misunderstanding how client server relationships work
the client has to make a request to the backend server
any sort of webserver that's able to ping your bot or be logged in with the bot in order to return the correct stats
The GitHub Pages would request your server and you would return a json of stats and stuff you want to send probably
^
hiii im back agaiin
any ideas how i can fix this error? FetchError: invalid json response body at <url> reason: Unexpected end of JSON input
yeah
Are timers commands api abuse, they would be right?
blu, think about that for a minute
you would be giving details to your database to everyone
right click > inspect element > sources
you cannot put any sensitive information on the frontend, anyone can edit and view frontend code
any ideas about my error, cry?
no idea
parse the response body as a string or something then console.log the response
is it a url or is it a file?
url
wait you are using fetch?
would i do js const bob = await fetch('url', { other stuff here }); return String(bob); instead of just, return bob; ?
yeah i am
but then how can i access the response? 🤔
confusion101
use bob.text() to convert it to a string, then log the result from the promise it returns
kk
im doing this: js const hook = await fetch(`https://discord.com/api/webhooks/${webhook.id}/${webhook.token}`, { // stuff here }).then((e) => e.json()); console.log(`a` + hook.text()); return hook; } the webhook gets sent, but nothing logs, any ideas?
what the hell are you doing?
making an api request?
why?
what
im confused
🥶
the response of the api request is erroring.. thats what im trying to fix
why are you making an api request?
because I do not think it is needed
so are you creating a webhook and sending to it?
yes
d.js 12?
the fuck
try maybe:??
const hook = await fetch(`https://discord.com/api/webhooks/${webhook.id}/${webhook.token}`, {
// stuff here
}).then((e) => e.json());
console.log(`a` + webhook.text());
return hook;
}
why not
nvm im retarded
are you making a bot or posting to a webhook?
didnt see the const
moyaing? wut this
what did you put in //stuff here?
or help..
are you sending a message to a webhook?
webhooks are posts right?
yes
just the header, method and body
yeah
no
no
the creating & sending the webhook works
and yeah, its a post
its the response whch is erroring
not allowing me to do whatever i want underneath
Integrate your service with Discord — whether it's a bot or a game or whatever your wildest imagination can come up with.
thanks
np
reading a bit myself rn
so what are you trying to do with the webhook? @digital ibex
wtf
its the response which is erroring
may I ask why you need a response if you are not doing anything with it
param wait might be useful if your trying to get a response
i am moyaing so hard
what is a moyaing
doesnt look like a word
im just confused on what you are trying to do
nothing, im trying to make it stop erroing
the response im getting is causing an error
and idk how to fix it
wht error
any anything which i wanna do underneath, i cant do
its
FetchError: invalid json response body at <url> reason: Unexpected end of JSON input
are you sending the wait query string param
which one?
it doesnt say what the default is
yeah i am
try this first and see if it works @digital ibex , if it does its something to do with ur config or wherever the webhook token is stored
const hook = await fetch(`https://discord.com/api/webhooks/webhookthingy/the_actual_token`, {
// stuff here
}).then((e) => e.json());
console.log(`a` + hook.text());
return hook;
}
so put the actual token in the link
and the webhook thingy idk the name 😂
what???
i think your then is running before the console log, so its erroring out before it can log
id
the moyai works..
no i mean
whoop
sthats because im moyaing so hard rn sorry. mind me
the webhook works
Kind of a newbie, anyone know what this error is?
throw err;
^
Error: Cannot find module './config.json'
Require stack:
- /Users/kamolkhon/Desktop/DiscordBot/index.js
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:965:15)
at Function.Module._load (internal/modules/cjs/loader.js:841:27)
at Module.require (internal/modules/cjs/loader.js:1025:19)
at require (internal/modules/cjs/helpers.js:72:18)
at Object.<anonymous> (/Users/kamolkhon/Desktop/DiscordBot/index.js:3:16)
at Module._compile (internal/modules/cjs/loader.js:1137:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1157:10)
at Module.load (internal/modules/cjs/loader.js:985:32)
at Function.Module._load (internal/modules/cjs/loader.js:878:14)
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:71:12) {
code: 'MODULE_NOT_FOUND',
requireStack: [ '/Users/kamolkhon/Desktop/DiscordBot/index.js' ]
}```
yes
wrong path
and u want me to post my token ?
no
no
do what myself?
lmao
the webhook is working tho 🤔
does the link work the url?
you are requiring a file that isnt there
@crimson vapor How do I know what file I'm missing>
config.json
ohhh
Thanks! @split nova
np , and @digital ibex u see where it says ${webhook.id}and ${webhook.token}
remove that and add the actual token and id
yes?
not a const
idk if u get a request then it means that ur link is the issue
So for config.json, I'm supposed to enter the prefix right?
yeah u can do
the request is working
oh ok
nah
I'm tryna do const PREFIX = '//some prefix' But, it keeps showing this problem, what do I do?
// means comment
Oh
Ah,
{ "defaultPrefix": "!" } is a good way to do it
Thanks a lot!
no its a json file
ik
also, dont store prefixes that change in a json file
Oh, now I know how to work a .json file. Thanks a lot!
@digital ibex if u want to stop the error this is what i found:
_parseJSON: function(response) {
return response.text().then(function(text) {
return text ? JSON.parse(text) : {}
})
}
internal/modules/cjs/loader.js:1174
throw err;
^
SyntaxError: /Users/kamolkhon/Desktop/DiscordBot/config.json: Unexpected end of JSON input
at parse (<anonymous>)
at Object.Module._extensions..json (internal/modules/cjs/loader.js:1171:22)
at Module.load (internal/modules/cjs/loader.js:985:32)
at Function.Module._load (internal/modules/cjs/loader.js:878:14)
at Module.require (internal/modules/cjs/loader.js:1025:19)
at require (internal/modules/cjs/helpers.js:72:18)
at Object.<anonymous> (/Users/kamolkhon/Desktop/DiscordBot/index.js:3:16)
at Module._compile (internal/modules/cjs/loader.js:1137:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1157:10)
at Module.load (internal/modules/cjs/loader.js:985:32)```
I'm pretty sure this means I ddi something wrong in config.json. But, I'm a bit new to programming language, so idk what it is or how to fix it heh 😅
@sudden hedge its a bad token in your JSON
Incorrect token?
no
json format is
{
"key": "value",
//continue
}```
can you send the text in your config.json without sending your token or such
^^
I never entered a token into my json
save the file
that should work just fine
white dot means you didnt save
Ah, saved
@sudden hedge uhh
Yes?
linter should take care of anything
wtf is ur name
LOL
im not against it
Its just something with my friend lmao

Me
no
good
Btw
wut
Does anyone knows how to make a custom bot
id say everyone here
this is develpment
What profit
its gotta be approved
Any MongoDB wizards out there? I'm fetching a user document that has some values. When I print it out in the terminal I can see the values I want, but when I iterate the object, I only get one of them. Why's that?
look behind you, joke went right over your head
😂
best you can do is use bot-maker @pallid glen
@loud bison spawn 99999999
i just found out im a dumbass
so.... any ideas @split nova ?
?
O
not really man , i said i dont really do js , that error means usually means no more parsing is required
sorry man i tried lol
yeah
but
thats the response of the api request which is erroring
not anything im doing
and idk how to fix it
you havent used ipc, have you lost?
no
you should
this is something different not related to what i was talking about earlier
oh, i see
anyone have a good free 24/7 hosting service? using heroku rn but it only provides 550 hours per month
type n.tag hosting in #265156322012561408
shoot i forget the name everyones recommending recently
danbot?
loc
nah, some free thing.
they offered quite a lot iirc
i mean
i could get 1000 hours per month by verifying with credit card but idk if thats a good idea
aws
if u want a good free host, use LOC
or f1
mind if i dm u the discord link?
ok
why is npmjs.com/package/google being very annoying -.-
https://i.callumdev.pw/s3h5t.png
have you looked at the docs?
@slender thistle #development message
do you know how to create like this? I'm using exec() function but always getting error
that is eval, not exec
./commandes/addrole.js wasnt found
Commandes
commandes
isn't it case insensitive?
is this on a linux machine?
heroku is linux
in commandes folder, run ls see if u updated the code or something idk how heroku works
wait question about heroku, what do you have to pay for eventually? (in the resources tab, rn its $0.00 but when would it increase?)
i'm trying to change the folder's name
Does anyone have experience of using MongoDB? I installed the latest version of MongoDB to my CentOS server but when I did mongod to start it up, it stucked at the SHARDING section and timed out after a few minutes.
ok it works but how do i do to run another script with heroku?
my bot is using lavalink so i need two cmd to run both "npm run llavalink" and "node index.js"
Run lavalink separately then
but i want it to be on heroku
bash & chained commands
ok
use package.json
Use a vps for lavalink definitely
*and your bot
oh yea
what should i use so?
Vps
any decent VPS
recommend me some
type n.tag host in #265156322012561408
i should add LoC to that tbf
i cant be bothered to go check all those vps's to be honest
ive heard somes tuff about that, danbot and loc
which is?
never heard
that is eval, not exec
@pale vessel ondiscord.pyuse eval? I'mdiscord.pyuser
if you stop a collector without a reason will the end event's collected reason be a falsey value?
it seems if no reason is provided, it defaults to "user"
assuming message collectors
timers override it tho
All of them
this is probably a dumb question but how do you include gifs in embeds?
since when i add a gif link it goes as a still image
programming or...
Programming
mostly just js
What about poothon
never used
So pretty much js
english, portuguese and a bit of slovenian and spanish
how would I make my bot dm me when it joins a server
listen on guildCreate event
Actually asking
lol I’m being stupid

actually yes I do
decide 
I do
listen to the guildCreate event, then just get yourself from client.users cache and send dm
(im also assuming you're on d.js)
perfect, you now the second part
now the first, part, which is listen to guildCreate event
do you know how to listen to events?
yep
then you good to go?
Can I make my bot dm me using my user id?
how would I do that
client.users cache
I think I know how to do that
perfect, if you get stuck let me know
Is it ok?
I would get my id and use it as a constant, then I would pass it like “message.owner.send(message)”? @opal plank
running bots on heroku? no, not okay
Why?
cuz heroku isnt a bot hosting service
heroku worked for me but
btw charge your phone
XD
'works' isnt an excuse for 'should'
heroku isnt a bot hosting service, and they aggresively put down bots
heroku and glitch, both do
@torn ravine you could do that, yeah
actually
But I want free hosting
no, user.send()
how do you include gifs in embeds, since when i add a gif link it goes as a still image?
@violet haven theres better options
@violet haven plenty of free hosting out there that is proper for bots
Ok I’ll search tomorrow good night🙃
I’m waiting for my bot to get approved
idk that many
type n.tag host in #265156322012561408
Not Erwin do you know how to you include gifs in embeds, since when i add a gif link it goes as a still image?
hmm
embeds? yeah, either thumbnail or image
would a purge command be in the Moderation section or the Utility section?
make sure extension is gif btw
yea, but when i do .setImage('https://i.ibb.co/2gwMDLJ/ranbom.gif')
Not Erwin do you know how to you include gifs in embeds, since when i add a gif link it goes as a still image?
@frozen prawn.setImage("url (including https://))
it sends a static image
no
lmao
would a purge command be in the Moderation section or the Utility section?
https://discord.com/developers/docs/resources/channel @frozen prawn
Integrate your service with Discord — whether it's a bot or a game or whatever your wildest imagination can come up with.
How do we get bot developer perm?
fits both
How do we get bot developer perm?
@raw turret make a bot
@raw turret wait approval
ez
@raw turret submit your bot
Waiting for my bot to be approved
then keep waiting
I just added the bot, I'm waiting.
100,000 years later
:D
good, if you have questions, feel free to ask, else go somewhere else
okey
@frozen prawn from that link you sent i assume the gif itself isnt an actual gif lol
I did something
there
@opal plank yea lol user error
heres the real link for it i think https://ibb.co/6rWtb3t
no, here's the link https://i.ibb.co/rFwpMCp/ranbom.gif
@frozen prawn stop sending seizure inducing images
you need the actual gif.
surry
use that link on the embed
How long does it take for a bot to be approved
That rly does suck
https://ibb.co/6rWtb3t this one or https://ibb.co/6rWtb3t/ranbom.gif ?
You should be able to open it in your browser and it'll be an actual gif
did that earlier today too. Thats what i get for having multiple discord clients open and alt tabbing and not looking
prob send them a message
blurry usually gets that
though they usually say if you had it blurry or not
@opal plank me ?
wait you have to send your passport to get verified?
any valid document
yes ,
ah ok
what exactly are you asking for?
do i need to tell you how illegal that is?
false identity
ok sry

wtf
Hi
when you do await in an async on js it will stop running that and everything below it until the stuff above is done right
or with await it stops the rest of the process and lets it run after the line is done
how do i add a role to a user in discord.js? (using role names or ids)
You can use <GuildMember>.roles.add (https://discord.js.org/#/docs/main/stable/class/GuildMemberRoleManager?scrollTo=add). If you want to use role names, you should find the role in the <Guild>.roles.cache collection first.
would this work?
var guildMember = message.author
guildMember.roles.add('id')
or this?
var role = client.roles.cache.find(whatever goes here for the role name finding thing)
var member = message.author
member.roles.add(role)
It has to be a guild member instance, not a user instance (.author vs. .member).
so message.member?
yes, try it out and see
alr ill get back to you one moment
@karmic compass dont use vars, use let/const
good point, forgot that
it works! i'm going to try with the name one now
i got an error
.roles should be used on a guild instance.
can i have an example?
The message object has a .guild property that represents the guild the message was sent from.
wait if a did a let theGuild = message.guild would that work?
and then instaed of putting client. do theGuild.
yes
more like discord.js, but it'll get easier as you progress
yes, time to test 👀
very cool! thank you, surprised this community is very helpful. (it worked)
raw api is a much bigger monster
trust me discord's api looks like a puppy dog compared to some apis I've seen
can someone explain what the circled bit means like I'm 5? very new to programming and/or discord.js and javascript and most of what I've done is from tutorials that don't explain very well
for is a loop
so it'll loop that function for every file in it
then it'll declare (import) every file
and make a map the key/value
aka you're setting client.commands (which is a map), and inserting it the file name plus the function on it
if your file is called add
the run will code on that add like this
const command = require('./commands/add') (add.js, js is omitted)
client.commands.set(add.name, add)
@bright dove
cant explain more for dummies than that
Anyway I can have <channel>.bulkDelete tell me how much messages it deleted, lets say I specify 100, but it deletes 56 since 44 are older than 2 weeks, how could I get that info
just for clarification will serverMember.roles.remove work aswell?
ok so this works fine when I just have it say "pong!" but as soon as I try to actually add the ping it says that "client" isn't defined. how do I fix this?
description says API speed but I haven't actually added that yet lol
@bright dove no
client is not defined
those are not decoration, they are there to help you
attach client onto message or pass client as an argument
idk what that means 😨
pass client as a parameter
in the "execute(message, args)"? so make it "execute(client, message, args)"?
or am I still being dumb
ok good
if you put client infront make sure client is infront on your index too
index is where it's called on the main.js file right?
ok noice
its your initial file per say

(I already did most of this stuff, but I ended up breaking it somehow and decided to start from scratch getting in-depth definitions for everything so I don't mess it up again)
i'd recommend a private repo
on gitbuh
so you can commit working code, then change it on the go. worst case you got backups
👍
i recommend not privatising
i released my github repository to the public a bit ago
it is better to make ur repos public for numerous reasons.
- receive feedback
- just looks better as a dev (my opinion)
- people can contribute to ur repo, making ur project even better
thats just the stuff i can think of, the times when you probably shouldnt is if its an API. then keep it private if u want, otherwise make it public
all my projects are open source with the ones i can choose anyways, like the ones im leading the project
although, i do plan on making one of my projects private soon though.
if theres a private option let people use it 
it doesnt make you any worse of a dev 
i usually recommend private repos
reason 1, people dont copy your code blatently
reason 2, your bot probably isnt unique, theres not reason to make it public. It isnt a lib or something to be handed out
i recommended him the repo as a personal backup, not something public
^
specially cuz doing stuff half assed leads to this https://ptb.discordapp.com/channels/264445053596991498/272764566411149314/736660152979161140
post bad code and 400 other people come here suddenly with EXACTLY 11 message listeners
the whole point of making ur code public is for feedback, yeah people copy but theres nothing much we can do about it 
but yeah, i see where you're coming from
I think 11 is just a default for Node.js
Some of where it's coming from is different.
shivaco said it was likely a bad turkish tutorial
lmao
im pretty sure my website has had a memory leak or two
havent checked the logs because i really dont care
only because im storing users in the cache
ha
Is it common to put your Discord Bot js on Github and public for everyone using your Bot?
wrong channel sir
i was going to say, dont saturate the gitbub with bad code, but its already so bad it wont matter either way
O_O







