#development
1 messages ยท Page 1062 of 1
ik it is
but your box also has the wrong height
hm
so the image goes futher down
all heights must be fixed
this is how i did it
// on main
display: flex;
justify-content: center;
align-items: center;
height: calc(100vh - 37px);
and remove margin-top from avatar1
the 37px is the height of the header
wdum main
you always have to adjust to remove the header offset
wdum main
but
minus the header
there is no gap
you need more content on the page then
the gap is missing content
you have no content to fill the page with
the gap goes bigger
what
then you're doing something wrong
then the shit was there
but the gap was just at bottom
as usual
bruh
now the top
is far
from everything
oh
Tim
well I appreciate you helping, would you say my website looks good/clean?
Hello guys, I'm getting ECONNRESET error sometimes in my bot. I'm using discord.js v11.6.4, I will upgrade to v12 but without upgrading, how to solve this error? This errors crashes my bot generally.
I try npm update, rewrite package.json, add some events... Not works sadly 
VPS' internet?
yes
their internet is blacking
im not sure why djs does not have reconnect logic that gets around this
but yes the internet going out momentarily is killing your bot
assuming your bot starts up fine afterwards then yes the internet comes back
you should get a process manager to automatically restart your bot
sure
What am i doing wrong
It works on like my hosting but not on glitch
OH
Make sure you have that url whitelisted on the dev portal
How do
I get the DOCS
on the right side
in same line
@quartz kindle
pls
@proven lantern
I keep getting
const embed = new Discord.MessageEmbed()
^^^^^
SyntaxError: Unexpected token 'const'
error
I don't know what to do
Show us the line above it.
wait sorry I figured it out thank you though
You dont need to spam you already asked once
You can wait for someone to spoon feed you or find out yourself
test
hi how to make the message embed? (i'm new making a bot that's why idk) -n-
@fierce wolf what language do you use
tagalog
Yeah sorry can't help
ohh
yea
what have you tried
like commands
yea
yea but it's not working..
what are you using rn
do u mean platform?
i need help whit code
@elfin kiln what are using for coding?
ok what do you need help with
scroll up to where you said node .
did you do npm install?
read the error
did you install discord.js
it tells you what's wrong
make a regex
@elfin kiln do npm install discord.js --save
@merry grove thanks
there should be a guide somewhere online on how to make that, my bot doesn't support it so I dont know fs
ive tried to do the ping for prefix but anytime i said the prefix the bot would also send the prefix so i gave up on it
make a specific line to listen for the mention
so if jts JUST a mention it'll return the prefix
ok thx
you probably made it listen for the bots actual prefix and mention
prob
yes
thats html or c++
whatever
I dont code websites
then don't talk here unless you can help
Dude I asked for help now you causing a problem
if you want v1 on the left side of the site didnt you have docs on the left side
Just shh and let me get help
Hey bro how do i ping my bot and it show prefix can you help me??
rudy stop
2 times
this is a bot discord, we don't focus on html and css
you're better off going to a discord that uses those languages
yes
but in saying that
a guild that FOCUSES on websites
might get you faster help
rudy just stop
just saying
Your the one who asked
:)
Does anyone know how to put v1 on left
bruh just stop sending it
what's gilter defined as
float: right
filter
oh wakt
but it was on a dif line
you put float: left on docs
let bot = await Bots.findOne({ botid: person.id }, { _id: false })
const bots = bot.filter(bot => bot.state !== "deleted" && bot.owners.includes(person.id));```
returns
`TypeError: Cannot read property 'filter' of null`
noctober
I want docs left
learn css
txt right
Sadie what are you trying to do
returns
TypeError: Cannot read property 'filter' of null
I don't use MongoDB, but it meansbotreturned nothing.
I know css
so many questions so lack of care
expose your problems on stackoverflow then
we dont focus on html and css
yes you do
Because we make discord bots, not websites
it's fine to ask html/css questions here
website isn't a bot
and get educated
oh yes
chillax
Alr admin time
@earnest phoenix dont be read
a website is a bot ๐
rude
inb4 pings admin role
@scenic kelp
anywho
I don't use MongoDB, but it means
botreturned nothing.
@sudden geyser ah yes
that fixed it
github workflow 24/7 work
yes/no

Sadie if bot is false make it return an error or something or define it as something g
what's going on
Parmesean, they will not stop badgering me; asking my question respectively.
Your not being respective
I dont know what ur doing so I cant provide help
I don't demand answers to volunteers, however I don't wish for them to say I can't do this when I can.
dude all I did was tell you to go to a website guild
Rudy you've been asked several times to stop.
that focuses on websites
And you started being disrespectful to us
im literally trying to help you here wth
You do not know html, css so you have no buisness replying to my question
bots aren't coded in html or css
omg you're an idiot aren't you
No need to be rude
but im saying yoy might get a better answer in those guilds
I was nice ๐
This channel is for bot development
you're calling me rude yet you cannot hear me out?
Parmesan this channel was referred to me by a staff here, I got approval to ask about top.gg development from an admin so..
can you take my advice now?
It's also regarding my bot on top gg
but your question isnt related
So if someone didn't say I could I wouldn't be here ๐
sassy let parmesan figure it out
And html, css is asked every single day here.
And I haven't had a issue with it until rudy/noctember.
Yes your question can be asked here because it relates to your bot listing
Yes
We didnt say you shouldn't be here but rather that this wasnt the appropriate place and if you wanted help for this you should look somewhere else
So why are we all wasting our time here
thays what I told him atleast 4 times
yes they did
You don't need to argue about it
if your issue isn't directly related to coding bots, youre better off going to a guild focusing on website coding
Exactly so let's all stop right now.
im literally trying to get you best advise
Could y'all just stop while I try to figure out what's going on
thats fine by me
Parmesan I'm trying.
I didn't know u wanted to spam a channel 5 times on one issue instead of using the power of discord ๐คจ๐คจ
And yet you had to get that 1 word out didn't you, stop.
the hypocrite ๐ผ
lets all just stop
I'm posting my question now
Rudy do not respond to it unless you're familiar with html, css - sassy be quiet please, do not talk unless you have a question or an answer. I will not post it again, unless i feel it was consumed by the chat. I'm not being rude, I'm being mature and just have a simple question - I also ask other questions here as wekk (python, js)
Ty
Is there a way to force an element to be the size of the header (padding)?
hypocritical, final word of mine is to try and find a guild based around html and css coding
ok gn
Don't even
Moving on past what happened above I will say that rudy does have a point in that if you seek help for a certain language you are much better off going to a guild dedicated to that language
This is relating to top.gg html, css. In no way does it conflict in a html discord, nor is the html discord as active and AS helpful as this one is.
I know, and you are absolutely allowed to ask here
You're not suppose to share an opinion here, and I'm aware rudy did nothing wrong. But he/she caused an argument, depicted something from my question, gave false advice and then continued to cause a problem.. it's a question.. except it and move on. And now the problem is still being affected by you (in which Rudy caused)
anyone know nongodb
Is there a way to see who a person was invited by before you added the invite manger to your server?
nongo
How would I make something in a description Embed a link like below?
https://gyazo.com/54bc76395c25909d8793f99dda81199b
-wrongserver @earnest phoenix
@earnest phoenix
I-
Parmsean
I'm reposting my question - it's not spam.
It got consumed by others
๐คจ
Is there a way to see who a person was invited by before you added the invite manger to your server?
@earnest phoenix No.
It is kind of spammy if people are constantly bumping their questions
give it a few minutes
I'm about to go dm 1 by 1 and ask for help.
sadie what are you trying to do with them
You wont get loved if you do that (dm everyone asking for help)
I mean I'm already loved ๐
Ok I'll try
Does anyone know how I can resize the button to like.. not go outside the header/nav bar
Bruh.. like seriouslly
Can Someone Help Me Understand Why The Guilds Count Returns As Undefined
2 const { prefix, token } = require('./config.json');
3 const client = new Client();
4 const activities_list = [
5 `TenZO Beta | ${prefix}help`,
6 `TenZO Beta | ${client.guilds.size} Guilds`,
7 `TenZO Beta | ${client.guilds.size} Guilds`,
8 `TenZO Beta | ${prefix}help`
9 ];
10
11 client.on('ready', () => {
12 console.log(`Logged in as ${client.user.tag}! With Prefix ${prefix}`);
13 setInterval(() => {
14 const index = Math.floor(Math.random() * (activities_list.length - 1) + 1
15 client.user.setActivity(activities_list[index]); // sets bot's activities
16 }, 30000); // Runs this every 10 seconds.
17 });```
It's fine
Alright
Does anyone know how I can resize the button to like.. not go outside the header/nav bar
@earnest phoenix could you rephrase that?
client.guilds.cache.size
DOes anyone know mongoose?
how is mongoose structured
@spice pier I have my right to explain this - You have no right telling me what I should/shouldn't do. I have my right to defend your proclaim - you made on my question, so if you do not want this kind of attitude "from me" or to be treated rudly, I suggest you understand I have my right to post my question if it's gone by the messages.. and not waste my time, the staff's time, or take up chat space by saying that. Now we stop ok? Good, thanks for understanding.
@lyric mountain I will rephrase.
Im trying to check if an array contains the ID of a user..
let bot = await Bots.findOne({
"owners": {
0: person.id
}
})```
This returns: [2020-07-16 03:08:53] TypeError: Cannot read property 'owners' of null
how did you create the bots db
I don't know if you notice but the purple button "docs" is outside of the "header", which is in a darker shade of black.
im assuming mongoose needs a db outline in the index file
Add a margin to the top
since mongoose looks like sequelize to me
To the button?
Either add a margin to the button or a padding to the body
owners: {
type: Array,
required: true
},```
wait
reread the error
@lyric mountain none work.
what is bots defined as
@lyric mountain none work.
@earnest phoenix then you're doing something wrong
.
my mdoel..
Maybe you can check.
model*
I'm at mobile
const Bots = require("@models/bots");
I can't use inspect element rlly now
@spice pier u are good with mongoose right?
oo mongoose is weird
I noticed two things from ur site
apologies for wasting time, shouldn't of spoken if I didn't know how to use it,
what u need with mongoose @glossy elk
uh
was mainly curious how it's structured
First of all: use flexible measuring instead of absolute values
trying to check if the ID is in the array @crimson vapor
Second: use divs to separate elements
@spice pier u are good with mongoose right?
@glossy elk I dont know JS
On the body, one div would be for the header and another for the main content
Inside the main content, there'd be a div for the buttons 'n logo
@glossy elk is owners an array?
@crimson vapor OMG YES
chill lmao
can you show how you store the model?
because if its just one Owner doc then let x = the doc, then check the owners array if it has the user id
Hi again ๐ How does my bot react to a message that it sent?
let bot = await Bots.findOne({
state: 'verified'
})
const bots = bot.filter(bot => bot.owners.includes(person.id));```
@crimson vapor
tell me how this returns bot.filter is not a function
@gray zealot message.react I believe
that reacts to the message that the author sent....
oh that the bot sent?
yes
lmao because you cant filter an object, instead, you can do just find()
you did findOne()
should be able to send the message then do a .then(message.react
ok and
one sec
so Bots.find?
yea
then filter
but
i want to get the bot.id
nvm
i got it
im making a bot list so yh @crimson vapor
wdym a bot list?
should be able to send the message then do a .then(message.react
@left lake no that still reacts to the msg that the author sent
it shouldn't
@gray zealot
it should react to its own message
.then(m => m.react
that's what I said to do
ah
all i know is the rough idea
you use await?
at NativeConnection.Connection.openUri (/home/runner/work/lol/lol/node_modules/mongoose/lib/connection.js:828:32)
at Mongoose.connect (/home/runner/work/lol/lol/node_modules/mongoose/lib/index.js:335:15)
at Object.<anonymous> (/home/runner/work/lol/lol/index.js:51:10)
at Module._compile (internal/modules/cjs/loader.js:1138:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1158:10)
at Module.load (internal/modules/cjs/loader.js:986:32)
at Function.Module._load (internal/modules/cjs/loader.js:879:14)
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:71:12)
at internal/main/run_main_module.js:17:47 {
reason: TopologyDescription {
type: 'Single',
setName: null,
maxSetVersion: null,
maxElectionId: null,
servers: Map { 'localhost:27017' => [ServerDescription] },
stale: false,
compatible: true,
compatibilityError: null,
logicalSessionTimeoutMinutes: null,
heartbeatFrequencyMS: 10000,
localThresholdMS: 15,
commonWireVersion: null
}
}```

