#development
1 messages · Page 1563 of 1
it feels really sad to see i only have that few public repos
most of mine are private
One message removed from a suspended account.
who finishes projects? ew
One message removed from a suspended account.
🫂
i already finished quite a few projects, most of them private requests for jobs
i dont hve fancy emojis
One message removed from a suspended account.
One message removed from a suspended account.
i only ever did one private job
these are mine
i dont think i have a single repo without at least 2k lines written
actually, no, 1.5k
iirc a bot that was requested as midly complicated, but was easy to do
100 lines of code, 1400 lines of docs, right? :^)
that one probably doesnt hit the 1.5k mark
bold of you to assume i type anything other than public repos 
you're overestimating a legally lazy person
challenge accfepted
how many lines of code have you written today
yesterday?
i probably typed a couple when you asked me some questions
but thats about it
do we count those?
hmmmm
what was the longest you went without coding?
hmmm thats a tough one, prob 2 weeks
in the past 1-2 years
yeah, around 2 weeks maxz
lmao
too lazy to pick it up, you can keep it

be here? me too
besides that
wusup
i sometimes review parts of my bot's code
change some things here and there
save it and push it to the server
and dont restart the bot
then i forget what i changed
see, i do the same
then discord does what discord does
this conversation is amazing
mostly because i got a reload command, but sometimes i forget that i actually edited shit that cant be re-required, so i end up trying to find bugs that dont exist
and i go see and it was some mistake i did when i changed its code 1 month ago
and didnt test
xDD
thats why I added a rolling restart to mine
Like ive prepped for growth that im gonna get from auctions
since like, I got my verified bot renamed so I wont have to worry about the 100 server cap
lmfao
sharding in one process isn't possible to have restarts like that
rebranding is fun
well its harder
it is
i usually test my changes quite throughly in private channels, but i've done that multiple times of not restarting the bot and just reloading command
lol
@quartz kindle confirm
it is
o
lmfao
and watch shit break, because i have a 400IQ idea of sleeping after i finish updates, since its usually 6 or 7 AM by the time i finish them, so prod stays broken until i wake up and realise the shit i've done
and the rolling restart can edit the "index.js" and still have changes done?
save gateway sessions in a file or a db, restart the process, put the session back, reconnect
^
idk man
Half the shit you tell me your doing MILLION makes me wanna slam my head into a brick wall so hard that I go back in time so you havent told me
because you half arse shit so much
like im not angry about it
Lol
just sometimes its too much
lol
same
i have to keep remining myself to never push updates at night
idk tho, seems kinda cheating to call it a "rolling restart" if you are restarting the process and just saving the connection

do you guys have aliases for your ssh to your vps?
i do
aliases? like where?
you can setup host names
well
ontop of your user
I use wsl for everything
so I can just add aliases
I have that and an alias
you mean this?
oh you use a real client
I dont need an alias for something ive memorized
shorter tho
hahahhaha found ur ip luke, 192.168.0.12
yeah i dont use barebones ssh
ssh 10.0.1.8 localdedi
i use termins because its sexy af
oh
jk, i use putty
ok ok good
whats the point of using powershell?
homesrv better
bruh
lmao
Now to figure out how to create more logins on ubuntu 
Checkout the commands adduser and passwd
yea ik
just use root for everything :^)

sudo everything
make sure to sudo npm install too
xD
sudowoodo
sudowoodo eat
speechless, speechless
That's how you make me feel
Though I'm with you I am far away
And nothing is for real
never gonna give you up
never gonna let you down
the fuck?
what the fuck happened here
stuff
@quartz kindle https://img.pyrocdn.com/_h0psb7b
this is the reason Million grinds my gears
this man I swear
knows exactly what to say
lmao
idk man I don't work there
If y’all could recommend a bot creation service other then botghost, what would y’all recommend? Because I’m trying to get away from botghost.
its more beneficial to learn nodejs or python that it is to use a creation service
and people will shit on you
bingo
Step 1) learn a programming language
Step 2) Find a discord library for it
Step 3) ???
Step 4) Profit!
@delicate zephyr you got 5 across on your #development bingo?
ah
youve been watching for about an hour now have you?
since 9am this morning
o
you don't actually have a bingo do you?
wtf send
Its been a long fucking day
No
its a mess
plus I wanna make a pre-generated one soon
did you use ms paint or something?
Yes
can I see it?
I scribbled it together while drunk
and no
because it breaks discord and everyones tos


