#development
1 messages ยท Page 1620 of 1
@safe creek make a Bot support Server I have made a bot
this is incredibly painful to watch
^
holy shit this kid is akready annoying
What
then you ping me after i say that
tf you mean "what?"
๐ Just ๐ create ๐ a ๐ Discord ๐ server
anyone know why this is happening w slash cmds
holy shit its not hard to read
Hey how old are you
no i dont sorry, dont use js
where am i wrong
oof
make sure you have the guild members intent
I'm making bot for incoming and outgoing but my code is wrong or not working
@round cove -b please ty (banned nvm)
your an idiot trying to resell
huh
nvm he was banned
immortalized in #memes-and-media
I'm making bot for incoming and outgoing but my code is wrong or not working
hi Tim
language?
Turkish
bfffffffff
not that but
i cant help if its turkish
bro
wahat
programming language
please learn js/py/java/c#/anyotherlanguage before attempting to make a bot
ingliลh
no
almost there
what programming language are you using
ingilizce
php
not quite
lua
lua
English
no

I couldn't even get my test bot to send a message in lua lol @misty sigil
C, C++, Javascript, PHP, Python, Rust, Etc...
What programming language
Javascript,
use python 
no
cant help
we're using lua for a reason
lol
we would NOT be using lua
Well
what the fuck like
local function x()
--- code here
end```
thats correct syntax right?
oh
is it?
makes sense now
modules are ```lua
local Api = {__test = "test"}
function Api:test()
print(self.__test)
end
return Api
Also indexes start on 1 instead of 0
Yep
ew
Also, lua means moon
im hunger
huh os kinda like that one gta v mod menu luna
Arrays are ```lua
local array = {'val', 'val', 'val', 'val', 'val', 'val'}
can I have an egg? @misty sigil
if thats not cringe idk what is
ok
thats java also tho
๐ฅ
my eyes 
at least javas module system works
he doesnt know what an array is
idk java
lol
i need code giveaway
ok
Yep
h = h, h perfect
But titlecase String
lol
okay??
you can always do print in py
That's only possible when creating variable
fuck py
if your lazy
@earnest phoenix you haven't heard of the new giveaway language?
But who uses arrays in java nowadays
print('hello world')```
no
fuck lua more

no problems here
good
giving away your ram
py is good for some things
its not good for me
wait thats just discord
good good puts gun on table keep it like that 
tff
Astronaut leaving landing pod: "lua's haunted"
Operator: "what?"
Astronaut: cocks gun "lua's haunted"
mac :omegalul:
mac is good lol
lol

