#development
1 messages ยท Page 320 of 1
pls
noo
๐ฌ
You just want to get a emoji from id? js let nekoe = await bot.emojis.get("342750455513874442"); msg.chanenl.send(nekoe.toString())
awaiting a .get 
mmm
yeah get is sync so you dont need to await it
The await was just part of my function I have a function that I keep 15-20 common emotes in
You only have to await things that usually return promises like edits and message sending etc
DiscordAPIError: Missing Permissions
``` but it never logs where the error is caused
your bot doesn't have permission to do what you're trying to do

Using my bot
Idk
is there any events for noPermissions in D.js?
check for required permissions before doing any action
...
^^
You can also run multiple Bots from the same script
^
Ie bot and userbot
wew
client.user.setPresence({ game: { name: 'test', type: 0 } });``` For anyone wondering how to set playing status with Discord.js now
hey guys, if i'm using
module.exports.test = function(a,b,c){
}
is there a way to use that test function again within it?
Why would you want to do that
so like let's say i have it checking a number
and i feed it 5 numbers
it does it, then checks if there's another one
inb4 use a loop
can't use loop in this situation ๐ฆ
figured it out
how bout we chill out
How would I go about getting ID's of users that voted for my bot?
If js there's something in #312614469819826177
Jacz' thing?
Nah, bit higher

same
Oh look I'm in development
indeed
wew that was a mistake
a good one
I was gonna post in general but
stupid discord channel switcher
mm
How do i get my token?
and you should get the token from here:
if ur talking about DBL; go to https://discordbots.org/api/docs/ and find the Authorization header
For people using Datadog, with shards, what method you use to send your server total count? Gauge?
Just get total value and gauge
-bots @wanton plover
@marsh condor
is there a way to get djs to use more then one core? It hits 100% on one code for a 32 core dedi then dies :/
shard it I think
@sinful jolt either sharding or maybe cluster mode on pm2. I've never tried it like that though.
Use webhooks
Please
If you broadcast eval logs then CPU is fucked
I checked the dump of my bot when I did broadcast logging and it was just spamming trying to find the channel
I actually have webhooks setup
Legit 70% cpu usage before I even added music. Now it's like 20% with music lmao
but like I have 32 cores you think it will be a issue useing broadcast eval?
I guess it would huh as 1 core per shard I'm guessing
\
Good memories
i played this since i was 3
has been shut down a year ago
or 2
It's much easier to use the built in d.js webhook as a separate file then require it @sinful jolt
Nahh because I use webhooks on disconnected
The built-in won't work if client is disconnected
That's how I know it's ded
It pings me in a webhook ๐
Yeah it will, web hook is separate client
@sinful jolt try to use ChakraCore
What's that
It think I read it has some sort of multithreading
It's a build of nodejs that uses ChakraCore instead of V8
Which is the backend for Microsoft Edge
But it's supposed to have multithreading built in
I will indeed check it out
@karmic parcel that looks hot ty โค๏ธ
lemme know if you try it and how it goes @sinful jolt
Sweet. It looks like all you have to do is rebuild node with this and then bam, done?
That's what I got outta it
I'm going to do it on vps without node Installed and see what happens
@karmic parcel have you used it?
You can hot swap with nvs
I used it a bit for a little
But I turned my VPS into an instance of GitLab
any major bugs, issues, features I should be aware of if I try it?
Uhh I was reading something about promises in their wiki, but I don't recall if there was any hitch about it
Actually it shouldn't be bad because I used it with my self bot on my tinkerboard
Did you test how the multi-thread performance was?
thats the biggest eye catcher for me
Naw, I don't have anything heavy enough to test it with lol
My boat is only on 1k servers
test with dank memer for memes
Lol
memes don't need more than one core lul
If you do end up testing it under a heavier load, lemme know! I'm curious myself
if it breaks you can blame memes
Will probably tonight @karmic parcel, I'm setting up a new image gen server so :P
Okee
I'd like to try it too but I don't have anything significant to test on
if (!bot.owners.includes(message.author.id) || !message.member.permissions.has("MANAGE_GUILD")) return;``` shouldn't this work for perms i want to be able to override like guild prefix
How about MANAGE_SERVER
Is anyone having issues with users in a voice channel updating the mute and def status on a server?
and uh, depending on when that if fires might be the issue
Crystal
@sinful jolt It's MANAGE_GUILD btw
you mean MANAGE_SERVER
message.guild.me.permissions.has('MANAGE_GUILD')```
false```
hmm
!bot.owners.includes(message.author.id) || !message.member.permissions.has("MANAGE_GUILD")
is the same as
!(bot.owners.includes(message.author.id) && message.member.permissions.has("MANAGE_GUILD"))
iirc
Why is this happening? ```js
Adding all variables
[Sat Aug 19 2017 14:07:35 GMT-0700 (US Mountain Standard Time)] - An Unhandled Rejection has occured!
events.js:238
throw new TypeError('"listener" argument must be a function');
^
TypeError: "listener" argument must be a function
at _addListener (events.js:238:11)
at process.addListener (events.js:298:10)
at Object.<anonymous> (C:\Users\USER\Documents\Discord\Boats\Mio-chan\src\Mio.js:79:9)
at Module._compile (module.js:569:30)
at Object.Module._extensions..js (module.js:580:10)
at Module.load (module.js:503:32)
at tryModuleLoad (module.js:466:12)
at Function.Module._load (module.js:458:3)
at Function.Module.runMain (module.js:605:10)
at startup (bootstrap_node.js:158:16)```
it says why... listener argument must be a function
show line 79
bot.on('error', (e) => {
console.error(`[${time}] - An error has been unexpected!\nError Logs > ${e.stack}`);
});
bot.on('warn', (e) => {
console.warn(`[${time}] - An warning for me is unexpected!\nError Logs > ${e.stack}`);
});
process.on('unhandledRejection', console.error(`[${time}] - An Unhandled Rejection has occured!`));
bot.login(config.keys.Discord);``` Line 79 = Process.on
the second argument for process.on must be a function
you are giving it the return value of console.error() which is undefined
process.on('unhandledRejection', () => console.error(`[${time}] - An Unhandled Rejection has occured!`));
@vital lark
Thanks
You are logging that there is an error but not giving any other details
nice debugging skills
nice no linter
can anyone help me with postgresql and js :c