27017 is correct port unless it was manually changed
Mhm
is out of the event listener
put that array inside the ready event
because the client collects data before the bot logins
nice
Anybody know how to make ping the bot and got prefix?
what
@!client_id || @client_id
FetchError: request to http://dumlist.ml/api/auth/stats/695075574946725979 failed, reason: socket hang up```
var myHeaders = new fetch.Headers();
myHeaders.append("authorization", "my secret code");
myHeaders.append("Content-Type", "application/json");
var requestOptions = {
method: 'POST',
headers: myHeaders,
body: JSON.stringify({"server_count": 1500})
};
fetch("http://dumlist.ml/api/auth/stats/695075574946725979", requestOptions)
.then(response => response.text())
.then(console.log)
.catch(console.error);```
can we use both to commit project to github?
im trying to do a suggest command and idk if this is correct?
module.exports = {
name: "suggest",
usage: "suggest <message>",
description: "Please type your Suggestion!",
category: "main",
run: (client, message, args) => {
if(!args.lenght) {
return message.channel.send("Please Fill out your Suggestion!")
}
let channel = message.guild.channel.cache.find((x) => (x.name === "suggestion" || x.name === "suggestions"))
if(!channel) {
return message.channel.send("There is no suggestion channel, Please make one!")
}
let embed = new MessageEmbed()
.setAuthor("SUGGESTION: " + message.author.tag, message.author.avatarURL())
.setThumbnail(message.author.avatarURL())
.setColor("#FACBCB")
.setDescription(args.join(" "))
.setTimestamp()
channel.send(embed).then(m => {
m.react(":white_check_mark:")
m.react(":x:")
})
message.channel.send("Your suggestion has been sent on " + channel)
}
}```
length is spelled wrong
need someone to make me a bot and give me all the credit while i don't do anythinf
let channel = message.guild.channel.cache.find(x => x.name === "suggestion" || x.name === "suggestions")
not (x)
ohh kk
i keep getting an abort error on .login()
i wounder if its like an electron networking prob with djs
like some headers get changed or something
when i did the suggest command it's not working how can i fix it?
i get this usually when no key is defined in .login() and no token is passed to the client constructor
@fierce wolf this is really helpful. we need more informations, like your code?
it was working litterally like 5 mins ago
then im hit wtih fat user aborted request
rip
this is the code
module.exports = {
name: "suggest",
usage: "suggest <message>",
description: "Please type your Suggestion!",
category: "main",
run: (client, message, args) => {
if(!args.length) {
return message.channel.send("Please Fill out your Suggestion!")
}
let channel = message.guild.channel.cache.find(x => x.name === "suggestion" || x.name === "suggestions")
if(!channel) {
return message.channel.send("There is no suggestion channel, Please make one!")
}
let embed = new MessageEmbed()
.setAuthor("SUGGESTION: " + message.author.tag, message.author.avatarURL())
.setThumbnail(message.author.avatarURL())
.setColor("#FACBCB")
.setDescription(args.join(" "))
.setTimestamp()
channel.send(embed).then(m => {
m.react(":white_check_mark:")
m.react(":x:")
})
message.channel.send("Your suggestion has been sent on " + channel)
}
}```
ah here we go
is the channel cached?
wdym?
is the channel cached?
no.
then you cant use the .cache
i'll delete it?
either cache the channel or use a different way
wait how to cache the channel? sorry i'm new to bots -n-
wait, if you ping the bot the bot responds how to do that?
i need help
i have a host to my bot
heroku, and i got giveaway command but idk why heroku blocks JSON files storage
so it work for a little amount of time
I have this issue: TypeError: Cannot read property 'get' of undefined
let serv = req.client.guilds.get(req.params.guildID);```
@earnest phoenix any idea then how to fix it?
Pins
What hex color for "black" embeds
#000
that's black
it should
ill try in testing
the hex for @ everyone role is black somehow, even though it displays white
ty discord/d.js
what
dark theme / white display color / returns black embed hex
how does that make sense
if the default color is black and the theme is dark, it shows as white
Anybody can make the ping the bot and it show prefix??
either way, it makes no sense to display white and return black when you fetch role color
feed me
it changes based on the theme
my bad
getRoleColor() white => returns black
thanks @pale vessel
why
wait what
try switching to the light theme and see if the role is black
yeah
see what i mean?
makes sense why they do that
white => returns black
black => returns black
by default, it's black, it just changes to white to make it legible on your screen since you're using the dark theme
who doesn't love discord
fuck that
it's discord being retarded
Hey guys who can do the tag the bot and it tell prefix??
if the author mentions the bot, then return prefix of the bot.
If the message has the client user mention, send (message)
Read the docs
Is there anything wrong with this?
It won't log anything
client.on(`guildMemberUpdate`, function (oldMember, newMember) {
let guild = client.guilds.cache.get(`GUILD_ID`);
if (!guild.members.cache.get(oldMember.id).premiumSinceTimestamp && guild.members.cache.get(newMember.id).premiumSinceTimestamp) {
client.channels.cache.get(`LOG_CHANNEL`).send(`${newMember.toString()} just boosted the server!`);
};
});
Which version @visual sandal
djs v12
Nope
when i try an emit with eval it has no issues but it won't run when someone boosts the server
cache.get(id)
its possible its cached. and the boost event is not cached
ok..
does anybody uses discordjs commando?
Whats the formula for making an xp bar in canvas
Uhhh
Wait i know this
guild.channels.create(name, {type:String, permissionOverwrites:[{}]})
Permission overwrite opts:
id: role or member ID
Type: wether the ID is a role or a member (String)
allow/deny: array of permission names and wether they're allowed or denied
should i do
if(message.author.roles.find('<@&562486904935940106>')){}
or
if(message.author.roles.find('562486904935940106')){}
neither 
author is a user and roles only exist in members
you'd want to use message.member.roles instead
ah ok
so its
if(message.member.roles.find('<@&562486904935940106>')){}
or
if(message.member.roles.find('562486904935940106')){}
can anyone sugest me a good translation api
@hazy sparrow I think flazepe said its message.member.roles but im not sure
maybe im wrong
now what @hazy sparrow
if(message.member.roles.find('<@&562486904935940106>')){}
or
if(message.member.roles.find('562486904935940106')){}
The latter
the last one
Actually no
ok ty
Then that's all wrong
uh
ty
why not role name?
for v12
Or do you need cache for never roles?
you always need .cache for get
why not role name?
@wheat hornet i keep changing my server role names
unless its fetch
Lemme see
but I think its message.member.roles.cache.get
Ok it's cache
but I think its message.member.roles.cache.get
so itsif(message.member.roles.cache.get('562486904935940106')){}
You could say .has
.has
so
if(message.member.roles.cache.has('562486904935940106')){}
use cache.get()
-_-
if(message.member.cache.roles.has('562486904935940106')){}
//why i think its should be like this?
get(foo) is equivalent to find(x => x.id === foo)
just a shortcut for that
has is a function, by the way
you can use .has too
the difference is that has returns a boolean while get/find returns the object itself
you should use has if you don't need the object
const { MessageEmbed } = require('discord.js')
module.exports = {
name: 'kick',
description: "",
execute(message){
const taggedUser = message.mentions.users.first();
if(taggedUser){
if(!message.member.cache.roles.has('562486904935940106')){
message.channel.send("you don't have permission to kick this user! ")
}
if(message.member.cache.roles.has('562486904935940106')){
taggedUser.kick().then((member) => {
message.channel.send(":wave: " + taggedUser.username + " has been successfully kicked :point_right: ");
}).catch(() => {
message.channel.send("There was an arror with this command!");
});
}
if (!taggedUser) {
message.channel.send('Next time, tag a person to kick.')
}
}
}
}
if(message.member.cache.roles.has('562486904935940106')){}
//why i think its should be like this?
@wheat hornet didnt work
hmm
@hazy sparrow Show code cuz error wont help much
ok wait
const { MessageEmbed } = require('discord.js')
module.exports = {
name: 'kick',
description: "",
execute(message){
const taggedUser = message.mentions.users.first();
if(taggedUser){
if(!message.member.roles.cache.has('562486904935940106')){
message.channel.send("you don't have permission to kick this user! ")
}
if(message.member.roles.cache.has('562486904935940106')){
taggedUser.kick().then((member) => {
message.channel.send(":wave: " + taggedUser.username + " has been successfully kicked :point_right: ");
}).catch(() => {
message.channel.send("There was an arror with this command!");
});
}
if (!taggedUser) {
message.channel.send('Next time, tag a person to kick.')
}
}
}
}
this is the whole kick.js code
@marble juniper
message.mentions.users.first();
you can't kick a user
do you know the difference between a user and a member?
also, you can just use else instead of rechecking again
the user object has nothing to do with the server
only the member object does
user object is just stuff like id, username etc.
ah ok
you should check the docs, but it is supposed to be members rather than member
taggedUser is a member now
grab the user by using taggedUser.user
so taggedUser.user.username
oh ty
should be fine
ok thanks :)
h1 {
color: turquoise;
-webkit-transition: 500ms;
transition: color 250ms;
transition: all 0.2s ease-in-out;
transition: all 0.2s ease-in-out;
}
h1:hover {
color: black;
transform: scale(0.75);
transform: translate(0, -50px);
}
so i want to translate and scale, but it only translates the text (am noob to css x))
My bot takes so much time to approve
our bot ๐ท๐บ
comunism
are you css?
our bot ๐ท๐บ
@pure lion
Yes
wait, did u code a bot with dice? cool
no
aaa now i get that joke
*cries in not knowing frontend*
i'm not
just watch this tutorial https://www.youtube.com/channel/UCo8AwaskLR7FROYwbqSCuSw
Vultrex Development is a community where you can learn to develop applications over Discord! โ Need Coding Support? Join our Discord! https://discord.gg/Weft...
Do we have any good web devs here? I'm looking to incorporate my bot to my site so users can modify commands themselves but having trouble understand exactly what to do. I have a site up and running but need help with this, thank you in advance
you'll need to make ur own webserver for something like that
all youre really doing is giving a way for users to modify data within your database
h1 {
color: turquoise;
-webkit-transition: 500ms;
transition: all 0.2s ease-in-out;
}
h1:hover {
color: rgb(0, 255, 149);
transform: matrix(0.75, 0, 0.75, 0, -25px);
}
idk what im doing wrong here
h1:before
@quartz kindle Have no clue with websites so went with WordPress, wrong choice?
?
did you install it yourself, or is it a premade wordpress hosting?
or just use mongoose x)
do you have access to something like cpanel, php, etc?
i think wordpress is more, what you see is what you get
also im confused about what to do with my css :/
@quartz kindle I have access to wp-admin
so I'm guessing it's premade, but I am free to edit everything there
well, in that case you would need to do something like this
- create a small webserver inside your bot, or a webserver that exposes your bot's database
- create a small api to interact with your bot's database that runs in the above webserver
- edit your wordpress theme files and create a page that can connect to your api's webserver via php or curl, or whatever your wordpress supports
- your other pages will need to access the above page to get/send data to/from your bot's database
work flow should be something like this
client side ajax request -> wordpress edited theme page that sends a curl request -> your bot's server receives request -> makes a query to your bot's database
how do i fix this
yo anybody know how to fix this?
2020-07-16T09:34:45.183436+00:00 heroku[worker.1]: Idling because quota is exhausted
pay
Oh shit that seems like a lot, I only understand little bits of it, thank you though @quartz kindle do you think I could maybe pay someone to do this for me?
bruh
im free worker
your free quota is exhausted
you use to much calculation power
then what the
so either wait for next month, or pay
pay for a proper vps
ill wait next month
@earnest phoenix probably yes, but it will depend on your wordpress actually supporting server to server requests like that
where is your bot hosted btw?
@quartz kindle DreamHost
vps?
no not VPS, recommend this?
cloud computing?
Presume so, I just have the WP-Admin
but like, does your bot have any kind of external storage?
something that is not inside its memory
like for storing user configuration, etc
so that you dont lose it on restarts
I'm going to DM you Tim, will be easily there and I won't make an idiot out of myself ๐
i'd prefer continuing here if you dont mind
what exactly do you want to achieve by linking your bot to your website?
Sorry
which parts of the bot do you want to control through the website?
do you want it only for yourself, or for people to be able to configure stuff through your website?
I want them to be able to configure certain code themselves, such as prefix and being able to remove/add things themselves. My bot is an LFG bot with games that are manually added by me but would love to get something setup where they can do this themselves for their own server.
and where are your prefixes stored?
The prefix is currently stored in the settings.json
everything else such as games, are stored elsewhere in the code
they have separate .json files for each game
ok, json and code are not the same thing, thats why i asked
when you said that everything was stored inside the code, that means in a variable, such as let data = { all your data here }
so your actual storage is json files
Yes sorry, misunderstanding you
so in the case of heroku, you will need to enable a web dyno
which will cost more heroku hours or whatever it is they use
and then inside your bot's code you will need some webserver, like express.js
that way you can interact with your bot's code from a browser, via your heroku project url
then you will need some kind of protection so that people cant go around messing it up
and everything needs to be manually coded
for example, you will need to make a code that translates accessing https://projectname.herokuapp.com/addprefix?guild=ID&prefix=!p&key=somekindofpassword into adding said prefix and data to your storage files
or something similar
okay shit that's a lot.. I will definitely have to have a look around for help with this sort of stuff
thanks for your time @quartz kindle really do appreciate it
should i share with 160 servers?
you mean shard?
you could do it, but why
how much extra overhead would an express server need
you dojt need to shard till around 2k guilds
why do it at 160 is a waste
There's the config file prepared for you on is-inside.me website
.sxcu files
There's the config file prepared for you on is-inside.me website
By "config file" I mean a file that you just download and click
My bot will be deleted if the token exist on github right
No
Hmmm
the token will be reset
thatโs all
Token will be reset?
yes
Oh wait so discord checks it
yes
Thought dbl deletes it from the site if it exist
So discord deletes only if it's real token right?
Discord only regenerates the token
yes discord instantly regenerates the token
The repo stays untouched
I mean regenerate the token only if it's real token or if it contains the base 64 of the bot's id?
Only applies to real tokens
Cuz I thought like dbl deletes if it contains the base 64 of bot id and people can easily convert it and put on github
So nvm
We don't delete anything though 
Yea but I thought you delete the bot from site
how do i upload once ive selected it as a custom uploader
I just said I thought, and I'm clear now
Yeah, we delete bots manually
uploads itself I think
the what
just take screenshots
oh
And since tokens are regenerated automatically, we don't exactly need to worry about that anymore 
Lol
i still wonder how people leak their tokens when every inch of bot development has a warning about leaking tokens
Ignoring the warnings
the applications page warns you about the token, doesn't it? lol
yea
I mean I never read it. I know that the application page warns only after you said now
maybe they are too lazy to read the warnings
nice, ive managed to offload some of my commands of my bot to my webserver via the rest api. so, any unknown command with the right prefix is farmed off async via a REST request, passing in command, parameters, guild id, user id and channel id. any response that comes back is expected to be application/json and will be sent to the channel as an embed if non-empty.
can anyone see any issue with this approach?
hello
hi Bomba
how are u
Hello guys
is the web is the database?
what
i need a db
yeah, what you linked is a database wrapper
ok
is it inside an event listener?
it should work then
event listener aka?
ready event
lul
Is there a way to make it so paypal donations are linked to currency like how cord and some other game bots have a donation to redeem conversion system
E.g. Cord $1 to 1 deem
If so how would I go about implementing it in python
Paypal api
anyone able to help me with app.infinityfree.net? ive uploaded the html file, and the site says active but it takes me to the welcome to your acc page
i'm having trouble with the description i want to stack it by i don't know how~
1> Dont use gayish sites
2> Read Guides or Docs
@pure lion
Is everyone building dashboards or something?
not yet
hi i was making an embed and i want my description you know like stacked but i don't know how to do it~
Define "stacked"
like this one.
I'm having trouble with Visual Code.
I typed Code . It only showed a black screen for the past 2 hours
ty!
@earnest phoenix It's still a black screen
I have.
Like 2 times already @earnest phoenix
@earnest phoenix is this correct?
.setDescription("`a?cookie` /n `a?help` /n `a?support`")
OH YEA
it's \n
sorry :<
and by the way on the .setAuthor how to put the user tag and the user avatar and the thumbnail too how to put it?
i'm really sorry i'm new :<
is this nromal lmfao my memory leak seems to be coming from arrays
Guys can you help
I typed code . in command prompt
But instead it showed this
How do I get help doing a bot?
it's not a server join event