the only thing good about mac is keychain access and safari
can you change the ram
The only thing good about mac is cheese
can you change he hard drive
no deprecated settings menus
because their target audience are morons lol
thats why windows is better
true
apple babies their users, both in osx and ios
i would only use an mac os if i can dual boot tbh
Did u guys ever see the insides of a macbook?
i only use it to test my apps on mac
yes
It's literally 75% battery
its very compact
Motherboard is small af
ikr is stupid, no wonder its so easy to mind fuck xd
So small that not even tom cruise would be able to repair it
and a daughterboard
how i do send my bot?
windows is superior in os
ehh
yeah
then
Windows motherboards are motherf****rboards
if windows just made their ui as consistent as mac it would be the perfect os
if mac made their whole system treat you less like a baby and give you more freedom, it would be the perfect os
how i can send my bot?
its not like you can't do shit on a mac
says the guy who cant change his hard drive etc
I can
Pack with brown mailing paper and address to discord hq in washington
yoinked my brothers
you cant do shit with an mac
mac is still relatively ok, os-wise
its shit and the os is bad af
ios on the other hand, is a complete nightmare
don't get me wrong, the look is nice
the experience is not
you're literally in a jail
imo its nice
why does that matter
you don't need 8gb of ram on a phone to make a fucking call
because of unoptimized apps
you do now!
Did u know that iOS bogs down ui speed to make its animations appear smoother?
because its not supposed to run 8k graphic games its a fucking phone 
iphones have way less memory than android but still run great
android objectively needs more ram because for whatever reason a retard decided it would be a good idea to use java as the language for the UI
LOL
true
but android still lets you do whatever you want on your phone
I mean I really like how simple using an iphone is
A good thing about java is how easily stuff made with it can be modified
Like, look at minecraft
out of the box it does everything most people you need
yes, the kernel is a fork of linux, the rest is running on java
True but mc couldve been easily encrypted and not allow any mods to be made by fans so not really a valid or good point imo
That'd kill mc quite quickly tho
ye ik
Maybe they considered adding protection at one point but chose not to
Now look at bedrock
bedrock is everything you want a game not to be
they won't add any protection because their code base is a dumpster fire as is
Fast? Yes
Responsive? Yes
Replayable? Hell no
bedrock was a mistake I hope
i play bedrock 
its shit
Bedrock is called like that because it's just an unbreakable piece of shit
bedrock was a step in the right direction with the wrong intentions ๐คทโโ๏ธ
ye
lmfao
i agree
would be better if they just rewrote java in c#
made it more efficient but kept the same shit
but it allows me to play with my console friends
this is very possible nowadays, but imagine the cost of that
because they won't port java over lol
a language rewrite would cost millions
better than fucking bedrock
Let's all rewrite YanSim
people attempted that before
somehow, whoever attempts to create a rival game turns out to be a mentally deranged furry
Great idea, huge future, dick developer
probably because an idea of such a game only comes to mentally deranged furries
i mean yandev is probably one too
this tbh
but java is ment for lesspowerful devices and comps so they cant really and why rewrite something and lose potentioal revenue etc
If I could model humans I'd probably attempt to remake it
But human meshes are hell
if you want yansim just buy the hitman series instead
yansim is a carbon copy of hitman but make it โจ weeb and pedo ideology โจ
yes
panty shots of underage girls
lol
also the whole backstory of the mc is focused around pedophilia and rape
Lul

degeneratism at its finest
I thought the characters were university students or whatever
Hard to tell the age of anime people
thats what they want
i hate how anime content is such a gray area when it comes to what is child porn and what is not
draws a literal child figure
this is actually a 300yo vampire!!!
Why are free hosts associated so negative, look on replit it works fine for me 
replit will never leak your token
hacker plan xD
80mb is enough for a 800 guilds bot, assuming when you cache less stuffs
because people use free hosts for something they're not meant to be used, come with weird issues that could've been avoided in the first place by just spending the whopping price of a cheeseburger at mcdonalds per month
nah will not work on repl, the error memory leak will come xD
Because free will always be on the opposite side of good
thats the first ping i've had over that pin
heroku works good too, but it is just for 20 days 
lol
it has a ping of 12 ms lol
yes thats right
don't bring up any of those free ptero hosting sites because they're shite too
"free, easy or reliable, choose two"
yes they are, ik, they are scams
easy and reliable
I justed listed some professional and public sites xD
i'm alright with paying a couple of quid a month
You can't kinda compete against cached bots
i mean, repl has issues and so does heroku
Like, cache is there for a reason
there's no good free host
It's not just to eat your ram
but some cache are useless
with a vps (from like, ยฃ3 a month) you can host a db, a bot, a website and more
Like?
objectively speaking, people who use free hosting are going to have ๐ฎ bots anyways
my bots shit and i don't use free hosting
Say one cache that's useless
there isnt one
users cache, when you just dm them you need it
channel cache, just for channel permssion check
member cache, doing stuffs with member
overwritescache
presencecache
all cache has a purpose somewhere
I do not need all the upper things
discord.js , is 0% customizable
User, channel and member are there to reduce api calls and speed up commonly accessed properties
Presence is there to allow you to get user online state
but a guild, which is not active, will nor run commands, and they are although cached
Overwrite idk what it does, but it's probably for something
50% of all bots do not need it
No, they'll not
Only the guild is cached because guilds are always cached
they are
you can disable them too lol in discord.js-light
They arent, stuff that aren't active at all are purged from cache
but I need it
Still you can't say it's useless
ctx.write is not a function is that not supported?
its a heavy feature for guys, which do not need them
Still not useless
No cache is useless
You just trade RAM for speed
Less cache = slower processing/response time
More cache = bigger footprint
my code does not use presence, thats way I do not need it
Tell me, do you use wheelchair?
buuuut you're probably finding yourself constantly fetching your users
which is the tradeoff
cache is there to prevent you from hitting ratelimits
all my cached channels lol
That's awful
you just need channel cache, when you need more information
ask Tim, its totally okay xD
It is, but makes your responses slower