hi im still learning discord.js so how do i add when was the user created field
i got the id part
so basically .addField("ID", message.author.id)
.addField("Created At", new Date(msg.author.createdAt).toUTCString())
@earnest phoenix
thanks
also msg is supposed to be message
not msg
to me it worked with message
lol
What are some cool Node.js & Websocket applications that I could put on https://passthemayo.space/ ? I currently have a chat and hastebin running.
d zone of course
You have a chat?
I'm going to keep testing and will let you know if anything changes, but as of right now, I'm finding that snekfetch is in fact not the fastest http lib for node.
https://docs.google.com/spreadsheets/d/1RF1kwulgrEsxN10lsIrV9TE2JcYR-j__D-8XvGTlG04/edit?usp=sharing
Sheet1
Test One, Using http:// httpbin. org/ get, object full of spicy stuff
1 Request, 10 Requests, 500 Requests, 1k Requests, 5k Requests, 10k Requests, 20k Requests, Total Average, Score
request-promise, 235. 06ms, 1. 2s| 1238. 49ms( 123. 85ms), 61s| 60949. 58ms( 121. 90ms), 2min| 122124....
https://www.npmjs.com/package/got
Got performs better in most cases
did you try chakracore?
ha no, passed the hell out. Have it installed, just need to set up the image server
i seen people in here using the old discord.js embed builder, this is now outdated and the new way is ALOT more effective and looks alot more sexy
message.channel.send({embed: {
}
});
for example
message/ping me if you wanna know more about this
Thats not d.js. That's raw discord.
msg.channel.createMessage({
embed: {
color: Memer.colors.lightblue,
thumbnail: { url: Memer.randomInArray(trumpers)},
description: `\n${msg.author.username}: ${question}\n\nTrump: ${answer}`
}
})
like this?
mk
those are raw embeds
the "new way" you talk of, is kinda the old way
same as my code
Hmm
same
looks better + works across libraries
most other people i ask use the .addField('', '') bullshit
which is ok
but looks like ๐ฉ
I prefer the builder myself tbh
๐ฆ
ยฏ_(ใ)_/ยฏ
and also it's part of d.js which is a memory hog
hehehe
i like how u got my old profile picture
have i? ๐
ye
haha
Shit I thought that was you lol @fiery goblet
really? lul
lol? ๐
lol that's how I always used them the builder never worked right for me
lol
https://gyazo.com/c618f7fce210a44c2d9b38ecbe663097 Okay what do I do here?
'cause im stuck
what lang is that? ๐ค
js
๐ค
@sinful jolt @karmic parcel I have two servers set up, one has chakracore and one has regular node
OwO
which is which?
wew
yup
chakra op
multithread op as fuck, node just got so much better for me
the hecks chakracore?
welp Guess I'll just go switch to that โค๏ธ