upload to pyro
pyro has no tos
what is on your bingo board that is against tos? porn or something
ah
the 3 im active in anyway
considering one of my servers is called https://img.pyrocdn.com/2RE1w5VS
Xiuh

If you havent noticed
9 times out of ten
this is the developers chill hangout

Also it was a development bingo thingy
as long as we are talking about something related to tim we are fine because tim is #development
lmfao
lmao
he'll fuck you up
But tim isnt the development god /s
@woven prairie you alright bud? need some help?
wait luke did you take pictures of the thing that gave you a point?
no
Itty bitty or biggy wiggy?
so the english on the picture breaks tos?
Im invested but im not that invested

no I was drunk
so uh
reddit was a factor
ah yes
Both
idk I don't use reddit much
why was that even a question
lmfao
@crimson vapor hold on
i'll send you a pic of the front page of my reddit
ok
he should understand now
luke is more fucked up than I had previously thought
even tho im a mod here im a noob dev so forgive me
is making an event handler the same kinda system as a command handler?
d.js btw
@fickle basin what's up
So, I made a bot and when I coded it, it says async def is an invalid syntax.. I am not sure why considering you should be able to run multiple syntaxes of async def.
Idk what exactly to do.. Kind of stuck on it tbh.. It will not register my other async def syntaxes, just my first one.
can i see the code?
You haven't ended the paranthesis
`@client.command(pass_context=True)
@commands.has_permissions(manage_roles=True)
async def role(ctx, user: discord.Member, role: discord.Role):
try:
if user have the role
await user.remove_roles(role)
await ctx.send(f"Successfully Removed {role.name} role from {user.name}")
else:
await user.add_roles(role)
await ctx.send(f"Successfully Added **{role.name}** role to {user.name}")`
i got error
if user have the {role.name} ^ SyntaxError: invalid syntax
what to change ?
@fickle basin yeah what they said
in the bot.event
there's an unclosed parenthesis
In your activity statement
you have to actually write a check
to find if the user has the role
not just
pseudocode it
Oh... I feel really dumb rn xD
Also, I don't think you need pass_context =True if you're using the rewrite
it should be rewrite though, there's no point in using async branch kekw
Yeah. I really appreciate you all.
was good while it lasted though
Yeah
So you think I should use rewrite instead of async?
yeah
I have always used async and never has issues lmao
well the problem is that you haven't had any issues with async (even though you're not using it atm)
Oh..
the problem is what happens when you're using async and you actually DO run into an issue
I just haven't been on my "A" game today and have just been messing up today lol
Just one of those days
I haven't looked into it though, how does it refer to the right channel?
no, I mean, when you're using bot.say
oh
you have to specify channel
iirc
in an arg
that was just a bad example lol
By seeing the example in the repo, it doesn't take any arg other than the content
Thank you all for helping. Lmao. I am a dev, but today I feel like a student xD
maybe I am rarted then 
oh, it's getting the channel from frame records, good thing they rewrote it so it made more sense
just me or I'm unaable to recieve some audit events or some events like 'guildBanAdd', 'guildBanRemove', 'guildMemberAdd' , 'guildMemberRemove' and a few others
Anyone know how I can emit a event over all shards at one time?
how do I add a second owner id to config?
they work fine for me, so its probably your own end
@foggy robin like into a config file you have?
yes
if you have a config.json file, this should work 'owners': ['ownerID1', 'ownerID2']
ok thank you
ok so
very helpful
Well any sharding manager that works with djs
I am looking for a better solution anyway
But I am trying to emit a event over multiple shards
Possible?
Kurasata
GH link?
its made by Yukine
👀
I spelt it wrong
oof
Thanks
np
So how would I do that then
gives error
Would I just do it on the master process and it will send out to the child processes
I haven't used Kurasuta, Timo (Kyoso) is best to ask for advice on that
He's asleep rn
and im dealing with Chip's outage rn