I do not dm any users, do user cache is not so important.
User cache is not only for dming...
you do not need a user cache for dming anyways lol
for getting user info, yes
I'd say user caching is the cache that mostly impacts performance
the author has already the most info
Imagine how many requests you're making
message cache, if enabled
along the message you're also caching the user object inside of the message
~~anyway if you didn't use node which has god awful gc you wouldn't have memory issues
~~
@quartz kindle , Is it totally okay? when I sweep Users and Channels (every 4h)
but I need user info on my command like avatar, name tag
and channel id
Does it make many request?
when I make a fetch request. It saves it in cache. So it wont request it again. But it seems like I do not fetch anything, thats way the cache is empty
Well, every time you need to get a specific non-cached info you're making a request
So you're caching fetch results but not djs results?
then they are cached. But the cache is telling how much I fetch....
they are cached too. But message.channel already has the most information
Gtg now, battery's 1%
lol
you can monitor how many requests you make with client.on("rest")
if its not multiple requests per second, you're more than fine
wait rest event? had no idea
oh djs lite
should be in standard djs
actually, thats true for pretty much every djs lite feature
so I just add, count++ on the event?
a
sure
the event also gives you the path of the request
so you can see where are your requests going
todos hablan ingles
wow, that took just one sec and it begun to spam
yes xD
you can remove it with delete client._events.rest
um
whitename moments like this make me think of https://www.youtube.com/watch?v=7haqnQvrYfI
square hole
square
_ _
that physical pain...
10 requests: 50302 (50s), 10 request took on my main bot 50s on 2000 guilds , one shard. And I ran 2 times channel fetch. Is it good or bad?
you made 10 requests in 50 seconds?
yes, is it bad?
thats more than good enough
global rate limit is 50 requests per second or something like that
you're doing 0.2 requests per second
let count =0;
let first = Date.now();
let end;
client.on("rest", () =>{
count ++ ;
if(count > 10){
end = Date.now()
message.channel.send("10 requests: " + Number(end-first))
}
})
``` I run this code xD
thats good. Do I know on the rest where the requests come? from which guildid?
dont forget to reset count back to 0 when you send
otherwise it will start spamming after 10
because count > 10 is always true
yes haha, I process.exit() lol
?
rest gives you variables for that
thats good. Okay I will do some tests. As soon I have time xD
Provides an object containing the request method, path and optionally a response buffer
so client.on("rest", obj => { console.log(obj.method, obj.path) })
thx 
I will make then a ratelimit system on the rest event xD
Whats the value the bot should stop?
dont make global rate limits
30r in one second?
focus on per-channel limits
guild ratelimits?
I have cooldown on all commands, 3s default
but when I see that the bot did 50s request in one second. should I make the bot stop for a minute?
your bot should never do 50 in on second
if it gets remotely close to that, you need to increase cooldowns or rewrite it
unless your bot is very big
then you can ask discord for increased limits
it does not 0.2 s as you said xD
?
you said it took 50 seconds to make 10 requests
so 5 seconds for 1 request
1 second for 0.2 requests
yes ,in this time, the max would be, 250 requests , or am I wrong?
๐คจ
wat
yes. I meant 0.2 request every second lol
250 req per 5 seconds?
thats the limit
that benchmark is really... not correct
mines do 1 request every 5s xD
lol sorry xD
i mean, you're not wrong
but discord measures it as 50 requests per second
not per 5 seconds, like they do in channels
so you cant do 250 requests in 2 seconds, then wait 3 like you can do in channels
let requests = 0;
const listener = () => {
requests++;
};
client.on("rest", listener);
setTimeout(() => {
client.removeListener("rest", listener);
console.log(`Average requests for 30 seconds: ${requests / 30}rps`);
}, 30000);
this is a valid benchmark, sending a message on every rest event will also fire the rest event, making your benchmark invalid
you can also measure for 10 seconds if you want accurate-er benchmarks
what are you even doing?
hi
will test it tomorrow thx
you
logs nothing out xD
well have you waited 30 seconds
yes 1 minute
the discussion begun here lol, then I wanted to see how many request I send to the gateway
well to the gateway -> not many because you send to the REST api not the gateway itself
works fine for me which means you fucked something up
lol
ye
if it works for someone else but not you then
you may aswell reinstall whatever framework your using to code said bot
guys help
i'm not that good on embed
i want make like this on photo someone help me
.addField('Member Name', ` ${user.user.tag}`, true)
.addField('Member ID', ` ${user.id}`, true)
.addField('Muted By', ` ${message.author.tag}`,true)
.addField('Reason', ` ${mutes}`, true)
you're at the mercy of discord
fortunately
you can fake that effect with a zero width space
.addField(content on the left)
.addField("\u200b", "\u200b", true)
.addField(content on the right)
same thing for the second row
emm
also
it's a member
not an member
imma eddit it
you misunderstood what i said
this line must be added for every row

this entire thing is one row
if you cant really understand simple instructions then just deak with it
please you're being more annoying than the person trying to ask for help
.-.
well you're struggling with basic shit too so you have no rights to talk lol
anyway, @earnest phoenix <#development message>
this same block of code needs to be applied on the first row
so you'll end up with 6 addFields
3 per row
it looks a bit funky on mobile but it's ok we know mobile discord is shit
it is, pretty much
compeletly agree after having to use it for 2 years straght
is he good now
what's your code
also please use the downloadable client why are using browser discord ๐๏ธ ๐ ๐๏ธ
Why do so many people disable text smoothing?
some people just like pain
celereon cpus 
Yeah for sure.
i was kidding but you'd be surprised how many people have pcs that weren't considered high end even for 2010 standards
too mzny sadly
feels bad that my "emergency" computer hardware for when a part fails in my system is better than some peoples normal pc 
its trash hardware most of it i got for free
You can get decent 2013-2015 hardware for free just from closing businesses these days. potentially newer if you get a good find.
true
Why is some of my events not emitting?
https://i.callumdev.pw/lokty.png
https://i.callumdev.pw/ak5hw.png
they are logged clearly through the handler so no reason why it wouldnt work
https://i.callumdev.pw/qps3k.png
1 never logs
have you enabled intents
and partials
nvm partials don't affect guild members
nevermind that nvm
they do
would it not just work for cached users?
I am
i'm trying to do an animeme command but everytime i run it i only got 2 memes, i got 2 memes on eveyr subreddit, help ?```js
const Discord = require("discord.js"); //Discord Client
const randomPuppy = require('random-puppy');//random-puppy API to fetch URL of random images from particulkar subreddit
module.exports = {
name: "animememe",
cooldown: 1,
aliases: ["animeme", "ameme", "animem"],
description: "Anime meme",
usage: "animememe",
run: async (bot, message, args) => {
//Fetching memes from /r/dankmemes subreddit
randomPuppy('goodanimemes')
.then(url => {
//Finding channel memes
message.delete().catch(O_o=>{});
const p = new Discord.MessageEmbed()
.setColor("GREEN")
.setTitle("**Anime Meme !**")
.setTimestamp()
.setImage(url)
.setFooter(bot.user.username.toUpperCase(), bot.user.displayAvatarURL({ dynamic: true }));
message.channel.send(p);
})
}
}
running multiple instances maybe?
on another note, this tilts me more than it should
can i change the thumbnail.url section without sending a message?
its an object, yeah, of course
can you give advice
i did, thx
ยฏ_(ใ)_/ยฏ
One message removed from a suspended account.
One message removed from a suspended account.
One message removed from a suspended account.
chicken strips
Anyone has been used i18n?
Ik, my question is... How to use it with mongodb?
how would you go about chances, say thereโs a 30% chance you loose 250 coins while thereโs a 70% chance that you get an amount from 30-80% of a users balance
for a rob command ^
Also you can't ask for help to translate stuff
Math.random() <= 0.3
For 30%
I don't want help for translate
Oh ho ho, you do want
Only want know if is possible
You don't know how huge is the job you're going into
Also doesnโt <= mean less than or equal to 30%
Huh
Because it has 30% chance of rolling a number lesser than 0.3
Man, I have all translated... Only want know if is possible use with mongodb or another db?
Or 70% of rolling higher
Ohh
Don't use dbs
Static files all the way
i18n doesn't really belong in dbs
Yap, but... I mean, I want create a setLang command
So?
You still don't need to store locales in db
Just get locale file by prefix
Like
locale_en.properties
locale_jp.properties
locale_sp.properties
Then u just get the file with the lang id
locale_${lang}.properties
Ik that... But, the db is for save the configuration of the servers (ID, language)
Do you already have a guildconfig document?
If the server set en save in the db ID, en
Yap
Now, I do recommend to cache the guild lang to reduce read ops
Okay, thanks for the recommendations
Np
anyone love HTML and wanna spruce up my bots page
just cus ur a nice person
and you like baked beans
It'd be css not html
You can just use F12 to edit the page to your liking
Then copy the css to long desc
I tried to animate my logo so it moved up and down
went to the other side of screen ๐
omfg yes like this
looks very nice
.entity-header__image{
border-radius: 20px;
animation: MoveUpDown 1s linear infinite;
position: absolute;
}
@keyframes MoveUpDown {
0%, 100% {
bottom: 0;
}
50% {
bottom: 100px;
}
}
lmfao
Damn your bot page looks very good
ty 
@keyframes floateeeeeeee {
0% {
box-shadow: 0 5px 15px 0 rgba(0, 0, 0, 0.6);
transform: translatey(0px);
}
50% {
box-shadow: 0 25px 15px 0 rgba(0, 0, 0, 0.2);
transform: translatey(-20px);
}
100% {
box-shadow: 0 5px 15px 0 rgba(0, 0, 0, 0.6);
transform: translatey(0px);
}
}
.entity-header__image {
-webkit-animation: floateeeeeeee 5s ease-in-out infinite;
}
Try that.
Wait that didn't copy right
There @severe pike obviously u can rename the floateeeeeeee part but i was just being dumb there
Ayyyyyyyy thanks bro ๐
https://gyazo.com/3c177556c1a281d0ec242e40fdaf6139
Legend!
๐
You are very talented
tbh the only thing I really know how to code is css and html
it's pretty ezpz to figure out
I hate web dev
college ruined it for me
make a website here is how to use notepad go do it
lmao
pretty much what they said
it do be like that sometimes.
I just used w3schools for everything ik. It's not the best but gets the job done
w3schools is amazing, helped me a ton oer the years
also got me through my web dev assignment ๐คฃ
that was 2 years ago now, i dont remember any of it..
welp u do gotta keep doin it for it to click
my top.gg page helped with that.
I do too much on my page
Yea you can really notice
Have you always had a nice page? Or is it only recently you have made it
Just waiting for the rewrite to go live so I have to remake it all again 
๐ฆ
I mean we've always tried to go extra with our pages, but with Kyoyu's help with this recent one its been been it's best.
Have you noticed a significant boost in growth? I assume you have. Probably a good idea to get something nicer on mine tbh but none of us are web devs xD
oh yeah thats definitively nice
Lucky.... How much does your daily growth increase when you are on that page for the day
I bet hundreds xD
thats not something i was aware was possible
specifc parts of it tho
I mean
Our growth is really weird at times, it just fluctuates everyday from low to high, super weird. Nothing ever consistent.
I'll give you a snippit
aight
.entity-table__cell {
background-color: #d78088 !important;
border-color: #d78088 !important;
border-radius: 10px !important;
color: white !important;
transition: .3s;
margin-bottom: 10px !important;
}
.entity-table__cell:nth-child(odd) {
margin-right: 10px !important;
}
.entity-table__cell:nth-child(even) {
margin-right: 10px !important;
text-align: center !important;
}
here's some
Its really strange how we can go from getting 20+ joins a day, and then one or two days we gain 2 ;/ doesn't really make much sense.
Well if you mean that part Erwin...
I just wrote that and Id'd the parts I wanted colored 
yeah the Icarus being colored is the bit that im confused
<p class="desc">
<strong id=icarus>Icarus</strong> is a Discord bot that brings new life to your Discord server, by introducing much-desired features geared towards making your life easier. Some of these features include, but are not limited to: Music, Playlists, Anime and more!
<br /><a href=https://trello.com/b/8tllxzVr/icarus-discord-bot target=_blank id=a>We have a Trello</a>, if you're interested in tracking our progress and want to see what we have planned for <strong id=icarus>Icarus</strong>.
<br />Below is a categorized list of all currently available commands in <strong id=icarus>Icarus</strong> along with their description.
<br />If you have any questions, you're welcome to <a href=https://discord.gg/yqZuTFn id=a>join our Discord Support Server</a> for assistance.
<br /><strong id=icarus>Icarus</strong> is a project supported by patrons through <a href=https://www.patreon.com/twilightgamez target=_blank id=linkpremium>Patreon</a>.
</p>
oops
strong huh
@craggy pine miyuuu
Kuuuuuu
How's it been?
seems like someone didnt make a permanent invite lul
Meh
Ill look into it
but ya I just have it so my <style></style> has id icarus colored to that pink
Only option would be to configure JDA internal handlers
so all instances are
thats one thing i saw but never figured out how to do
i mean, in fairness i just inspected a lot of it, its all accessible
I invited you to our "Team" temporarily.
Ah I suppose that would work too huh
i appreciate it though โค๏ธ
I mean if you want to consider it. We're always looking for an extra pair of eyes for optimizations and general help. Since we seem to get stuck in certain places we can't figure out.
its very small things i was confused about, like that color, most on my page is opted for transparency instead
also it seems you have the same issue as i do
Hm
@opal plank
Sure, although idk if I'll be of much help
As I said, I never dwelved into jda internals
Feel free to msg in the group chat yot you'd like to join
mine is the exact same
https://top.gg/bot/773585165317570610 try in mobile
so dwight can do the stuff to get you into the code
Oh well here's the hting with mobile.
It was fine b4 a sneaky random update since transition
How do you change the background of the page?
markdown tables break readilly easily
i was thinking of perhaps trying to get font based on screen res
dunno if that would fix it though
likely not
At this point...
I'm just going to wait for the roll on the changes
so I can just remake the entire thing
i cba with responsive top.gg
but ill do it once were done with the updates
if i wasnt so busy with work i wou've deployed a lot of the rewrite already
Hi
8au, paste ur top.gg in a html file or sum
backups
since ull never know when ull lose it
i keep a copy on my repo in case that ever happens
but remember google should keep a cached version every once a month or somtehing
time machine should have a lot of pages scrapped
Maybe its a good idea
brackets brings back memories
and it's in a .html file for access
reason why i have it in repo is cuz before i used to auto update the page
from node directly
but cookies dont last more than 3 days
so its kinda useless
was fun to do, however
Just made some fire
LMFAO
yeah nah
how do i edit it now
wtf