I never had a large enough load to test the multithreaded on

but I knew it was pretty nice from when I used it
Crystal, when you try it, can you let me know how it works for you as well?
Will do
how to make an array in sqlite?
@fiery goblet push json with array then parse maybe? There's probably an easier way lmao
{"array": [ 1, 2, 3 ]}
Then
JSON.parse(result).array[1] === 2
Anyone know how I could make a function that checks if the user is Upvoter or not?, that I can use anywhere without having to add like 20 extra lines
I got the functions down, but idk about the upvoter one since the only thing I can think of is snekfetch, but it closes it before its called. So its undefined when the function is actually called
Why the acutal fuck why u need a function 
There is one example in #312614469819826177
I store them in a list
oh really
that shouldnt be there...
why cant people understand
what the channel is for
sorry xD
@keen anvil were the results using chakra consistently better?
so far they have been
go to each channel's settings, and set the read messages permission to deny for the bot
sick thanks
t
I made a Proof of Concept for an OS that I'm about to do in Linux, just because
lol
rip
hmm
Made it better
Mmm can't wait for source release and ctrl f all the Vapor stuff and change to Mercy 
lol
mmmmmmmm
http://i.imgur.com/YdEgru0.png anyone know what this could mean? Didn't have it until we switched to a new host
Is that on a image upload?
Only time I got that was uploading images over the size limit
I get those when discord ws is acting strange and a resume fails
Why know python?
ol
henlo
henlo mr ronin
henlo henlo, you don't use GitLab, do you?
OwO, wanna test my service out then at some point?
Sure
is there a js equivalent to await asyncio.sleep()? Basically I need a function to wait a few seconds without blocking everything else
setTimeout works similarly
It just never executes at all
yep I'll mess it more when I get internet back at home Fucking Comcast :/
@sinful jolt try
setTimeout(function() {
console.log("This was run")
}, 1000);
Just to check that it is being run
if not right this
runTimeout()
function runTimeout() {
setTimeout(function() {
console.log("This was run")
}, 1000);
}
So I was starting up my bot, and it gives me both the error message and the success message when changing the server count on the website. My code is
``` snekfetch.post(https://discordbots.org/api/bots/${client.user.id}/stats)
.set('Authorization', config["dbotstoken"])
.send({ server_count: client.guilds.size })
.then(console.log('Updated dbots.org status.'))
.catch(e => console.warn('dbots.org down spam @fossil oxide'));
And it doesnt update the server count on the website
Use it in the guildCreate & guildDelete so the API won't die anymore 
.set('Authorization', config.keys.oliyBots) // My Config thingy
Config is a JSON file
{
"prefix": "<",
"api_keys": {
"Discord": "token",
"oliyBots": "token"
},
"devTag": "<tag>"
}``` Example of my config.json file
What do you have your config variable set to?
nice token thx
But the main question still is, how do I fix my issue
client.on('guildCreate', guild => {
snekfetch.post(`https://discordbots.org/api/bots/${client.user.id}/stats`)
.set('Authorization', config["dbotstoken"])
.send({ server_count: client.guilds.size })
.then(console.log('Updated dbots.org status.'))
.catch(e => console.warn('dbots.org down spam @fossil oxide'));
});
client.on('guildDelete', guild => {
snekfetch.post(`https://discordbots.org/api/bots/${client.user.id}/stats`)
.set('Authorization', config["dbotstoken"])
.send({ server_count: client.guilds.size })
.then(console.log('Updated dbots.org status.'))
.catch(e => console.warn('dbots.org down spam @fossil oxide'));
});```
Need error code
not verified bot
my bot? It is
that would be why
Im pretty sure my bot is
it is aswell
NodeJS, Effective way to store a persistant value? Anyone know?
is persistant changing or not, sorry dont know this word
It doesnt reset after reboot
Like I need to write and read
If you plan to make a ton concurrent read/write sqllite my not be up to par
This may work for you https://github.com/eslachance/djs-collection-persistent
ye but sqllite can be slow for something like prefixs
That saves it to a json db but it loads it into memory so it's rather fast
Isn't it better to load db into a Map on boot
and read prefixes from the map
and when changing, writing to db and map
SQLite saves the db to memory I think, I don't think it reads it every time
const sql = new Map(); 
GitLab webhooks powerd by dickswordapp.com 
nice
ikr
noice
I just have to uh do pipeline, wiki page, and one more event then it's finished for now
and it can be used by anyone
all you have to do is change discordapp to dickswordapp on the webhook in GitLab and then add /GitLab to the end
and it is https


you aren't using my service lol, how do you know it's easy?
how do i do multiple steps on await messages, should I do collector event over and over again?
@karmic parcel does your thing do datadog webhooks ?
I can add them after I'm finished with GitLab
they have webhook docs?
hmm, looking at it now. Seems like you can already create a custom payload
but if you don't have it open, I will support a custom endpoint as well
okeee, I'll add a /Custom part where you just feed me the embed
and I can post that
sound Gucci? I can actually to that like real quick probably, lemme see
@sinful jolt lemme know when you can test it
At work so a few hours from now
okee, I'm testing it now and a JSON message with the embed is working
so you can use the /Custom endpoint if you just wanna send the embed to my endpoint
and it'll handle all the rest
JSON Posted to the service with /Custom endpoint
webhook spit out
do provided by dickswordapp.com
yeah, I'm gonna once I get the actual site up
right now it's just a service
I don't feel like making a site rn lol
so can anybody use it?
yeah
do a tutorial on how to use it
I don't have the actual docs site up yet, but if you have a webhook, just change it to https://dickswordapp instead of discordapp
and then add /Custom
at the end to do what I just showed
You'll just need to send JSON as the body, and the JSON should be an embed object
what about GitLab?
oh, GitLab you just do /GitLab
would that be slack or an actual webhook
actual webhook
thought so
yeah,no funky shit
and how long u been working on this for then?
a day
I'm gonna finish up the last 3 events today
and GitLab and Custom will be fully supported and I'll keep the service up
what events work?
all but wiki pages, pipelines and build events
if you send an embed to the custom you could just send it directly to discord
Neko said they had problems with it
ยฏ_(ใ)_/ยฏ
I'm gonna finish up the events today to fully support GitLab by the end of today @fiery goblet
cool
so if you want me to let you know, I can?
sure whatever
okee
How can I get a json file, then get a part of it and turn it into a string? Like
"idk": 1,
"test": {
"test1": null,
"test2": null,
"test3": null
}
It would get everything inside of the "test" area and turn it into a string
@fiery goblet it's all up. It should be all set good, but there may be some changing of how the embed looks
if you end up using it, feedback would be nice, if not that's cool too
just change the first part of the URL to https://dickswordapp.com and add /GitLab at the end of the webhook URL as well in GitLab for GitLab
oki thanks, i test rn
Okeee
it says http request 400
for what event?
Push
Did you change to dickswordapp.com instead of discordapp.com?
ye
https://dickswordapp.com/api/webhooks/number/token/GitLab
mine is the exact
And that's what you put in the GitLab webkook spot, not Discord?
I'll test it 1 sec
ye
bad request
It's the icon urls
I use gravatar
So they were already urls
But the stock avatars aren't the same
Rip, I'll fix that when I get back to my computer
Would you guys mind testing after I fix that in a bit later?
same
400 bad request
I think it's cuz creating webhooks on ptb makes the link different or some shit like that
I didn't fix it yet lol
No, it's because the avatar url isn't valid because I didn't check for them not being gravatar
mmm
Because mine is a gravatar image
wait so if I created the webhook on ptb should I add that or remove it?
like ptb.dickswordapp
Remove the ptb
ye that's what I did
Yeah, so it won't work until I fix it when I get back to my pc
sad
Lol, it'll be in a bit. I'm at work
Ooo
I think it will take me longer than I thought, I still can not find the example code for the help command But at least add the command "Avatar" and repair the pin code, ยฟAnyone know where I can find an example for the help command?
Library?
mm
.js
@fiery goblet
let's ee
can you has tests pwease
k
OwO
discord.js
It worked @karmic parcel
change the footer to Dicksword
oo nice works
kek,I changed the footer
I'm leaving it up
So it should be on all the time afaik
you are free to use it if you want
if not, that's cool too. I'm using it for my personal projects
I'm gonna use it cuz it looks better than the normal webhook xd
I'm gonna throw a site in for documentation in the next few days, I only started working on it yesterday lol
if you have any issues with it, like it displays funky or doesn't look right, take a screenshot and lemme know what I should fix and I'll do it
if you want more services, lemme know
alright
My eyes hurt, of course it's because I have not stopped working in my bot for 3 days without sleep,And I will continue talking to myself?, discover it in my next life
copy, paste , duck tape, repeat
same
@sinful jolt The service is up now, if you have time we can see what's up with your webhook from datadog
Still at work for a few hours
ya idek working for me on diff Guild

Fixed ๐๐ผ

When I do the evaluate command sometimes(d.js) the output is over 2000 characters, how can I solve this>
most of us post it to some kinda of hastebin
might just have to use the REST
if you mean can't find any APIs you mean like NPM modules or whatever?
I mean npm packages
meh more overhead
Just use snekfetch
Also a fast Google just linked like 7 gist npms
@karmic parcel Im really dumb but Im not sure how to get just the url part of the output
or that if you are using js
@sinful jolt I'm looking at quick gist but its the same problem as @karmic parcel 's suggestion problem
hmm?
Scroll up
Is it a json response?
I think its an object
Console log it
Why
to see what the object looks like
It gives an example on the package page
wut
git gud
Google how to get a property from an object
object.name will get "name" from object "object"
why your bot shouldn't use ! as its prefix https://www.youtube.com/watch?v=8mbHnd6h_vg
Bot devs, please use a less common prefix, please. Discord Bot List: https://goo.gl/9frZSW My Bots: https://goo.gl/htsRpn Become a Moose! Subscribe: http://b...
@earnest phoenix stop pinning stuff like thatยจ
how do i do multiple steps MessageCollector?
Lolsorryk @bitter sundial
@fiery goblet I'm pretty sure a message collection array is part of the JS idiot's guide
@fiery goblet @tawny lava I'm making the services lowercase
so /gitlab instead of /GitLab
yee, gonna do it in a sec
I fixed up how issues and wiki page embeds look a little too
all changed now
and you can request https://dickswordapp.com/api/services for a list of services
how can I get a section of a json file and turn it into a string? Javascript btw
you can require the json file
and then use it like an object
or if you have the json file already loaded and want it as a string, JSON.stringify
what context are you doing this?
It'll send a message of that part of a json file
so did you already load in the json file?
I required it if thats what you mean
okay, so what part of the file do you want in a string then? you can do jsonfile.member to access things in it
it's like a regular object once you load it in
The json file looks like
{
"auserid": {
"someoptions": null
}
}
I want to send everything inside of "auserid"
jsonfile.auserid
is that automatically a string?
okay
And how would I make the path? Since I want to do jsonfile.message.author.id but that'll just look for that in the json file
oooooooo, you want to access it like that?
yeah
jsonfile[message.author.id]
and I can do that with the require right?
so you're getting message.author.id from your lib, and you want to access that portion of the jsonfile?
ye
uh, I haven't tried it, so idk
I don't think it'll work like that
you can just require it
then access the info like that
okay
@karmic parcel HawkBot API when 

Why does it need an API?
YumiBot API 
how do I make my bot say hi? 
what lang / lib
by dieing
lol
the lib is discord.batch
he's joking
obviously
here
discord.exe
@echo off
set message="Hi"
start "discord.bat.exe" --send message
there
thats easier
actually
I have an idea, what if I made discord.batch 
discord.dll
What would be a good way for the bot to clear its own messages? I cant figure it out.
Library: d.js
fetchMessages using a filter to check if the author's id == bot's id then bulkdelete the array of messages you get from the promise
@delicate zephyr
no problem
:3
help
isnt message already defined
in discord.js
i even did var sender = message.author; but that didnt owkr
work*
did
no u didnt
ยฏ_(ใ)_/ยฏ
I dont do WS so I dont knw
how do you not use a websocket?
I don't use a websocket
websockets are u used by discord.js

u don't need them in ur part of code but discord.js's part of code does
๐
I just put up the docs page and finished the home page for dicksword

@fiery goblet You wanna let me know what you think?
wew
that's actually neat
:3
I like the docs button, how it turns invisible when I hover @karmic parcel
eh
sometimes
and nice logo
turns invisible 
hmm, it did that the first time I loaded the page
hmm
I'll see if I can figure that out
oh and I did this just now
good job
I'm proud
hot
yeah
hot
lick me all over
same
yis
#265156361791209475 or #general please
we're talking about his development :/
https://github.com/Rxswyers/java-Intro since when
java is eww :;/
it's very nice tbh
The docs site is legible?
it has a table of contents on the right for tablets and desktop, just not mobile
<@&264889767072628742> Wat are the said requirements to get a lib on the site instead of other?
(for future refrence)
:/
There from the Discord API doe
So, I have opusscript installed but i want to use what is recommended by the docs node-opus but it wont let me, I keep getting this error:
https://pastebin.com/Zm3xCazy
which OS?
Debian
I'm using Ubuntu 
@delicate zephyr sudo apt-get install build-essential
Then try after installing that
what are the parts of an embed in JSON OwO
Everything on the discord docs was changed, so it no longer documents embed structure @earnest phoenix
@vital lark
right ping
wat
for me, it's called Embed Limits and it says the char limit for embeds @earnest phoenix
no embed structure
oh
I see
yeet yeet
the docs
o
yeah, a bunch of stuff added
and some stuff changed 
I hope izy can keep d.io updated

@earnest phoenix You are a fucking legend, I googled for feckin hours trying to find that
it was the first result lol
@karmic parcel @keen anvil I'm going to move chakracore later today I'll let you guys know how it works. Neko is slow af and uses 100% of a core after a few minutes of being booted
Yey, lemme knooow!
lol
i've played a bit with chakracore, and then i discovered that @google-cloud package has some issues with it
grpc seems to go bananas if i compile it using chakracore instead of V8
what version were you using?
8.4.0
hmm
everything else runs great tho. I even manage to build SASS with chakra
it is just google cloud API that crashes without any error message, I was too lazy to investigade so i just switched back to V8 instead
lol, fair enough
Melmsie tried with an image server and he said it was great
Uh, can you do custom metrics for datadog?
Ye you can
I'm setting up datadog for Dickswordโข
I can just increment it and it'll be gucci? like the data will be saved?
So I don't need to actually keep count in my server?
nahh
okeee, gud
Unless you want it for history or some s***
Pass the 24hrs that is
Or whatever time frame
naw, I may just check it on occasion to see how heavily it's getting used
you ever figure out that webhook from datadog?
Going to use it for event/alarms ie when a core is stuck at 100% for 5 mins
oiii, naisu
How can I make my bot send a random picture ?
node.js
what's the api
somelistofurls.random()
should i post al of my code here or only the part that needs work
or just a link to a github page
Start with the part that there is an issue with
or GitHub link works fine too
Right now the code works but a carton portion does not work the way I want it to work. The part the doesn't work is changing a voice channels name by typing in !party name (text).
It will change the name but it will not get ride of the previous name that was set
I want to have
Party 1 (text) but instead it does party 1 text text
@karmic parcel GitHub with Dicksword?
Discord already supports it, so you don't need me as a middle man for that bby
if you want to have some fun or practice with APIs: https://www.reddit.com/r/webdev/comments/3wrswc/what_are_some_fun_apis_to_play_with/
Been looking around for some API's to fiddle with. Came across the following: - Amazon Big Data -...
u pin odd things
thats dev related
maybe they would be read if weren't all random 
DiscordAPIError: Unknown Message
that is spammed all over my logs
and that's when my VPS overloaded and started responding super slowly
are you trying to edit a deleted message?
I'm guessing fetching a message and doing stuff without when it doesn't exist does the same thing
@opaque bison you're trying to manipulate a message, but your message cache is too low or disable
d
I don't have any command that does that
You could also be trying to delete/edit/get a message that no longer exists
There is really no command which does that in a loop
If the promise returns an error, It'll just stop
that means you are not handling the promise rejection
i have recently install node-opus and when ever i try to use the play command i get this error (node:7720) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error: spawn EACCES i have tried running the bot as sudo and still same error, would anyone be able to help me out?
what lib?
prob d.js, it uses node-opus @karmic parcel
@karmic parcel I found a new webhook to add to dicksword
signing up for it now to test, when I signed in with Google it said that there was an error and couldn't sign into Twitter 
is that all they fucking have for webhook documentation? lmao
@weary shoal are you actively doing stuff that would make the webhook go off?
if you are, lemme make an endpoint and see what the webhook payloads look like
Sure, all you have to do is commit to a repo and wait for it to check the commit, I think I'm done tho but send me the endpoint
okee, lemme add it quick
Have you used any of the others?
I guess I can update the site too
@weary shoal https://dickswordapp.com/
it's on the site to gen the link
it's just /codacy at the end of the dickswordapp replacing discordapp
Ayy @karmic parcel
OwO
So i do the command %play <youtube url> and it connects fine but it errors when trying to play the song
ive tried using sudo
try dabbing on it?
@tawny lava those commits
I'm like figuring out the codacy stuff, and I'm just getting messages from all the payloads sent
cuz I'm trying to see what the payload looks like for codacy
hmm
I'm not keeping them, I'm just looking at the codacy payloads and then I saw that there were commits by lizard lol
I don't read them
I was just looking for Codacy stuff
๐ญ
mhm
that's what they all say :|
my eslint went down for some reason so I missed alot of stuff 
and i have a question can somewane make a bot wen a player joins a voice channel that he say user join your channel and user leavt your channel
like teamspeak
@weary shoal
it's up

I'm gonna update the docs real quick, then test it with my codacy project
it's p wew
wew
weeeeew
Weeeeew
dood, my magic to do that was wew
let link = this.body.attachments[0].title_link;
let slimmedTitle = this.body.text.replace(link, '');
let commit = slimmedTitle.match(/<\|[0-9a-z]+>/g)[0].replace(/[<>|]/g, '');
let markdownCommit = `[${commit}](${link})`;
let title = slimmedTitle.replace(/<\|[0-9a-z]+>/g, markdownCommit);
Beautiful coding
that's just for the codacity title
let markdownCommit = `โฏ [${commit}](${link})`;``` is better
what are you even saying rn
it's fine
lol
that was just for the git commit hash masked link
He likes that symbol :3
lol
its a unicode symbol
@karmic parcel new twich webhooks for your thingy https://blog.twitch.tv/the-new-twitch-api-be3fb2b078e6
Is it out yet tho?
Idk
Hey guys, if it's okay with you guys, can you tell me how you do your Level Ups (XP) system? I figured out giving away XPs but now I need to do Level Ups, I can't think of a good way of doing it though.
Well it's about development so
The traditional if else statements doesn't seem right for this.
What do you mean by that
?
that's right
Ohh I see


@opaque bison heard of anidiotsguide?
Switch or if and else, it's gonna do the same god damn thing lol, I was giving an example @surreal peak
some langs switch is faster
Yes but I never bothered to read everything in it @fiery goblet, Only read it when I was starting out and then I learnt how to read docs xD
and i have a question can somewane make a bot wen a player joins a voice channel that he say user join your channel and user leavt your channel
like teamspeak
i realy need that
tatsumaki can do that iirc
just set it up to log voice chat leaves/joins to a certain text channel
thats not what he wants
@earnest phoenix Can easily be made.
You'd need the audio files and the bot to be in that voice channel.
Can u make that ? @copper heath
@earnest phoenix Yeah,
oh whoops, misunderstood your question sorry D:
@copper heath ? Can u make it for me? (Not only me)
Okay.

lol
.
!!!play louis louis