oh damn have fun with that
I bet
😩
No fun
someone would say smth
yeah
its been down for a solid 10 mintues
god this is gonna take
fucking forever
128 shards
to watch spawn
what error
Lets see
np
I need help with my code
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
it stores in the db as well but doesn't send it 😦
Can you do
<Channel>.send('some string' + SomeEmbed)?
Not like that.
send(string, embed)
@client.event async def on_command_error(ctx, error): if isinstance(error,command.MissingPermissions): await ctx.send("You can't use that :watching_you:") elif isinstance(error,commands.MissingRequiredArgument): await ctx.send("Please enter all the required arguments") else: raise error
this is not working !?
line 193, in on_command_error if isinstance(error,command.MissingPermissions): NameError: name 'command' is not defined
s
well there's no command variable
oh
how do you expect it to know what command is
we need to write command name ??
like kick
🤷♂️
is that copy pasta 
both the error and the solve are pretty self-explanatory
Hey I get an error saying an error has occured while validating your input only PNG and JPG images can be used
That i got for the custom background and this is my image--> https://imgur.com/oxVe3nF and it is a png
But I still get error
https://imgur.com/oxVe3nF
It is
@earnest phoenix they told I should upload imgur pic
If I want to play a song, what should I write before its name?
not the site url
Oh
this is what that url returns
anyone happen to have a good suggestion as to how I can redirect people to use a more updated version of my bot, which has been renamed
can't rename verified bots
oh
yikes
i guess you can deny any command execution and tell them to use your other bot
Try creating a support ticket
It worked but the background doesn't appear
They probably won't respond though lmao
I've actually already reached out and they mentioned due to the volume of bot applications renaming a verified bot is not possible atm
i love how discord takes pride in their ticket team and the fact that they cleared out all applications... but they don't even read the ticket and redirect you to a bot instead
I see, that's too bad
they've been rather good with my ticket(so far) at least
If you know an employee like Mason they could change it for you xd
I follow Mason on Twitter but sadly don't "know" him
Anyone from Asia?
do you think it'd be against TOS to write some code that DMs guild owners advising them after a specific date to invite the new bot?
you should only ever interact with your users as a response to their interaction with your bot
I would opt for disabling command input, but the bot does it's core functionality automatically which is where i'm struggling lol
i'm mega tired, wbu
lessons
have you got a support server of any kind?
Time to @everyone if you do
omg they pinged the bot.guilds.cache.get('264445053596991498').roles.everyone
That's the role
we do, however most of the bot's userbase isn't in it sadly, which is why I wanted to find a graceful way to let guild owners know of bot deprecation in favor of 2.0
<@&264445053596991498>
L
cry shut
that sucks, i'm out of ideas honestly
what's the id
¯_(ツ)_/¯
Also does bot votes reset every month?
yes
as am I 😂 I do have an ongoing ticket with discord tho to see if we can find a consensus
if it didn't dank memer would have 1b votes or something
Oh rip 60votes
@pale vessel you.
say i had an interface full of events
aside from naming it after the eventemitter, how would i get them to apply
Why is my bot doing this
doing what? sending a message?
How to get the member.size
client.users.cache.size shows 10
and i have members intent
guild member size?
no its putting the channel I tag
@foggy robin you have the channel in the description?
u mean just guild.member.size
yes.
I dont this is my code https://www.codepile.net/pile/6ja7Nqzg
{{ description }}
the message content contains the channel and the message
you didn't cut out the channel
oh so how would I fix it
slicing once more?
Im still learning this stuff
can not read property of size
?
slicing again to remove the channel ping
ok
@earnest phoenix is there a guild in your message?
i want size off all members
for all guilds?
yes
thank you but why is it on separate lines
add all your members together
lol that is not a good idea
@foggy robin your text variable seems like it's being joined with \n
which newlines every word
guild.membercount , join them
and run it where
on your pc, install node js 
how to get bot hosted for free?
Check pins
I just told you to check the pins
Is it really that hard to just check the pins
There's literally a button with a pin, underlined by the word "Pins"
scams
Yes they're all scams
sorry
i could of gotten my music bot hacked
use replit lol, heroku
You can localhost if you can't pay
@viscid thistle @tired panther heroku and repl are not for discord bot hosting and you should not use them for discord bot hosting ever
Its doing great
Like callum said, localhost is the best free option
Repl is "fine" for Discord bots if you can use it appropriately
i could host it by using my pc
Same with Heroku technically, but good luck with serverless databases
Don't complain when you run out of hours
repl makes your bot public code, heroku has limits, glitch doesn't stay online for more than 5 minutes
they can be used lol, pls do not provide false info\
its usually on all day
I'm not providing false information, it's widely accepted here that free hosting is bad and paid hosting is not
I wont, I can easily make a new app if thats the case
Depends if you want your code public including your token if you don't use .env
That must be such a hassle
It's 500 hours across all of your apps.
Glitch is even worse
New acc
However the hardware you get is trash
And all code is publicly available
Repl is just a repl for your code
You have to get premium to make it private
I mean, is it really that much of a problem to have your code be open-source
your code is not opensource on replit
It is
"pls do not provide false info"
If your bot is already foss/oss then you shouldn't care
Repls are public by default and you can't make them private without buying their premium subscription
I have the pro version lol
see @pure lion xd
So you paid for repl?
That 👏 isn't 👏 free
What is the best bot hosting option
A VPS or a VDS
Imagine paying for repl when you could buy a vps
But without keeping a device online 24/7
VPS
Oh ok
when you a re student yes
Some people who have massive bots use dedicated servers
For 3 months
But vps is paid?
Yeah
Yes
There's some really cheap ones
Cuz Im underage so i cant pay
Like £3.59
Yes because hardware isn't free
Many VPS providers offer services for under 18s
Paypal
Oxide has cheap stuff too
That needs bank info
Oxide, skysilk, galaxygate
Sad
You can still have money transferred to you
From who? No one
So if you discuss it with a parent you could probably get the money for it
Or ask your parents to pay
The choice is yours
Did you mean underage like under 18 or under 13?
I can pay with skrill only
is there a way to return message when args are null?
Under 18
Ok
Language?
javascript
Do you know how if statements work?
kind of
Oof
Show me what you know
for react: How do I achieve similiar effect of shouldComponentUpdate for FC?
What's fc
if (!text) return message.channel.send(embed2);
if (isBase64Valid) {
// true if base64 formate
return message.channel.send(embed)
} else {
// false if not in base64 formate
return message.channel.send(embed3)
}
Dice
Functional Component. I don't want to render again when a props changes, rather I want to style it, with animaiton
i learn BASIC
you here?
The ! operator accounts for null and undefined