LMFAOOO
Smart
wtf
๐
did you not check the preview or tried it before deploying it?
i assume thats sarcasm lmao
the heck dude
i didnt know i could fetch this from non-vanity url's

console.log({res, req})```
speaking of vanities
i need to check if my support server can be partnered already
sankyu
ikr, it might be doable
need some retention aparently
but everything else is partner ready
even with 1.5m users, we get like 1 msg a day from users 
well in our support server obv and the bot has that many users
So
yeah i need to figure out a way to keep server retention
wdym?
uh oh
dunno if thats allowed in bot pages
I did something dumb
Erwin bout slap u
why??
thought u were bout to point out sum dumb
nah, but what you just sent gave me an idea
to add buttons and post requests with js using url's

you cant use js in top.gg
but your post voterole gave me that idea
to add an extra button in my page
i was thinking of using redirects though
but idk if it would foward the user id with it
Imagine js in bot pages
are form posts supposed to put the data in the header or body?
IP grabbers go brrr
you're allowed to put any links in there, usually people like to track where invites are coming from
so they attach a redirect to it
We totally do
Hm, interesting
though i wouldnt want to use vote for it
nor invite
but add an extra button in the page
as long as i can figure out a way to ship the id of the logged user, it should work
I'd use it to fetch my readme from github
why u even doing that?
https://cdn.discordapp.com/avatars/188836645670223872/24b8564dfcb2b0e4b7e2fb953c5b9454.png?size=2048
notice the size query at the end
i literally explained
https://cdn.discordapp.com/avatars/188836645670223872/24b8564dfcb2b0e4b7e2fb953c5b9454.png?size=128https://cdn.discordapp.com/avatars/188836645670223872/24b8564dfcb2b0e4b7e2fb953c5b9454.png?size=128
look, even smaller
https://cdn.discordapp.com/avatars/188836645670223872/24b8564dfcb2b0e4b7e2fb953c5b9454.png?size=32https://cdn.discordapp.com/avatars/188836645670223872/24b8564dfcb2b0e4b7e2fb953c5b9454.png?size=32
add the query param
dont resize the image
Yes, but I want to resize the gif to 200x500...
Because I am doing a command to resize an image or gif
prob best to take a look at their docs
is it promisifed?
try promisifying it
utils.promisify(gifResize)
or use .then()
Resizing gifs is one dangerous move
Ok
Yes (?)
again, read what i said
some old stuff dont support await
cuz it expects a callback
if you dont wanna bother, just use .then()
@earnest phoenix otherwise check this https://nodejs.org/dist/latest-v8.x/docs/api/util.html
Okk

he's back
oh is he? ๐
You're a foot then?
?
Maybe a knot?
foot fetish go brrr
Can you look at that html section again
I am not getting anything in the body
From the POST

i know what to do in this situation
rm -rf
we must call batman @\tim
@Tim#2373
fairly certain that used to ping people
like i said, html really not my forte
I dont think code blocks ever pinged people but I dont even know anymore

@Not Erwin#8753||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ|||||||||||| @opal plank @drifting shell
see?

im just trying to confuse you, its markdown abuse 
told ya there was a way
well, there you have it tho
before you edited
look in scr
@Extreme#1000
@Extreme#1000||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ|||||||||||| @blissful coral @drifting shell
@Extreme#1000
@Aurel#0001||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ||||โ|||||||||||| @rustic nova @drifting shell
ah i see, with that spoiler trick
yeah, its just markdown abuse 
you can tell because its thicker than normal
@rustic nova right click speak message
#development message @swift umbra
On my Github, and also on the most popular bot list my bot is on, I updated the readme to include images
Hopefully this helps me with getting people to use my bot
@opal plank i try this, and work xd:
const gifFrames = require('gif-frames'),
GIFEncoder = require('gifencoder')
const encoder = new GIFEncoder(numerito, segundonumerito);
encoder.setRepeat(0);
encoder.setDelay(55);
encoder.start();
let stream = encoder.createReadStream();
const Canvas = require('canvas'),
canvas = Canvas.createCanvas(numerito, segundonumerito),
ctx = canvas.getContext('2d');
await gifFrames({ url: att.proxyURL, frames: 'all' }).then(async (frameData) => {
for await (let frame of frameData) {
console.log(frame)
let image = await Canvas.loadImage(frame.getImage()._obj);
ctx.drawImage(image, 0, 0, numerito, segundonumerito)
encoder.addFrame(ctx)
}
encoder.finish();
});
let buffer = await require('util').promisify(toBuffer)(stream)
bufferEnd = buffer;
hello how i compare a role for use a specific command example:
if ctx.user.roles == "cod".lower():
await ctx.send("you can play to cod")`
``` sorry for my english
you can play cod
Would be proper if you're displaying that to users. I can't help you with your specific issue but figured I'd help with that atleast 
i don't understand
Nvm then :/
what language so people who can help will know
the language is python.
Your speaking language since you couldn't understand me b4
you welcome
yes i'm french
French Python users do your stuff 
When you ask for programming language they say "turkish"
When you ask for speaking language they say "python"
:KEKW:








