#development
1 messages · Page 1586 of 1
how can i add a short cooldown to a command of mine i have a meme one that takes memes off reddit and users are spamming it making my bot hella slow
should I give you a easier way ?
is it ok to use auto in the shardmanager or do you guys do it on manually?
auto is good
Yeah?
Do you actually load the cog and add it to the bot?
the code i sent on the print is ctrl+c ctrl+v from the documentaion, i just changed the token and password
yep
those are the loaded cogs
in your function,js
class handle{
static async myfucntion(message, author, time, validReactions) {
time *= 1000;
for (const reaction of validReactions) await message.react(reaction);
const filter = (reaction, user) => validReactions.includes(reaction.emoji.name) && user.id === author.id;
return message
.awaitReactions(filter, { max: 1, time: time})
.then(collected => collected.first() && collected.first().emoji.name)
}
}
module.exports = handle;
in your bot.js file
client.functions = require('path of function.js')
client.functions.myfunction() \\\\hello
here took a little bit time xD
maybe its the port?
Damn.
updated it check again
That is way harder.
you can add here many functions and just go to the function with client.functions.thefunction ..#
Hm, I copied the message link to do it tomorrow as now it is too late for me.
Thank you so much though! 😊
do i have to open the webhook port or smth
i didnt quite understand what the "webhook_path" is tbh so i didnt change it, maybe thats the issue as well
the ip of the server
what would it be then
maybe thats why its not working
where is your bot hosted?
on my pc currently
then thats the problem
most routers/modems block webhooks by default unless you port forward
try {
command.execute(message, args, client);
} catch (e) {
console.log(e);
const commandErrorEmbed = new Discord.MessageEmbed()
.setTitle("Wait, whats that?")
.setAuthor('We\'ve encountered an error!')
.setColor("RED")
.setThumbnail(visuals.gif["commandError"])
.setDescription(`We've encountered an error trying to execute the command \`${misc.prefix + command.name}\`.\nAn error log has been generated and attempted to be sent to the developer.`)
.setFooter(footerText[Math.floor(Math.random() * footerText.length)], visuals.png["footerText"]);
errLog =
`**An error has been found!**
Details:
Command: ${command.name}
User: ${message.author.tag} (${message.author.id})
Server: ${message.guild.name} (${message.guild.id})
Error Details: ${e.toString()}
Complete Error:
${e}`
client.users.cache.find(user => user.id == 724066932701134979).send(errLog);
return message.channel.send(commandErrorEmbed);
}
Its not catching the error. I did a test to throw new error but it doesnt catch
yes
no
the url you put in top.gg should be http://YOURIPHERE:PORTHERE/PATHHERE
so http://xxx.xxx.xxx.xxx:5000/dblwebhook
why find ? you can use .has !?
" client.users.cache.find(user => user.id == 724066932701134979).send(errLog);
return message.channel.send(commandErrorEmbed);""
.get
idk if u read my problem
its not that the message doesnt send
it doesnt even CATRCH the error
it doesnt catch because its async
oh
but you are having unnecessary code, kk, So what is the problem , where on which line, full stack trace
so async catch?
try catch only catches async errors if they are awaited
or just await it
await the function?
like await the throw
or the try catch
@cloud nacelle
e
if command.execute is async
you have to await command.execute()
ok
Yes I can, but I want my bot send the announcement on discord when I post it on top.gg
hey Tim
but you can't
oh ! okay... sad
did you forward it to your internal ip?
fine
still not woerking
show code
try {
await command.execute(message, args, client);
} catch (e) {
console.log(e);
const commandErrorEmbed = new Discord.MessageEmbed()
.setTitle("Wait, whats that?")
.setAuthor('We\'ve encountered an error!')
.setColor("RED")
.setThumbnail(visuals.gif["commandError"])
.setDescription(`We've encountered an error trying to execute the command \`${misc.prefix + command.name}\`.\nAn error log has been generated and attempted to be sent to the developer.`)
.setFooter(footerText[Math.floor(Math.random() * footerText.length)], visuals.png["footerText"]);
errLog =
`**An error has been found!**
Details:
Command: ${command.name}
User: ${message.author.tag} (${message.author.id})
Server: ${message.guild.name} (${message.guild.id})
Error Details: ${e.toString()}
Complete Error:
${e}`
client.users.cache.get(724066932701134979).send(errLog);
return message.channel.send(commandErrorEmbed);
}```
How do I send a message to specific channel?
show the code for the command you're testing
const Discord = require("discord.js");
module.exports = {
name: "test",
description: "help command",
cooldown: 2,
aliases: ["links", "server", "support"],
usage: [],
async execute(message, args, client) {
throw new Error('test')
}
};```
text box.. please...
```js
code here
and what does it log?
so i tried changing console.log() to send a random thing
and it still sent error
meaning its not catching
me
JS moment
wut
it's not like python
js is dynamicly typed
There is, they added announcements together with premium iirc
dynamically
js does not support 64 bit integers
IDs are too large
they get rounded to invalid ids
ok
you don't need premium stupid
Lul TIL js doesn't have longs
Lul
It was released the same time, not dependent one on another
yes yes
const reportChannel = "810225724937994331"
const Discord = require('discord.js')
const reportE = new Discord.MessageEmbed()
.setColor('#FF0000')
.setTitle('Bug Reported')
.addField('By:', message.author)
.addField('Bug:', bug)
.setFooter('Time reported', client.user.displayAvatarURL())
.setTimestamp();
message.channels.cache.get(reportChannel).send(reportE);```
oh.. channel
depends if the channel is in the same guild as message
or if you want to send to another guild
you can always just use client.channels.cache.get(id).send()
this made the chat dead :[
DiscordAPIError: Missing Access
at RequestHandler.execute (/home/runner/stockbot/node_modules/discord.js/src/rest/RequestHandler.js:154:13)
at runMicrotasks (<anonymous>)
at processTicksAndRejections (internal/process/task_queues.js:97:5)
at async RequestHandler.push (/home/runner/stockbot/node_modules/discord.js/src/rest/RequestHandler.js:39:14)
at async TextChannel.edit (/home/runner/stockbot/node_modules/discord.js/src/structures/GuildChannel.js:355:21) {
method: 'patch',
path: '/channels/808608236449038346',
code: 50001,
httpStatus: 403
}``` i keep getting this error when i change the name of a channel
does missing access mean the bot doesn't have the correct permissions?
Your bot can't see the channel
oh
any way around this?
the bot has the manage_channels permission i don't think this should be happening
view_channel ?
ok i'll try that
Yeah always remember channel permissions override role permissions
User perms > channel perms > role perms
const client = new Discord.Client({ fetchAllMembers: true, disableMentions: 'everyone' }); When I try fetchAllMembers bot didn't work does anyone have an idea
maybe cuz you're missing member gateway intent?
^
i have server members intent
but i dont have presence intent
did you include the intent in the code too?
enabling it on the dev page isn't enough
i will try
How do I map my guilds? (Eval command purpose, not public purpose)
in which library
discord.js v12
does that literally
It returned [Function: map]
lol
it's a method
take a look at this https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/map
The map() method creates
a new array populated with the results of calling a provided function on
every element in the calling array.
I don't think that's what he wanted lul
the behaviour of djs' Collection#map is identical to that of an array
Define "map my guilds"
I want it to list by names
Ok
i need help with my server. I need someone to add a function that when someone reacts they can view the server evrytime i try i f it up
someone help me plz
i'll inv u to my server just dm me
Use a bot with reaction roles for that
Then deny VIEW_CHANNELS permission from everyone
And allow it to Member role (or something)
This way only people with Member role will be able to see
can i inv u to my server plz
No
Help isnt always to invite them to there server.... if it's with code, you should get help here
-_- bruh
It's good that KuuHaKu helped you.
he didn't
He did
Why not? Did you not understand what he said?
Use a bot with reaction roles for that
Then deny VIEW_CHANNELS permission from everyone
And allow it to Member role (or something)
This way only people with Member role will be able to see
what can i add in my code that when ever something says null, it wont say null, it will say 0, with out adding so many if's
something || 0
what?
bro listen ik how to do reaction roles the thing is i mess up when i give curtain perms for viewing the server and as a result my server is f up
null
what?
what
set '@everyone' to 'send message' to
and view channel to 
mk
let something;
something = null;
something || 0; // 0
something = 1;
something || 0; // 1```
if you're on node 14+ you can also use ??
but in this case zero just fallbacks to zero
which is just the same
@pale vessel so i can just add in top of the command:
let something;
something = null;
something || 0;
just append || 0 to your variable ig
so like,
the credit card money is VARed to cdmoney
so i just need to add in the top of the command:
let cdmoney;
cdmoney = null;
cdmoney || 0;
you don't need that
you can just use `${cdmoney || 0}$` for example
O
okay,
ty
sm
sorry for missunderstanding
ty
can i ask a question about that?
@pale vessel

how does it detect that its null? like, if its not 0 it will show the number, but if its 0 (null) it knows to show 0.
hope it understandable
undefined, null, 0, empty strings ("") and false are falsey values
so it like detects it?
you can use ??
?? will only work on undefined or null
client.guilds.cache.has ?
no that's not normal
Are you using py ?
hmm im using js so idk sorry
is py hard for discord bot ?
i think py is so complex
it's bot.guilds
Python itself is not hard to understand, that's why I call it a siren language
What
Siren language
A language that feels easy, looks beautiful and sing smooth melodies
But when you notice you're sinking in unoptimized and gruesome code it's too late
There is a commonly accepted term for that and it is called "high level language"
No no, I mean
Python itself is too charming for newbies
But they usually fail to dominate it
Can't hit, I agree
Python is meant for short code snippets that execute a specific task
^
It's really quick for prototyping
it can be very performant in some cases
i just refuse to use it because of the retarded syntax
same
it wont even let me do ugly code because of the syntax
smh
let me do ugly code
ugly code makes it more fun
Actually, python is a lot similar to lua when it comes to purpose if we stop to think
Those who have rgb mouse/keyboards lul
lul
Imagine hsv mouse

relevant
Pit hole
as relevant as php
aka not
java is only used by 3 billion devices
always has been
lol
No, oracle java is used in 3 billion systems
i feel sad that php is still used nowadays when even node beats php in web performance
Because they sucks
node is pretty good for backend api's
you can just easily use a web framework like express
its not the best
but good enough
lol
and you can use it with tyescript ig
to make it a little better
I meant typescript
ffs
i mean typescript is just for development
so apart from development it doesn't really affect how good node is
true
but yea node is good enough
All languages are good:
Java is robust
C++ is fast
Python
Js is lightweight
"Python"
Python
java in 2021 
Ah yes "Python"
C++?
all my homies suffer with C
minecraft plugins 
i got a plugin with 20,000 downloads somehow
the one and only purpose
Someday I'll try B lang
this
i think you spelled assembly wrong
the only purpose of C is to make cs students drop out
kekw
why does vscode just randomly crash
this
How do I deffine moment?
moment
you define it
Scratch is good..
did you copy code again
uhh
this
some.
so all
do you even know what moment is
"again"?
wait
a meme
again?

no
lol
you probably wanna use date-fns or something
this isn't the first time you've done that
ffs
well... I mean...
go learn coding
copy paste is not gonna make you learn code
and it doesn't count as "I know code"
The best way to learn is to watch and then to excercises yourself
because moment is a npm module
this is how school teaches you all the subjects as well
lol
you should learn the same way when it comes to coding
just as advice
though it requires much much more critical thinking
it's not a discord.js class
you should be more dependent on yourself than anyone or anything else
it's an npm module for date formatting
Meh coding is often mostly just problem solving
more accurately, it's a meme at this point
oh, so I do npm i moment?
yes

I'm smart.
smort
Smart reversed is trams
kekw
uhhhh
Es6 ftw
bruh
who is es6 and why do people keep telling me to import him
I knew that.
Erick Sanders, he's 6 yo
Haha, I knew that!
I was just was testing you.
proceeds to go on stackoverflow
n & 1
npm i is-odd
im smart.
what
best way to make that
because code is too good
the code is too handsome
oh.. See im so smart.
How tf you even reached that error message?
Being so good at coding.
Emir
you're touching something you're not supposed to be touching
bruh...
let me point out every single issue in this code
Wait
we all already know im supper duper smart.
Why tf you have a folder named "_"?
Your path
Something to do with VSC?
Im too good.... too good..
Yeah we get it
did you install vscode... inside of your bot directory?
uhh
- you are trying to use a function that doesn't exist
- you have a parameter called odd and don't use it
- you are making an if statement without ()
- the parameter is called odd and not number
- you are mutating the value and not actually checking if the number is
- you are not returning any false or true
..\Discord Bot\Microsoft VS Code\_\resources\app\extensions\git\dist\main.js
Wtf is tgat path
I think cry's right
uh..... At least its not 9+++.
You're coding inside vscode folder
did you follow a tutorial on how to install vscode
no
Like, OliyPls moment
you must've downloaded the portable version or something
I never watched one..
why would you need a tutorial on how to install it in the first place
its so easy
Notepad++ Portable best editor
Sublime text gang
..
i haven't used notepad++ since like 2015 because everyone was using it to edit minecraft config files
bruh
I am using VSC...
i still use it for minecraft config files kekw
I just picked something dark like solarized
at least notepad++ is stupid fast
i jump between code editors and IDEs
oh frick
Right
Good job
Smug, pls, create a new folder and put ur code there
Then properly install vscode
Change your database password?
It is
Visual Studio Code
You installed it in your bot folder
ya
But it's a miracle you haven't had issues given you're coding inside ur vscode folder
Why-
isnt that were is should be?
that code makes me wanna die
No
You see, vscode is supposed to be in Program Files
Don't go that far lol
why would you ever code in the vscode folder
its in my... um... download files.
why tf would you ever do that
also the fact that people store their bot files in their one drive folder instead of having a git folder and storing their projects there 👁️ 👄 👁️
wait
What's git?
yall talking about node modules, right?
Git gud
who's rem
git gud
haha funny
Hah!
git? wut that
I only know rem in CSS
haha who's rem funny
Ram bad
a thing?
yeah
Git () is a distributed version-control system for tracking changes in any set of files, originally designed for coordinating work among programmers cooperating on source code during software development. Its goals include speed, data integrity, and support for distributed, non-linear workflows (thousands of parallel branches running on differen...
i downloaded some the other day
Git ()

Git is a function as it seems
Rem is best girl
I use the enterprise version
lol
Yk there's that star called betelgeuse
i patiently wait for the day when computer ram will be called rem
yes
no
is it pronouced be-te-l-goose?
... ?
that's actually a pretty cool name
desu?
D E E E S U
did you mean beetlejuice 
LMAO
imagine telling your friends "yo my name is betelgeuse romane conti"
What is royal again?
wait i forgot we're still in #development
same.
back on track babes
how tf do I deffine moment?
anyway you definitely need to uninstall vscode and reinstall it under your proper directory
I got const moment = require('moment')
stop using your onedrive folder for your projects and start using git and github
You just defined moment
stop storing on desktop
what directory?
I dont like github.
its to trash.
Wait wait wait
how so
What the fuck
github is garbage.
how is it garbage
You're garbage
Don't say that to our hub boye
you just don't understand the beauty of github
is it a case of "ooga booga im dumb consumer so product shit"
You've made a grave mistake saying that
Github is the best thing after cheddar
or dumb ""developer"" overall
I feel like orange just is the best thing ever... but alr.
every single developer in discord is about to dox you
github was only trash for a month when gitlab had it with more accessible features
then ms decided to make a lot of pro features free
and the github edu pack is amazing
how does github keep track of its versions tho
if only I could use the edu pack
does github use github?
kekw
probably
yes
Github uses svn
I think so
github remains the best platform for git projects
github uses github for github code
svn?
/s
its hot
true
but what if im using discord.js? bruh.. and yall keep saying its good for me. I use d.js. Not git.(blah blah blah)
Can we take a moment to appreciate google's new dark theme?
wait what
what in the literal fuck are you on about
where
Yes
finnallllyy
Just a sec
djs is totally unrelated to git or github
Gonna screenshot
I NEED IT
true
git and github are two different things in the first place
me who's had dark reader for years
lol
rly now
ngl that was a pretty good analogy @quaint wasp
like car and carpet
b

What's the difference between @invalid-user and <@!USER_ID>? what are the conditions where these show up?
Me no dumbass. I know my ABCs' unlike you all. Me've been studing them for ever now. English is hard.
Meh, only for pc currently
@invalid-user appears when you pass an invalid id
lol
But I saw it yesterday
Suddenly google went black
whoa
racis.
the former is client side only, appears when the user isn't in cache or the user doesn't exist
the latter is random behaviour at this point, the ! used to indicate a nickname but it doesn't anymore and appears randomly
also
@misty ibex
google is a she from my point of view.
oh, weird. i am getting an invalid id from member.user.id <@!${member.user.id}>
the user isn't in your client cache
can't do anything about it unfortunately
it's a clientside issue
ye
can i do a client.members.fetch() to fetch the user?
no, not that kind of a client
the client you're using right now to conversate with us
My id is... the ultimate 1.
but as far as I know you can just pass the user object into a string in discord.js and it would function as a mention
Just searched how to activate it, just have ur pc set to dark theme if using windows
I think.
i have it in dark mode already tho
for example you could do message.channel.send(message.author) and it would be a mention
but google isnt
lol
Idk then, give it a search
just use dark reader
yea right
I swear my google is dark
this
In my pc
don't wanna stay blind my whole life
dark reader turns any page into dark mode
when someone joins with the client.on('guildMemberAdd', async member => { my bot is sending a member of that guild a message with the member, but it's showing up as @invalid-user
Dark reader turns dark pages into horrible looking pages. But it's worth it
have you read anything i said?
no
it's the discord client of the member that doesn't have it in their cache right?
Ig I've been lucky lol, didn't knew it was a thanos beta
he just said it's the client you're using right now to talk
no, it's your client
then it's THEIR client
but their client should have the member cached since that member is in their discord server
not all members are granted to be cached
otherwise the ram usage would be 8 gigs
Tell them to ctrl + f5
and i cant force their client to do a lookup
nope
dang
or alt + f4
refreshing the client would only further flush the cache
would do the opposite of helping
Damn, i suspect they're on mobile that shows up as @invalid-user
I think i should modify the markdown rule of discord mobile on SimpleAST to show up as their ID just like PC instead of invalid user
a useful feature?? on discord?? not on MY watch
plot twist: they are actually named invalid-user and are trolling
lol
Moment is no function
here <#development message>
what do you not understand under "define"
no.
do I have to give you a wikipedia defeniton of defenition
no
lol
define = means explain what it is..
cpp flashbacks
I think.
No
Define means "make it exist"
A definition is a statement of the meaning of a term (a word, phrase, or other set of symbols). Definitions can be classified into two large categories, intensional definitions (which try to give the sense of a term) and extensional definitions (which try to list the objects that a term describes). Another important category of definitions is th...
dfs
jsjfs
bra
there
were talking about define, not definition.
Deutsch moment
Idk..
wikipedia makes it german when I visit and I hate it
I feel like moment is a word..
wait a moment I never knew that
I wonder why they didn't make it same as desktop build behavior 
Told you, me big brain.
i finnally got my bot to stay online without it crashing when someone dms it
lol
fun fact, all 3 platforms (desktop, ios, android) run on different frameworks and all of them have completely different code
I like the part where it says override fun
I know lul
must be a pain to maintain
it's the reason why the client behaviour is never consistent 
Adding anything to discord mobile is absolute pain
guys.. cmon.. How do i fix this dum error?
who was the idiot who thought that was a good idea
Both german and russian sounds like everyone is cursing when arguing
by learning how to code
their base is already a clusterfuck and then they're adding more clusterfuck to their already established clusterfuck
Russian is more aggressive tho
thats not true
smh
blyat
quick question, is using another discord bot lists allowed? 
I as a german born in germany disagree
cyka
no... the other way..
Using? Yes
Saying u use? No
by like... typing.
At least not here
so type
wut?
Like, just don't advertise other lists
I am typing.
i suggest having a stroke on your keyboard, you might end up writing garbage, just like netflix's shows
this person is making me feel a world of pain
🗿 He woke up from the wrong side of the bed
🔥
dude... your juse reading... stuff.
Thats actiualy true.. I woke up from the left side today... and even standed up from left side..
NetFlIx OriGinALs
Then it's rewind time
Netflex originot
blyat
We're developing a conversation
why u curse?
We are developing a conversation in development
I was today's years old before i realised caching all members is a horrible idea
on startup, at least
bombed cpu
that's interesting
I'm glad they removed the fetchAllMembers option from discord.js v13 
do that with a bot as large as rythm and you will have a startup time of 5 years
thats exactlyh what im running into rn
its taking around 4 minutes just to cache all 450k users
lol
discord wants you to go stateless anyways
they're doing a really bad job at it
just like with anything else but that's beside the point
like, all startup takes around 15s (with 5 shards), which is insanely good
d.js was emitting ready after 17 seconds on a single shard
I have the feeling discord cares more about the casual consumers than the actual devs
lol
if it wasn't obvious enough from the UI enlargement
they also started targetting schools in quarantine
bigger buttons == more intuitive, that's how UX works right guys???????????
Let's remember discord removed tableflip memes from mod settings
Yea, "omg stickers on discord!?!?!?! Money? Take it!"
and the startup text
remember that time discord change the reaction button 5 times in 2 weeks?
moved to the left
also the fact that they added a dark pattern in their app, put the nitro button in place of the upload button so you'll click on nitro because of muscle memory
yea
also the fucking layout of the fucking call buttons
just made to be clicked on by accident
same
As if gift button was so constantly used that it had to be added near message field
true
they know what they're doing 🤷♂️
if we're being honest, they're also selling our data too
im feeling generous today let me buy a gift out of nowhere and send it in the ser-
sniper proceeds to claim it
As if like if they care about any of those while the Note field still exists on user's profiles 
just legally required to say they're not
that goes into coonspiracy cry
That's why i use chrome, they can't sell if it's been sold already
none of the devs i ever spoke to, even in private, ever said they were selling data at all
lol
discord gets plenty of money as is
because they're required to 🤷♂️ the amount of analytics they send is shady
they are being held at gunpoint to say that
the only analytics we ever see is just hitting the science endpoint
a topic for another day
and you can even see what is being sent
if you are a US company, you are legally required to share data
discord uses Google to store files so basically they technically sell the data to google
lol
thats not how that works
am stoopid then
what company EVER has the right to use data that you are paying them to store?
its like hiring a vault to put documents, and the owner goes on swooping on ur shit
Discord literally tries to do everything perfectly then most of the time fails, then they just give up and make things like this
Omg funny guys right? Right?????
sorry im stupid
monitor outgoing packets
ok
oh right
you'll see science enpoint being sent stuff soemtimes
check the payload
its nothing major
and im fairly certain all data hit on the science enpoint is taken as anynoymous iirc
remember when people were asking for proper replies for years and when they finally added them... they were just markdown blockquotes and it took them another year to properly implement replies
should have just made replys like they are now directly
and not use those ugly lazy markdown blocks
lol
Them saying they'll implement reactive embed buttons, UI improvements and stuff like that
Sure, maybe in 2077
this is the science enpoint, everytime you open guilds and a couple other tasks, you'll see it sending data
they cheap out on their developers
supposedly all this is anonymous
is that an unintentional cyberpunk reference

kek
Cybertruck
what's ironic is that discord's implementation is probably going to be shit, just like cyberpunk itself
Cyberstunk
Cyberbruh
that moment when they get ramsomwared
and source code gets stolen
it's embarrassing
i would've grabbed a rope right there and then
absolutely emberassing
Cyberjunk, cyberbug, cyberdrugs, equivalent to discord's Implementions
@earnest phoenix the caching on is broken on mobile. they segment the member cache instead of having a global cache. make them fix it
last time i told the devs to do something i ended up calling them incompetent and getting muted
kekw
Make clicker noises
sounds like your average discord server
They'll hear u
The caching of none of the platforms is broken, it's just a markdown rule issue which i might PR a fix to
Mfs taking years to merge a PR
you know the client is one story
the backend must be dante's 9th circle of hell
did you know that user tokens got a new READY event besides the normal READY called READY_SUPPLEMENTAL
The deeper u go the colder it becomes because hot air rises
So it's actually 0th circle of hell
the entire backend must be such a clusterfuck
What do you expect when even the markdown rules looks like a clusterfuck 
Markdown rule
same phone, same user, different discord guilds
Mobile doesn't change older mentions in real time
Is that user on both of the guilds?
no, the user is only in the guild where it is showing up on mobile
That's a bug or something that shouldn't happen
it;s like they are segmenting the cache
Users mentioned that are not in the guild should't be displayed as an actual mention, instead would be <@ID>
Called it, back-end is just a clusterfuck
bra
I can also make the markdown rule of discord mobile do the same thing but that's just a bug
I just got this
(node:9696) DeprecationWarning: Listening to events on the Db class has been deprecated and will be removed in the next major version.
So, if you read it, do you exactly know what it means? It's plain English
Yeah, depreciation is bad
It means "any future update might not have that anymore"
I'm pretty sure he's confused about the first part of the error, you're basically listening to events in the class called Db which you shouldn't
it's basically "obsolete"
I think it should work as long as the member is cached somewhere on the client. That's how it's working on the desktop client. the mobile way where the cache is separated is causing the issue
hello i would ask for some help on how can i make this so colorful?
Markdown syntax
wait that language is that supposed to be
```lang here
Text here
```
okey what lang ???
maybe its an oop language
Try sql
nope
Vb
nope
Visual basic Has That Stuff
The markdown rule on discord mobile is correct, it's doing what it's intended to, the only thing that confuses users and developers is that, when the user is either not cached or is not in the guild, it just displays @invalid-user, which should be seperated, but you don't need to worry about this so yea, maybe wait until a fix is dropped at least @proven lantern
Hm