i didnt understand a shit
empty message is null
answer should be yes / no
lol
if its no so its undefined
A falsy (sometimes written falsey) value is a value that is considered false when encountered in a Boolean context.
tryied to do that
let thing1 = null;
let thing2 = undefined;
if (!thing1) {
// this code will execute because thing1 is null
}
if (!thing2) {
// this code will execute too because thing2 is undefined
}```
message is undefined
! means not
u trying to say if is not undefined

il just try it
Bro
how much time takes getting verified
if the if statement doesn't receive a true or a false, it goes off of null and undefined
I will wait
everytime you ask you have to wait an extra week 
this is semi true
okay
oh
you have
the if statement only takes in booleans, however null | undefined are type converted to booleans and are treated as false
cry you have Early badge
Wait for it
Yeah I skipped explaining that because I don't wanna go into V8 mechanics with this guy
ah, got you
Then they crack down on you
you're implying i accept friend rq's in the first place 
best nullable impl 2021
bro it didnt work
Yes

I made a test to see how long it takes JSON to corrupt
How did you corrupt it?
Writing to it
When i was using a JSON db (don't.) it took a couple days
big man i couldnt fix it i wanted to check if a var is null or undefined
I'm writing as many times as possible
if (!variable)
isn't that test kind of... invalid?
in a real world application the frequency of r/w isn't constant
uhh
The ! means "not"
I'm not measuring time I'm measuring writes it takes
i know
corruption happens when a race condition occurs, two methods trying to access the same file at once because they're not aware of each other
so a lock fixes it?
yeah
or rather, prevents
but you're going to have slow access then
Reasonable
anyway, this is why the test is invalid
the frequency of r/w is an important factor
let thing1 = null;
let thing2 = undefined;
if (!thing1) {
return message.channel.send(embed3)
}
if (!thing2) {
return message.channel.send(embed3)
} else {
return message.channel.send(embed)
}```when i change thing1 or thing 2 the var it says its already delared
learn javascript
lol
if(messageConverted == undefined) { message.channel.send(embed3)
}else{
return message.channel.send(embed1)
}```
THE LOG SAYS ITS UNDEFINED BUT IT DOESNT SEND THE MF EMBED3
but it sends embed1
why when i need help people die
lol
console.log typeof messageConverted. Are you sure it's actually undefined and not a string or something
its object
el problemo
is i tryied
undefined
null
but both not working
console log messageConverted === null
its acualy defiened
lol
the command is converting morse codes to text
and i wanted to check if code is not a normal text
by using the converting function
the resual of converting function
console.log messageConverted and screenshot your console
...
that means.
The result is the first element in the array, so you have to get it
what do you want to output?
Don't give him the answer directly
the conveted text
this is the resault and then i join it with .join("")
okay, but to check if there is no result, get the first element in the array and check if it's undefined
did not understand
var messageConverted = [];
text.split(" ").map(function (word) {
word.split(" ").map(function (letter) {
messageConverted.push(alphabet[letter]);
});```
this is converted message
okay, get the first element in it... and compare it to undefined
What was your question again??
i wanted to check if the messageConverted is nothing and then reply by a message
I am doing this but still getting the error TypeError: Cannot read property 'username' of undefined why ?
message.author is already a User
Lemme try
AttributeError: 'NoneType' object has no attribute 'change_presence' help
@cinder patio thanks it works
||All this time I was thinking the error was with user2 variable||
||Feel free to kill me||
if u do anything ur not dum than me
Bot can get channel once it ready, that means before the bot is not ready you can't get a channel. And as you can see you can't do get_channel() before on_ready() event
i hate when google start having sex with my pc
@earnest phoenix see this
https://stackoverflow.com/questions/63357075/discord-client-error-nonetype-object-has-no-attribute-send
wait it can't
dance
bruh
I used to run headless chrome for my bot and a 4GB VPS wasn't enough
I had to take that command down then
what was the command?
it was a web screenshot command
ok
Any way to delete message by ID?
Anyone else running into an issue where users get invalid-user displayed instead of a ping?
well a fake ping, only seems to occur if allowed_mentions are specified
seems to be android-specific
Quite sure that's a discord bug
For example, this sometimes says invalid-name instead of the normal tag
I'm getting the error : fields.flat is not a function
What do they mean
update node
yeah seems it
I'm using quick.db to store the ID's:
const db = requiere('quick.db';
message.channel.send(embed).then(msg => {
let id = msg
db.set('t-message', { msgid: `${id}`})
});
And this is how I'm trying to delete it:
setTimeout(function(){
const ticketmessage = db.get('t-message.msgid')
ticketmessage.delete();
let embed = new Discord.MessageEmbed()
.setDescription("**Ticket creation time finished**")
.setColor('BLUE')
message.channel.send({embed});
}, 15000);
The error says is not a function:
TypeError: ticketmessage.delete is not a function
db.delete('t-message.msgid')
db is the caller for quick.db
I'm getting fields.flat is not a function
Code : https://pastebin.com/2LaqkdXf
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
I told you to update node
to what version
no...you are nowhere near the current version
you need 12+
Why db.delete
because its how you delete with quick.db
Ye but I'm not trying to delete the message data stored on the database, I'm trying to delete the message on the channel
Is it bad to log every command usage, guild join/leave to a mongo db?
Ping me with answer ❤️
Commands get used a lot
Every command usage is... a bit extreme, yeah
At least one command per 5 seconds or so
if I know that your bot logs everything then probably I won't like to use it
Why are you logging them then
Bad enough, yeah 😂
It really depends on the reason you're doing it
not everyone likes it
if it's just to log, then yeah, it's bad.
IF you're doing stats, it's less bad, but there are better ways to count stats
Alright cheers
i'll just log command usage to console, and log guild joins / leaves to mongo
Or just do like every good mod bot and log it to a join-log channel instead 😉
no effort, very useful, no cost 😛
I do that already, but the webhooks don't keep up 😂
rate limit ?
Currently, I do use webhooks to log command usage to a channel
not in a central place
There's very little use to centralising a log, that's extremely pointless.
yea
logging the errors should be enough
otherwise it seems like you're spying on them
yeah basically what I Was going to say
fair enough, well thanks for the ops 😂
Nobody using your bot needs you to be doing surveillance on their guild. it's not your place to do so.
actually if you don't mention it in description and someone finds out he can file a lawsuit
just jk
It's specified in my support server
Technically that is correct
Would that be enough or would it have to be on the desc?
No but seriously Why though. What do you do with this information?
You could probably put it in the long description at the top somewhere so that users have more chances of reading it
he's gonna run a ML algorithm and do something like Captain America : winter soldier
I do it because it helps with premium purchase issues, if someone buys premium and redeems it on their server but doesn't work, I can check logs.
And any other issues regarding purchases
then just do it for that specific Command
as Evie said
What about guild joins and leaves?
yeah that can be logged too
I've always logged them to console and I have commands to search and such
but not E V E R Y command
they're available in caches usually so not sure why I'd need to log them to a database
also I have a dashboard so there's that ¯_(ツ)_/¯
also you can just use a .txt or .JSON file for that (easier)
yeah that is horrible
mongo is fine 😂
no need of a database which is made to handle 1000000 units of data
oh

Basically, just log useful things that help you
maybe SQLite max
nothing bigger than that is unnecessary
if you want stats, use datadog or something like that instead
If you're logging for support, log only the things you need
Don't overextend yourself to the point where you're essentially spying on every guild you're in
Right, okay, thank you
Me : "I don't know why anyone would log anything"
Also Me :
same
dafaq
also me
Thanks for the idea
I'll log the joins too from now on
tfw logging command uses but nothing is logged
bruh show how you did that
How can I transition an element in react. I want a smooth animation, when I translate it
any better way I can say how much moni a user can earn then this?
You can use Math.ceil(Math.random) to generate a random number and use that
Math.floor(Math.random() * number)
unless random decides to give you a pure 0
Math.floor(Math.random() * (max - min)) + min
wait that min makes sense
Math.random() * (max - min) + min | 0
thanks!
how can i react faster on message or chage the offset
you can't react faster
there's no bypassing ratelimits
discordjs offset
what
maybe Tim knows it i will ask him later
change restTimeOffset to 0 in ClientOptions ig
ayo
thx
no pc in stock
btw what is the recommended timeoffset
how do i check if array is undefiend , log: js [ undefined ]
the default one
GOOGLE TELL ME HOW
Get the first element in the array and check if it's undefined
I told you 1000 times
I DIDNT KOW HOW
woops
caps was lock
read this then https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array
The JavaScript Array class is a global object that is used in the construction of arrays; which are high-level, list-like objects.
in embeds ofcc
zero width space \u200b
thanks
im power on and power off caps to uppercase letters
i was there i found this
predQuery[preId]=='undefined'
i'm don't use shift
that is basic js and eay to learn
or w3schools
yee w3schools can run code
Would it make sense to have one kind of main table where you store user information like first command etc. and then extend the rest of the tables from that if the tables are to do with the user
I don't know if that makes sense
but basically as opposed to having seperate tables which store user id's and x
you just make a table that 'extends' the user info table so that this specific table only has a column for x
you are thinking to complicated
Error
var currentPrice = XMLHttpRequest();
error:
(node:3718) UnhandledPromiseRejectionWarning: ReferenceError: XMLHttpRequest is not defined
u know what is that error
only in js html
currentPrice.open('GET', 'api', true);
But so the database kinda looks like js User { firstCommand: 'string', id: discordID, CurrencyStats: { wallet: 'int', // etc. } }
with CurrencyStats being a table extension
ugh...
Hello
Please Help Me
wdym 'ugh...'
your problem ?
looks good but i just use mongodb so i have no idea
oh
@rugged cobalt what database are you using?
PostgreSQL
i havent heard of table extensions before in any SQL database
whats the exact query/function you're running to create it?
well
not sure
I only know the basics
and I use the UI to make tables, not sql queries
hmm
i know pg has a lot of advanced features, but i havent heard of a feature like that
I watched a video ages
with SQL you usually create separate tables linked by ids
so it could just be me mixing it up with something else
not sure what you're trying to accomplish
So when you call on the user table, the other stuff kinda goes with it
if there are currency stats
the usual setup is like this
table users {
id, command, etc...
}
table currency {
id, wallet, etc...
}
yeah
and then you use JOIN to select the data with the same id from both tables
oh
that's probably what I was trying to refer to
I just used extensions as like a metaphor as to what you would do with classes
yeah but they dont work like that, they are completely separate objects
its basically doing let data = Object.assign(users[userid], currency[userid]) if the tables were js objects
man, java Annotations are so useful
my 756 line command manager became a 109 line file
idk how I lived before Annotations + Reflection
are you doing ur bot in java?
not doing, done
Does it matter which table I import for that to show up
Is it just like if I import UserInformation it will show all including the info and then for CurrencyStats it would just show that scope
jda
nice
hey guys
i was wondering, why it takes up to 3 secs for a message embed to be sent?
does it have something to do with server computations?
also i have few questions, discord itself is in the US and my VM is also in the US, but the "servers" on discord the region is kinda asia, does it have something to do with lag and stuff?
that only affects voice
either your vm's internet is bad, or you're doing something wrong
nop







