#development
1 messages · Page 369 of 1
remove wot
oh
well
it doesn't know what to do if you mention someone
because it's msg.AUTHOR
mentions?
message.author.displayAvatarURL sends the message author's avatar(url)
so you'd check for mentions
and if there's a mention
give the avatar of the user you mentioned
i tried
show code
users.first()
o
members doesnt have an avatarURL object
member.user

ez fix
kek
:(
did you do
first()
or
first
@wispy axle
btw it'd be helpful if you showed code
might wanna add a catch if no mention is provided
client.ping
a little bit.. bcz im kinda new to coding
client.ping is a variable
you put it inside a string
which wont get the variables value out of it
// Ways to get the variables value:
"string " + variable.value + " another string" // also works with other quotes
`string ${variable.value} same string` // only works with `
// an example for `client.ping`
"Pong! `" + client.ping + "ms`"
`Pong! \`${client.ping}ms\``
// (note the backslashing for extra `'s
that would output:
Pong! 000ms
where "000" would equal your clients "ping"
const update = () => {
require('superagent').post('https://bots.discord.pw/api/bots/BOTID/stats')
.set('Authorization', config.authorization)
.send({ server_count: dclient.guilds.size })
.end((err, res) => {
if(!err) { console.log('Updated Server Count to https://bots.discord.pw/'); return; }
console.error(`Failed to Update Server Count for https://bots.discord.pw/`, err);
});
require('superagent').post('https://discordbots.org/api/bots/BOTID/stats')
.set('Authorization', config.authorization1)
.send({ server_count: dclient.guilds.size })
.end((err, res) => {
if(!err) { console.log('Updated Server Count to https://discordbots.org/'); return; }
console.error(`Failed to Update Server Count for https://discordbots.org/`, err);
});
};
dclient.on('ready', update);
dclient.on('guildCreate', update);
dclient.on('guildDelete', update);```
here @earnest phoenix
change info need
so easy man no jokes and dont need command even thow auto updates self
kk
remember change dclient what ever ya client is for discord thow
and other things too
the avatar command was working last time but now its not

no it isn't
its message.mentions.users which is what they use atm
but of course doesn't catch if there is no mentions
so i need to mention someone then it will work?

Paying 20 Bucks in Paypal for somone to convert this C# to JS
These are the are the two I need to get switched to JS
https://hastebin.com/yedeyafafu.cs
https://hastebin.com/qeyaziboza.cs
This is one https://hastebin.com/ehuvelojuq.cs converted to this https://hastebin.com/tedodebiqu.js to make it work on my new bot
I dont know enough JS to do it myself.
Then why do you want a JS bot?
Its DBM I am still learning how to use it but want those commands to work until I get it all figured out, why is that an issue?
Figured id ask the smart people
I dont see any reason why you would want to convert it
DBM doesnt take C#
I dont even know what DBM is
Discord Bot Maker is a powerful bot development tool for the #1 text and voice chat service for gamers: Discord. With this tool, you and your teammates can take your social experience to the next level!ExplanationOne of the most prominent feature...
$9.99
125
Oh my god
uhhh
...
Someone delete this guy's bots
I guess what you want is to convert the c# bot to a discord bot maker project as opposed to just js
but if you're proficient in C#, then why do you want to use DBM?
Wow, if you cant do its cool, but wow
🤔
Bash Bash and Bash for asking for help lol, So could you guys even do it or like nope to hard ill make fun of this guy for knowing C# but not JS
I just want to know why you'd prefer DBM over C#
I won't make fun of you for it lol
(unlike some other people in this server)
It will be easier in the long run for me to keep it updated
I can add my own JS and use the custom stuff it already has
I have to learn way more JS but it took me 3 days to do that one file and I got lucky, figured if somone already knows both they could do it quick
if you ask me, I'd say using DBM won't necessarily make the bot more maintainable
you're more or less doing the same thing as when you're programming in C#, but just in a more roundabout manner
on the long term it will even be worse
Its just an option for now until I learn more JS and make it from scratch
learning JS to make it from scratch will take you ~20-30 hours
Sadly I work 52 hours a week and this is just a side hobby with running my guild
52h wtf
Sucks
100%
where the fuck do you live
not a conversation for #development
but the reason is something something capitalism I imagine
Tell me about it, I am a liberal and I work at a coal mine. but it pays well
Let me drink fanta
sorry
but yeah im not sure if you can mix custom JS and DBM like that
as DBM is pretty limited
won't do well
But yea, if anyone has the knowlage I have a $20, if asking for help in this manner is against the rules I can delete it
Yea the bot is just for a game called ESO and its just for my guild I think 8 other guilds use it atm
Elder Scrolls Online 
yup I am the guild master of Magical Society and this bot came from that
https://www.eso-database.com/en/guild/magical-society/176613/
So these files would go a long way with this many members
is this allowed?
yes
Yes? Obviously? It’s the help page for the bot
Mk
Everyone does their help commands differently. As long as it’s not pointing to some malicious site and actually shows commands and stuff, it’s fine.
is this allowed?
is it a clone?
lol, nothing was joke 
oookay

was being a smartass, i see
what
you haven't installed the module 🤷
[[help
what is wrong with this:
msg.channel.send(msg.content.replace(prefix + 'say ', ''));
},```
hi there! I have a couple of music questions. I tried finding this in the faq but didn't see it. I'm looking to replace another bot that I'm not particularly happy with (ayana).
Does this bot have vote skips?
Does it allow skips for the person who queued the song without special perms?
Does it have a DJ role or feature
wrong server bud
oh? sorry
I was told to go here with general questions lol
I thought it was strange... development doesn't seem like a place to do that
if you want to join ayana server use =server or =support
no no, I'm not asking about ayana. I don't like ayana
o
you cant
meaning boot out ayana and invite a new bot to take over music duties
DM me cause were not in the right chat
@south finch whats wrong with this?
msg.channel.send(msg.content.replace(prefix + 'say ', ''));
},```
who is?
you haven't said what the error is 
prefix isnt defined
there's your problem then, right
what
not JS person
that makes no sence to me
there's no variable called prefix so you can't reference it
how i can get avatar url of a bot? (with the id only) (no lib discord.js etc)
Https request the user
I don't know the exact endpoint but look at the docs
I mean if you authenticate as the person it's /users/@me
but is not a user
I think
is a bot
Doesn't matter
bots have ids™
Same endpoint
Bots are users to discord with a special flag set to true
Aka bot flag boolean
if the bots online? its logged in?
Aly - Hoje às 15:59
bots have ids™, sup
i want to get the bot avatar url
via the id
yea i found
Anyone know any good ways to make/generate widgets and/or graphs in NodeJS?
I mean like making a png or svg (or similar)
hi
hi
@cerulean zinc you can just use something like jimp and a lot of math
it's relatively trivial stuff if you know your trig
I'll look into it, see if I can figure it out
but... how dbl make request to this using only bot id https://images.discordapp.net/
How do I get upvote information for my bot?
Anyone have any good program ideas? Because I want to make something other than just a bot...
write a mini OS / desktop environment
You could get into app development
OS is way beyond what I can do, but the only issue for me with making desktop (or mobile) apps is I can never think of a good idea
@quiet bobcat GET /api/bots/:id/votes
you'd be surprised, I don't mean a full-fledged OS
Ik, but I wanna make some sort of program, not really an OS yet
Thanks @uncut slate
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
...
@rustic plinth can you........ not do that
@frozen sail because I'm having loads of trouble with it. skips are not working on a vote basis. I would also like to have a bot that can allow skips to the people who queued the song playing without a special role
It's possible I just don't understand the settings yet. I've been messing with it for awhile now. It has loads of permissions. But when I fall back to the Rhythm bot, my life is just easier lol
Then code it 
Rhythm already does it ^.^
haven't tried FredBoat yet, but that one seems to be popular too
I wanna make some cloud related and/or connected app... 🤔
Any ideas? Cuz I can never think of any 
Is there a way to delete all duplicate rows in a sqlite table? I'm trying to switch databases but there's a heck ton of duplicates 
Using node.js
just hit it with a query like this
Maybe
What would be a desktop app I could make that people would actually use? I'm sorry if I've asked this too much but idk it's just driving me crazy that I can't think of any ideas
another Discord
I've thought about that, but I don't think I really wanna do that
yes you do
No.
yes
make a music platform like spotify or soundcloud but free and good
Good joke
but
Will require a ton of licensing
mmyeah
I just said that
idc
no u
make an otome vn game
a what game

👉 😎 👉

I don't really wanna make a game for say... Just some kind of cloud based interactive app
remote desktop but for gaming (oh wait that's Parsec)
That's already a thing
(oh wait that's Parsec)
heard of zeit now?
No?
it's a serverless deployment platform for node.js apps
@cerulean zinc you could ask people for what kind of cloud based interactive app they want then make a poll for all the choices given
Maybe.
build something like that, but open source and with greater flexibility
But I'll check that out phanta
Actually
Hm?
Not an app per-say but you should make a Discord overlay for games (text-chat, not voice only)
Something like Steams Overlay but for Discord
But is it really necessary?
yes
same, that's why I threw it out there lol
no way to do it without breaking tos
True
that would require building essentially a third party client, which discord is vehemently opposed to
Hmmm
it's essentially a selfbot
RPC
...is entirely unrelated to this
RPC can do what you want without making it a selfbot?
build a rpc plugin for text editors 
I said an app. Not a plug-in
the rpc interface exposes nothing about the client afaik
it only exposes the rich presence api
and that's unidirectional
wrong
Well actually one thing RPC can't do is messages
so nvm
But it can do just about everything else
Voice channel join/leave/interactivity, getting guilds, channels, etc..
Oh wait RPC can get message updates but can't send on behalf
hmm
I honestly don't have a clue since mostly everything I would need is already made. Can't help you out here
Maybe I could remake it idk
But there is already really good ones out there
Ik!!!!!
You would need to be really innovative with making a new text editor
actually nvm
for fun
One thing I always looked at and semi-enjoyed was an all-in-one game management app
to learn ™
Like steam @elder rapids ?
< . <
also
I mean yes... but there is also other platforms so combine those
this is unrelated
What if i make my own Discord 
but does anyone know what extends does in Java
Nope
@cerulean zinc Already done, Slack™
turtle search it up
Slack is shit tho
but discord copied slack
So can i
then do it
extends in java is creating a new class extending another
How does that sound tho
With reactions, vote should I make my own discord like platform?
yes
make a group messaging app but make it cool
use electron kek
P2P?
make a discord clon1!!!!!
I had that idea for a long time and wanted to do it myself
Peer to peer
o
But I don't have motivation to do it
So if you want to experiment and do it be my guest
Shit I might do it
open source it kek
I might
we got derp an idea 
I would open source it if it's P2P
go for it
Trust issues 
¯_(ツ)_/¯
Omg I actually have an idea I wanna do
so we can all help
Thanks guys
yw
lol yw since I probably gave you the idea
~~P2P Discord is best Discord so it never goes offline cough ~~
Ikr
add clear dm history
Ikr
and use mongo kek
I've used Mongo
eh
I'll be back in a bit, gotta do some stuff
Come back with that P2P Discord
or not at all
ok
But I'd need to use websockets, right?
Not necessarily
¯_(ツ)_/¯
i could help with db shit
What would I use instead of websockets
hmmmmmmmm
Regular sockets

You can program your own binary socket transporation

How tf
What you mean how tf 😂
Idk how
Just make up your own header system and then do that
But anyways I'll be back later and experiment with making the app and let u guys know the status
this is interesting
kk
Wouldn't it be better to use websockets tho
Speaking of I might just program my own binary transporation for my bot (internal communication)
WebSocket is for ease of use
If you want fast sockets you'll need regular custom TCP/UDP sockets
i put my support on derps app thing
... welp
You can just send raw messages too if you want
Ayy
You get more control over the socket if you go raw
Oof
socket
What's the best library for websockets
accepted derp 😃
Wat
fr
u cuck
Same
I've looked at it a few times and it's nice
That's what I'll start off with and yes
oke
No python
^
I have no input on sockets
hmm
socket works with express
@cerulean zinc tell me when db stuff comes in. I love working with db's
Tell me about sockets, I love working with sockets ( ͡° ͜ʖ ͡°)
name it somethin gud
Yea I need a good name
When you think of the idea too much and then start double guessing it
Ok
gonna learn some java pong if needed
I've used C#
@languid dragon ik js and java🔜
smh
Anyone have any name suggestions for the platform?
I know C# quite well
lamest name I ever heard
iDerpNet ;))
hehe
Biscord

Nah but seriously, lemme know if you have any name suggestions.
ChatCloud?
skype 2.0
i mean you basically are just rewriting skype right
Blurbal?
Yea
I mean that's an interesting name
Ik
It's not a bad name but it's also weird for a name. Give me time and I'll probably get used to it. It's how I was with Modulo I never liked the name and now it's what I stick with and kept
Ok
But for a current name. Go ahead it's not bad
Also Blurbal Bl-ur-bull
You always can change it later on if you find something better
True
Anyone else having troubles with ytdl-core?
have you updated it recently?
youtube messed with some stuff on their side so old releases are no longer functional
I wonder if my library still works
I bet I'll need to update it
Oh cool it still work 👌
I just updated and it worked
I guess my regex for YouTubes signature shit works almost every time if they change it
I will never give you guys my special regex which seems to always work even if YouTube updates their signatures 
@cerulean zinc BlurBall 
updating ytdl-core for me does shit
o_0
it works
since when dont i use filter audio

Is there a reason my bot joins a voice channel then immediatly disconnects? it worked earlier today ;-;
Also, its in JS
@earnest phoenix u use ytdl-core?
okay, thanks man!
now it says ffmpeg not defined but in the coding of this bot i dont remember using ffmpeg
How do I get the users name in
let = userName = ‘’
=.=
message.mentions.users.first();? @earnest phoenix
does it say ffmpeg not found? @earnest phoenix
let userName
yeah @topaz fjord
not let = userName
are u on linux @earnest phoenix
go onto the vps and do sudo apt-get install ffmpeg
kek
Fun
I love watching black dcreens
Screens
it keeps returning 404 not found 😂 @topaz fjord I'll search this error up real quick.
tf
After thinking about it, should I really make my own chat platform? Would anyone really use it? Or should I make something else...
@cerulean zinc We would have to make it good for people to use it
Ik, but should I just do something else?
Hmm
I wanna have something that uses the cloud tho
cloud storage 
oh wtf, ubuntu 17.04 ended its support on janurary 28th... wuttt didnt it just get released??
@earnest phoenix

message.channel.send("Why hello there" + message.author) should work @earnest phoenix
or
var user = message.author;
message.channel.send(`Why hello there ${user}`);
Tell me if you have any issues
-.-
sudo add-apt-repository ppa:jonathonf/ffmpeg-3 @earnest phoenix try this
oke
Can’t I do
let = userName = ‘message.author’
msg.channel.send(‘Why hello there ‘ + userName + ‘! How are you?’);
no
you dont do let = userName =
- wrong type of quote
let = x = yisn't valid syntax
it doesn't
wait it does
Ya
Bots not in this server
i want to beat the hell out of whoever was the retard that allowed this
because js lets you use keywords as var names

@inner jewel ur bad at js
Well
@earnest phoenix did you use "
use ` instead
👀
works with let
doesn't with var
https://this-is.definitely-not-a-sketchy.host/1b9c845606.png
you had a single job javascript
a single job
and you failed
nope
Ha ha ha you made it worse
Rip
only let
No
const text = `hello ${userName}! How are you?` ```
didnt you see @thorny hinge's example?
message.channel.send(`Why hello there ${message.author}, how are you?`);
Yes

js has 3 ways of declaring strings
Fine, I wanted to try something different
"a"
'a'
`a`

FAIL
/a/.source
Why does my bot only like msg why not message
Anyone have any service (server and client) suggestions other than a chat platform?
@inner jewel is 9 commands good enough for you
I mean I can add music that don’t work
commands that don't work just make it worse for you
@earnest phoenix did it work?
also if those 9 commands are actual features
eg not userinfo/serverinfo/ping/help/etc
whats happening
stuff
@inner jewel can u explain to me what @Override does?
literally nothing
then whats the point ?
it's just to say "this method overrides a method in a superclass"
but it'd still override even without the annotation
the point is to make your code readable
override annotations make it a lot easier to determine if you're a beginner
class Parent {
void myMethod() {
System.out.println("Parent.myMethod()");
}
}
class Child extends Parent {
void myMethod() {
System.out.println("Child.myMethod()");
}
}
Parent p1 = new Parent();
Parent p2 = new Child();
p1.myMethod(); //prints Parent.myMethod()
p2.myMethod(); //prints Child.myMethod()
but it's good practice to add @Override when a method overrides a superclass/implements an interface method
Can anybody fix mah moosic?
did you update your music lib
My what
@inner jewel is extended like adding to a class
beep boop that makes your audio work
no
o
like ytdl
🤔 how
you create a new class
that inherits everything the super class (the extended class) has
@earnest phoenix what lib are you using
but you can override methods to change behaviour
if you don't know how to update your music library then I can't help you further
d.js
oof ok thats cool
@topaz fjord nah, reinstalling my vps to a better version of ubuntu
kk
um, i probably wouldnt be a help since my music code is based on arrays and sucks 🤔
I am trying to fetch my token from my SQL database, so that I can eliminate the .jsons completely
My problem is, when I try to get the row containing my token, I get "TypeError: Cannot read property 'get' of null"
that's... not a good idea
How so?
sql for data, json for configuration
each data format has its own distinct applications
you really don't want to mix them
Token in a database? 
it's not really data, no
it is information in the conventional sense, but it's not data for the sake of your bot's function
i.e. it's not data that's read from/written to during operation
so it should be stored in a config format like json
as opposed to a database like sql
Alright
i store non-token keys in redis
What program should I make 
so multiple clusters can access the same data, and so it can be changed in real time without restart
Should I make a password manager 
?
Custom command aliases that are set by users and will only work for the user who set it

Should I make a File Cloud App, Chat App, or what 

ok I put my vote on chat app
Ok. Im gonna make it
ok
Just clone discord
Im gonna make my own
@cerulean zinc make chat app or succ
Im MAKuNG\ Itn
@sick cloud hi
uh hi
so, you want to find out who upvoted your bot?
yeah
basically to get votes, so only users that have upvoted my bot can use certain commands
Not to be rude, but if this conversation doesn't exactly pertain to actual development then please move it to #general or #memes-and-media. whichever you prefer.
so no ones got an answer to my question?
you do some basic GET on the votes endpoint that is described on the docs
thats kind of what i'm asking though, how. i've never worked with an api like that before
wat
ok?
Try connecting to https://discordbots.org/api/bots/YOUR_BOT_ID/votes
On your browser.
It will look like this.
Do you use discord.py or some other library?
Eh? You there @sick cloud ?
Do you see the id attribute?
Do you guys know if discord image links are permanent (or only last for a few months)? I'm working on a bot that saves the URL of good rated memes so when somebody types something like $meme they get a random meme. I dont wanna download memes tbh cause i only have 16gbs on my rpi 👀
That's all what you need.
dunno how to use them
I would use this code in Python:
# GET THE VOTERS
voters = requests.request(
'GET',
'https://discordbots.org/api/bots/BOT_ID/votes',
headers = {
'Authorization': 'API KEY ON DISCORD BOTS'
},
).content
exec('global upvotes; upvotes = '+voters.decode('utf-8'))
# CHECK IF AN USER IS IN THE LIST
def is_voter(user):
global upvotes
for upvote in upvotes:
if user.id == upvote.get('id'):
return true
return false
I don't use JS so you might have to do it yourself...
He wants to check if an user is in the bot's upvoters.
In order to use some certain commands...
first of all i dont necessarily approve of upvote locking but thats besides the point
you need to get the response from /api/bots/:id/votes, turn it into an object using JSON.parse() and then iterate over the object and see if the id is equal to the users id
returning the results is pretty easy
then if you use JSON.parse to turn it into an object it should just be as simple as a for loop over the object, and comparing the id's
It's so funny to know JSON has some points are the same as Python... xD
How do you run a bot on multiple servers on a host? 🤔
do you mean like sharding?
Like
You can make multiple servers on a host, I use vultr
Can you run them on multiple servrers?
servers*
Just wondering
If it ever comes to it, I can have the knowledge. But I guess I can just look it up. 😛
yeah im not too knowledgable when it comes to stuff like that so sorry
but i would imagine it wouldn't be possible
ok then
What @heady zinc?
wat
angry murlock noise
@low rivet got my "you've used all your free hours" email from heroku, shit still running lul
ok
i did try that. i did
var prefixmention = '<@[id]>';
but it didnt work
Did you type @mention help or @mentionhelp when you tested it?
👌
Does it work tho?
yup
🎉
does animated emojis work on discord bots?
yes
why would this be happening and how do i stop/fix it?
OpenError: IO error: /home/tony/data/boat_gems/LOCK: No such file or directory
its breaking my bot rn
Is there a Python equivalent for nodemon?
pm2 works with both
always thought it was a node only, does it have auto-restart upon save files though?
yea it has a "watching" option
perfect, thanks
wow vultr are fucks
🤷
Anyone knows how to list all people with a certain role?
yes
just check if the members have a role
if true add it into a list if false do nothing
@slow elk what library are you using
does anyone here use windows use node 8 or above? ive been having this issue for a while and im just curious if its affecting anyone else
whenever my bot crashes on windows with node >8, no error is logged (despite me having listeners for error reporting, and it works on linux) https://please.zbot.me/1unh1BGh.png https://please.zbot.me/iZBM3gps.png
btw the reason for the crash was a syntax error in a command i ran, but that wasn't logged so its weird
@austere meadow do you run the commands in a seperate file?
yeah
node doesnt always catch errors from a different file
unless you have a listener for unhandeled stuff in that file aswell
that would work
@scenic crest I use discord.js
as your command goes through that
and its weird because it works fine on linux (with node 8.2.1)
but ill give that a go
linux node works a bit different in that case i think
thanks for the help 
ah okay

@inner jewel you are the true meme
no u
do u think djs should have snowflakes as numbers?
no
Why does it keep saying prefix is not defined
you end up with floting point representation issues because js has no dedicated integer type
@earnest phoenix presumably you haven't defined a variable named "prefix"
What does that even mean
well when you write something like
@weak parrot shut up
console.log(x + 1);
you're taking the value stored in a variable x and doing something with it
but if there is no variable called x, obviously this won't work
So how do I define prefix
i mean the same way you declare any other variable
...
uh no?
Idk
what do you think let = prefix does?
ok I think there are some misconceptions here you hold about how variables work
what do you think variables are
um

we can't really move forwards unless you can accept that you're missing some knowledge here
dont be a smartass towards people actually trying to help you
@austere meadow by the way, any particular reason you're not just doing err.stack || err
dose this work
{
"name": "setgame",
"permissions": "NONE",
"restriction": "4",
"actions": [
{
"info": "1",
"infoIndex": "1",
"storage": "1",
"varName": "game",
"name": "Store Command Params"
},
{
"channel": "0",
"varName": "",
"message": "Set game to ${tempVars(\"game\")}",
"storage": "0",
"varName2": "",
"name": "Send Message"
},
{
"gameName": "${tempVars(\"game\")}",
"gameLink": "",
"name": "Set Bot Game"
}
],
"_id": "YxtBw",
"comType": "1"
}```
yes
k thx
enmap?
Mongo
.
NuDeS
What does it use now
var time = process.uptime();
function dhm(ms) {
days = Math.floor(ms / (24 * 60 * 60 * 1000));
daysms = ms % (24 * 60 * 60 * 1000);
hours = Math.floor((daysms) / (60 * 60 * 1000));
hoursms = ms % (60 * 60 * 1000);
minutes = Math.floor((hoursms) / (60 * 1000));
minutesms = ms % (60 * 1000);
sec = Math.floor((minutesms) / (1000));
return days + ":" + hours + ":" + minutes + ":" + sec;
}
message.channel.sendMessage(dhm(time));
send 0:0:0:0 but doesnt update
Mee6 uses redis and Mongo now
Should users in my chat platform have:
🇦: Usernames that can only be used on one account
or
🇧: Discord like username system
yep
Gl
thx
multiple usernames!1!!1!1! 
anyone knows how to make a setmax music queue time?
like max queue time is 1hour
max song adding is 10mins/song
so if 10min each song 6songs will do 1hour
lol
August is a bot dev 👀
august is gai
your ms to dd:hh:mm:ss parser is bad and you should feel bad
@thorny hinge redis
@uncut slate responding to the err.stack thing, its just old code and i will update it now 
alrighty
how i can send a request to this link http://images.discordapp.net/ to get the bot avatar via id?
most libraries can do that with client.currentuser.getavatarurl() or something similar to that
but i not using any libary

send api request to get user avatar hash https://discordapp.com/api/v6/users/:user_id with authorisation header
then shove it in the url http://images.discordapp.net/user_id/avatar_hash
Converted my sqlite db into jsons for each table. How do I use those jsons and get them working in rethink?

Same
.
it's a good idea to make sure your bot ignores other bots.
Looking for some js devs wanting a fun project. Aka working on a top 15 discord bot as far as size. Dm me




