#development
1 messages ยท Page 374 of 1
Any errors?
send the code ill try on me bot
'test': (msg) => {
msg.channel.send({embed: {
color: 3447003,
description: "A very simple Embed!"
}});
that code works on my bot
same
how do you get eval?
i cant open chrome and discord at the same time
Don't think you can be doing 'test': (msg) => { }
one of them crashes
which is why you get the syntax error
well '': (msg) => { works on all of my bots
You sure you did the command handler correctly?
doesnt it say what line that unexcpected token is on
^
im just not gonna
can someone fix my music
it wont connect to the vc and it says there was a error gettings the song everytime
no
lol
Hey, how do I make an Mute/Unmute Command?
(I start with if(command === ${prefix}command) {
i googled but didnt find a good thing
i feel like a total noob and i feel very discouraged of being here.. and I should know how to code.. I didnt know who to turn to..
Sorry but we have to follow the rules... 7. a. Donโt spoon-feed or attack beginners.
wow.
What do you need help with either way? What lib and what lang?
-eval message.channel.send({embed: {
color: 3447003,
description: "A very simple Embed!"
}});
@real ibex
oh
well i need a bot for my group that stores info. Like someones arrival date and their role.
Have you started coding anything yet?
No I have not.
I wanted to see if there was a bot already made and i could just modify it
like i know theres bots that can store info. I was on a Animal crossing discord.. it was very organized :x
wdym?
like on the bot you can put your Friendcode, the town name, the town fruit
Animal crossing is a game Jonas ๐คฆ๐ฝโโ๏ธ
Thanks @south finch ๐

I can't find any bot with those functionalities :/
That completely depends on what language you pick, if you know that language, if there's an api for what you want to do.
yeah ๐
Can someone give me an example of UpdateMessages in js?
Discord.js
k
I do not understand something what you say xD
@haughty onyx as complicated as you want it to be lol
LOL
Does any one have good resources for just starting out on making a discord bot; the language I am learning to use right now is java. Thanks!
what library do you plan on learning
I don't know, any suggestions?
ok thank you.
So i found the bot that i need but how do i get the coding???
- If you are planning to submit this bot, don't take other bot code, 2. If you are looking for the same thing that you got from the animal crossing bot, you most likely need a database 3. You don't get the coding. If it's not open source, it's not.
(you may not need a database but storing info like that usually requires it)
@haughty onyx I would recommend that you learn a language, then make a bot from scratch
Python was the first launguage I can say i learned fully, it did it by going to http://www.learnpythonthehardway.org
It's pretty good because ti doesn't assume you know anything and guides you through. I really like that it even encoursages typing out everything instead of just copy/pasting because it helps you make your own connections and you actually learn faster.
The "Free Sample" for learn Python 2 the hard way is actually the entire book just without pdfs or videos, and you can read it as it's just webpages with the information lined up with excersizes.
You have to want to make a bot. Personally, I really wanted to make a music bot, so I dived head first into docs, and googled everything I needed to know and use it this day 
Granted, my bots were like spaghetti, but I succeeded.
Once you start looking at everything as a problem and find generalized ways to solve them, your bot will be and look sexy
need a little help with something. I just added shards and I am trying to add my server count in my bots status.. this code is in my ready event:
client.shard.broadcastEval('this.guilds.size').then(results => {
client.user.setActivity(`lmao help | ${results.reduce((prev, val) => prev + val, 0)} servers`);
})```
It just shows the guilds in 1 shard instead of the total, but I use the same code to update my discordbots.org server count, and that works.. am I doing something wrong?
I was curious what reduce does
I got it from here: https://discordjs.guide/#/sharding/
A guide made by the community of discord.js for its users.
anyone know how to suppress this
protocol: <asyncio.sslproto.SSLProtocol object at 0x7f3181a294a8>
transport: <_SelectorSocketTransport fd=8>
Traceback (most recent call last):
File "/usr/lib/python3.6/asyncio/selector_events.py", line 761, in write
n = self._sock.send(data)
OSError: [Errno 9] Bad file descriptor
Fatal error on SSL transport
protocol: <asyncio.sslproto.SSLProtocol object at 0x7f3181a294a8>
transport: <_SelectorSocketTransport closing fd=8>
Traceback (most recent call last):
File "/usr/lib/python3.6/asyncio/selector_events.py", line 761, in write
n = self._sock.send(data)
OSError: [Errno 9] Bad file descriptor
@tame rivet seems to be that Pyyhon 3.4.3 and python 3.5.0 both have that issue.
asyncio is supposed to be telling you the connection was lost so that you dont get that error
@tame rivet websockets right?
try calling
yield from asyncio.sleep(0)
after the send call
or
return```
before the send call
im awaiting it ๐ค
async def update_stats(self):
"""This function runs every 30 minutes to automatically update your server count"""
while True:
logger.info('attempting to post server count')
try:
# replace shard_id with your current shard for the bot
await self.dblpy.post_server_count()
logger.info('posted server count ({})'.format(len(self.bot.guilds)))
except Exception as e:
logger.exception(
'Failed to post server count\n{}: {}'.format(type(e).__name__, e))
await asyncio.sleep(1800)
i run this as a client loop
but every time i close it gives the error
You can probably put
if websocket.writer.transport._conn_lost:
return
in post_server_count
just before the send call
good idea
Let me know if it works ๐ฎ
no it doesnt
fk
AttributeError: module 'websocket' has no attribute 'writer'
the error happens when loop is shut
idk why
as in ctrl c
hmmmm can I see yourt post_server_count mayber? or would you rather pm?
without the updated docstrings, but its here https://github.com/DiscordBotList/DBL-Python-Library/blob/master/dbl/http.py#L105
DBL-Python-Library - A simple API wrapper for discordbots.org written in Python
oh do you use Select?
no?
I am experiementing a bit now
I was making assumptions but now I can see haha, bare with me
it might take some time
This doesen't seem to work...
Code:
db.get(`SELECT * FROM all WHERE ID = '${message.guild.id}'`, function(err, row) {
if (!row) {
db.run(`INSERT INTO all(ID) VALUES(?)`, [message.guild.id], function(err) {
console.log(`A row has been inserted with rowid ${this.lastID}`)
message.channel.send('lul')
});
}
message.channel.send(row.laungage)
});```
Console Output:
```TypeError: Cannot read property 'laungage' of undefined```
SQLite Studio Columns:
https://my-bot.dabs-on.me/DDDuycQfb.png
halp
@still cave seems like an asyncio bug?
Yeah, i was thinking you were working directly with it but you arent
ยฏ_(ใ)_/ยฏ
Anyone knows how to directly manage and update PostgresSQL databases in Access? Currently the contents displayed are read-only.
i'll try and suppress it
Yeah, basically when asyncio loses a connection, its never telling you, so next message is sending because it thinks its still connected, and fails because it isnt
not failing tho
its cause the loop is closing on keyboardinterrupt
but ye
same thing
Hmmmm
Ah there is a way to force it to clear the remaining asynchronous operations.... there just has to be ๐ฆ
wait_until_complete() ?
@lethal sun you may be doing if (!row) and creating a new entry on that, but row's value hasn't changed
you need to reassign a new value to row because it's still undefined from when you first did db.get
But yeah when you keyboard exit, the operation is still running asynchronously and the socket closed before the operation either started or completed.
It might work I have never actually intercept exiting that way before though
But at the time the asynchronous operation was started the connection was open and it just assumes it will be once it starts operating.... one sec
how to code eval command
discord.js
CSS
@earnest phoenix
<!-- ^ Replace this by your color -->
<p>Your description.</p>
</body>
Use it in the bot's description.
OK thanks ^^ @leaden bane
You're welcome.
Hello, can someone help me with my JDA bot?
just ask the question, don't ask to ask
what's your code?
JDA
oh Sorry
you're probably missing a superclass declaration/have a wrong method signature
This is the code from the Tutorial
ohhhhhhh
XD spelling is annoying, it always gets me
In Eris, is there any other way to get user other than through getRESTUser/looping through all guilds + their members?
ok im blind
its the same as for guild members tho, some users won't be cached and therefore won't be in the collection
Then I guess I'll have touse getRESTUser?
yeah as far as i know, if the user is not cached and don't share a server with your bot, you're gonna need to enable REST requests and use getRESTUser
Hello I have a Another Question. How Can I set the Game of the bot?
if they do share a server tho, you would just need to fetch all the members
Alright, thanks
guys, i got a quick question. How do i prevent message reactions to dissapear using discord.js ? I am using reaction.remove() to cancel the reaction but if i click once more on the reaction it dissapears completely
download discord module
is missing
no module named discord
probably use import discord.py?
instead of import discord
@sweet portal import discord should import discord.py
what is that discord package you have installed?
ye
uninstall discord
pip3 uninstall discord
how did you install discord.py?
nonono
yes
read this
omg why in the hell is phpstorms ftp so slooooooow
well happy to help @sweet portal and the other ones who actually said the same thing but you did not understand
@vernal yoke import discord.py doesnt work
is it possible in any way to render an emoji inside these as using discord type emoji shows it as string from but sedning it as raw emoji shows it as its unrendered form
:flag_au:
๐ฆ๐บ
but if you send eithr of those you render a flag
Can someone help me activate my bot?
What lib?
?
library
Other


That's not very helpful
thats good
Jon
What language
๐
what?
that
Not yet...
which one
so you're asking how to start coding basically
have you decided on a coding language?
good beginner languages are python and js
^
Python
what's the best way to host a javascript bot
a vps imo
what do i dooo
@idle torrent do you have node.js
well he has discord.js so I'd assume so
^
what do you think it'll do
node {name of bot}.js
thats what i meant
yes i have node.js
but
what do i do
okay so go to the where you keep your bot
what do you mean
Again, not the issue
what''s the issue then
Cmon please guys. Im getting pretty stressed
instructions told me to
Download or clone this repo's files.
cd into the Referobot directory.
Run npm install to install dependencies.
Run npm run build to build.
Add your bot token to your_auth.json.
Rename your_auth.json to auth.json.
Run node lib/referobot.js.
ehhhhhhhh
node build
what
I litterally gave you the answer
But there's no riddle...
i dont do npm build then?
No
then what do i do
Do what I told you instead
he said do node build correct?
programming will tear you apart
^
try node build I believe he's saying
no ๐คฆ
lol finally someone who knows what theyre doing
๐ค

@idle torrent node file.js
In this case file = build
how do you know that
error cannot find module
I don't think he's trying to run his project
He told me before
Scroll up a bit
where, I don't see it ๐ค
11:38
then what
then retry running the file
error cannot find module
do you have all the modules you need to run the bot
Download or clone this repo's files.
cd into the Referobot directory.
Run npm install to install dependencies.
Run npm run build to build.
Add your bot token to your_auth.json.
Rename your_auth.json to auth.json.
Run node lib/referobot.js.
these are what im trying to do!!!!!!
what are modules
i have downloaded all the files, yes
@uncut slate
where do I put the programming for the bots
what errors?
?
I just posted pics twice
i'm trying to figure out I put coding.
well those werent really helpful
What do i do for step 1?
okay then what
Yes i get errors. What do i do for step 2 for these instrustionc
cd into the Referobot directory.
what does this mean
can someone tell me if these would work?
fuck.
go to save as and then click other and remove .txt and add .py instead
dms?
direct messages
I didn't add the .txt part.
then delete it
it's the normal thing when you create a txt file
@earnest phoenix I would delete the message with the file too because they may find your token
by the way I downloaded it and you didnt put your token in anyways
yup
If my bot has a eeb portal, does the soruce code to the web portal have to be open sourced also? Does the bitnhave to be open sourced at all?
you don't need to make anything open sourced
Yay
presumably there's no file called "build.js"
I still can't find anything about you saying your index file is build.js
i never said that
@quiet bobcat ???
can i dm you
@idle torrent you didnt have too lmao
@idle torrent not really
thats what your error says lol
Well went on it's github, and it doesn't even have a js file
either he you dont have the files or its in the wrong directory
or hm
Nobody knows!
then why are u asking lol
exactly what im doing
are u trying to submit a clone 
calls PEBCAK
Im trying to make a freaking bot
no need to curse
pay somebody to make a bot for you
?
code it yourself kek 
guyssssss i thought you would be able to atleast help a little
also idk i dont clone @idle torrent
@idle torrent are you even familiar with javascript
i dont know the library but yes
maybe you should learn discord.js first by making your own bot, this website has plenty of examples.
https://discord.js.org/#/
i think he was talking about the library that the repo was using
What
Why has no one released an invite bot on bot.discord
Theres so many out there
because bots cant invite bots
Which one
since when
๐
i guess
thats not august thats kaniel 
Anyone know how to send a DM to a user ID in Eris?
Sorry I havent been here long i dont know their names
Does it have top 10 inviters @hushed oyster
I believe it has a leaderboard of inviters
@patent reef client.getDMChannel(id) gets you the channel to send it to
thx
const direct = bot.getDMChannel(persons id);
bot.createMessage(direct, "my msg here");```
???
await
right eris's dms integration is so painful
but yeah basically
User.getDMChannel().then(channel => {
channel.createMessage("baguette tbh");
});```
or await it
and follow whatever code style you like
ยฏ_(ใ)_/ยฏ
isnt await only for python?
await has been implemented in node.js since node 8.x.x
lol this is my first day using JS
same with py
then it shouldn't be much of an issue to understand it 
where does the ID go?
the ID?
the ID of the person i want to DM
probably right here:
you don't need it if you have the user
const direct = bot.getDMChannel({id});
wait ok i think you're a bit lost cuz the docs are misleading
there is multiple ways to do that
Heres what I had
basically cuz abal is a scrub, you can use pretty much all methods from the client class because he implemented them all in
const devdm = bot.getDMChannel("162780049869635584");
bot.createMessage(devdm, "Hi");```
i put my ID in just for testing
sooo
never worked
if you want to use it from the client class
it would be like that outside an async function: ```js
bot.getDMChannel("162780049869635584")
.then(channel => {
channel.createMessage("Hi");
});
or bot.createMessage(channel.id, "Hi"); but that's longer isn't it
smh im probably confusing you with all that shit
i'll just shut up
world's best admin is world's worst pythoner
anyone know how to fix this problem with npm
whenever trying to install modules from github it just hangs and does nothing
how long did you wait for?
usually takes some time for me, about 140s to install d.js
its pretty bad
like 10 minutes
yeah i use yarn wherever possible
@austere meadow yarn is fucking amazing
fuck npm
it installing that git module in like 2 mins
Is there an API limit for getMembers or is it just global (or does the global even apply? )
would you guys have any idea on how to play a local file using lavalinik?
I just changed my Raspberry Pi's IP to be static and now my bot is down. Any idea why/how to fix this?
pm2 says "errored"
the logs inform me that the bot loaded all of its commands, connected to the MySQL database but then suddently no more logs are to be seen
it was supposed to say "Posted to dbl." then continue to run
nevermind. I just deleted the pm2 entry of my bot and added it back
anyone know mongoose schema's?
if yes, is it
whitelist: [Array]
or
whitelist: Array
it works now. strange
hAI
@languid dragon Array
but you can do like [OtherSchema] to make an array of objects with that schema
or
[String] for an array of strings and shit
[Array] would be an Array of Arrays
with just Array you could put anything in them but yes
Does anyone know a good anti-spam bot?
wrong channel
@bitter pagoda just set a cooldown
How do u even make a bot?
What
Google it
Which website do I go to?
just search "how to make a bot"
and choose something random
ok
@worldly cliff there's a bit builder I made have a look at https://cheweybot.gq you can use it without the need to know code as well
Anyone know how to send a message to a specific channel ID in eris?
bot.createMessage("channel id", "content");```
that didnt work ^
then you're doing something wrong, that's the proper way to do it
when you think you've added ratelimit implementation but then you just haven't cause it doesnt save over restart
Hi
a lib shouldn't really save data
unless specifically configured to do so
or at least give the user a way to configure how to save data
@shy rose thanks
@inner jewel what i meant was cache the ratelimit quota remaining over restart
again, don't do that automatically
bot has no quota left but doesnt realise so hits 429 and is blocked for an hour
Hi guys
how do u code a bot
i know my name is thecoder but i donโt know everything
do you know how to code
Some
what coding language
Swift, Python, and HTML
@patent reef you're doing something seriously fucked up then ๐คท https://abal.moe/Eris/docs/Client#function-createMessage
Eris, a NodeJS Discord library
Why do people cuss
ok for python you can try the discord.py library
Is there a way to use the guildBanAdd event with user and async message? Using discord.js
@trim plinth thanks for everything though
yw
@worldly cliff because why not
what
can you help me whenever I try to run my bot I get this:
app@goomba:~ 20:29
$ node mybot.js
\`\`\`Error: EIO: i/o error, read
at Object.fs.readSync (fs.js:675:18)
at tryReadSync (fs.js:540:20)
at Object.fs.readFileSync (fs.js:575:19)
at Object.Module._extensions..js (module.js:653:20)
at Module.load (module.js:556:32)
at tryModuleLoad (module.js:499:12)
at Function.Module._load (module.js:491:3)
at Module.require (module.js:587:17)
at require (internal/module.js:11:18)
at Object.<anonymous> (/app/node_modules/jsdom/lib/jsdom.js:8:19)\`\`\`
What do you code in? Like, what enviornment?
That's where you code?
yes
Does it tell you the errors and what it requires to fix them?
it only tell me that ^
@limpid basalt Probably has, but glitch.com can run your bot 24/7 and allows you to code in it
I don't have a VPS so I can't use it
Oh okay
I use VSCode
And then pm2 to run my bots 24/7
But pm2 is being stupid
SO I'm using nodemon for a temporary online status for the bot
wait, does pm2 run if the pc is off?
no
no sadly
It won't run if the terminal is closed either
That's why I always keep my PC charged and awake while the lid is closed
oh ok
So question like i know this wouldn't be official or any guarantee but would anyone be able to take a look @bitter comet and see if its worth going for certification cause last time i did it was really new and only out for a week but since then huge changes been done
I'll look at it for you @shy rose
how do I pipe sudo find / | grep gitlab to rm -rf
I've been grinding this all day. I'm working with komada and trying to make an upvote inhibitor. using the api in code i can't get true/false, yet in eval i can.
@earnest phoenix xargs
k
lol
find / | sudo xargs rm -rf
A way to catch a rejected promise for setActivity in discord.js? I tried using catch(e) but that ended up returning an error 
gives python advice to javascript dev
Code: ```js
const { version } = require('../../../node_modules/eris/package.json');
const Command = require('../../structures/Command');
module.exports = class About extends Command {
constructor(client) {
super(client, {
name: 'about',
desc: 'About me? Duh!',
usage: 'about',
aliases: ['info'],
category: 'Core'
});
}
async run(msg, args) {
const { client } = this;
const config = client.config;
return msg.channel.createMessage({ embed: {
title: 'About Yui Hirasawa',
description: `:wave: - I am Yui Hirasawa, you discord bot for weebs!\nI am made by @vital lark`,
color: config.settings.colour,
footer: {
text: config.settings.footer
}
}});
}
}```
error:
[2018-02-18 17:53:43] [ERROR]: An error has occured while processing about.js: ReferenceError: aliaes is not defined````
aliaes?
yes

it's telling me that even tho it's not even in the context
save the file and run again
blame the eris devs

while(true) { banNatan(); }
maybe they spelled aliases wrong
nope
py >>>>>> js
^^^
ok no need to start a war in #development , we just need to see why augusts code is throwing an error
:q all of you!!!!!
:x!
hmmm

no
I added .stack to see what's wrong
mk
do a global search for aliaes
SMH not even loading
just wait for it to load and hope that you find an instance of "aliaes" to fix
yes no errors
๐
@earnest phoenix task manager 
I just dual booted and whenever I leave my PC alone booted on windows it switches to ubuntu
Idk why
Any help
Like im booted into windows
Using Windows all fine
Leave for a while, then see my PC in u until login screen
*Ubuntu
blue screen?
No
what could your question possibly be
no need to be snarky
How do you log into your bot?
You code you bot
logging into your bot is API abuse
Oh.
Unless you want to get banned
:^)
ok so like the way your bot works is
you run a fancy program on a computer somewhere
and that program interacts with discord like a sort of "fake user" that does stuff automatically based on the state of discord
you have to write that program, of course
^ this is an analogy, do not take it literally
@real bear if you are asking how to login your bot (NOT login as your bot), you run your code then your bot should become online
yw
@earnest phoenix Thanks for feedback really helps (and taking the time to do so) ๐
Np
how would I get how many guilds are in each shard? Like what is the easiest way of doing this? btw I have Internal Sharding enabled for my bot, discord.js.
Some libraries have a shard manager variable that you can use to get guild count or you can loop through each shard and add the guild total
i have a shard manager but I can only get the shard that the message was sent from
So i think, in discord.py editing, mentioning can be done as @test#1234 right?
what editing?
IDLE.
lets take Visual Studio Code
*visual
if i remember correctly, a mention in discord.py can be done with @apollo11#1969
right?
huh what command mention 
they use @wicked brook [message]
<@ID>...?
got it
@muted oxide so you want to have a mention as a prefix? or am I wrong
oh ic what you're getting at
you could use a on_message event
yes
are there need for permissions to send embeds, or that comes under "Send Messages"?
bot was working fine, and stopped working in this one perticular server out of a sudden
@gritty ice
if disabled, users will see a blank message
or well no, server-side it will just not allow you to send it iirc
but until now it was working fine with "Send Message" permission
even in this server it just has send message persmission, but it's working fine, let me show you in #265156322012561408
I am getting these in the logs
discord.errors.Forbidden: FORBIDDEN (status code: 403): Missing Permissions
The above exception was the direct cause of the following exception:
discord.ext.commands.errors.CommandInvokeError: Command raised an exception: Forbidden: FORBIDDEN (status code: 403): Missing Permissions
What to make of it?
now yeah well, you need to check if your bot has all the needed permissions, and is not restriced channel-wide or smth
okay, I checked, my bot has permissions to send text, but not embeds in that server
it was able to send normal text messages
this gives me an idea, I should write try catch, and in case bot doesn't have permission to send embeds, it should say so, how's that idea?
[FIXED] you were right, it was a channel wide issue
permissions issues 
Hello, I am asking for some help. So I just got a execute command, but ping google.com isn't working, for example I did the ls command and it worked. here is the code. (I have defined ownerid)
var exec = ["execute"]
if(exec.every(key => {return msg.content.includes(key)})) {
if(msg.author.id === ownerid) {
const { exec } = require('child_process');
exec(args.slice(1).join(" "), (error, stdout, stderr) => {
if (error) {
msg.channel.send(
new Discord.RichEmbed()
.setTitle("Execute Error")
.setColor('RANDOM')
.setDescription(`Error: \`\`\`${error}\`\`\``)
)
return;
}
msg.channel.send(
new Discord.RichEmbed()
.setTitle("Execute")
.setColor('RANDOM')
.setDescription(`**Input**:\n${args.slice(1).join(" ")}\n\n**Output**:\n\`\`\`${stdout}\`\`\`\n${stderr}`)
)
});
} else {
msg.channel.send("I'm afraid I cannot do so, I do not have permissions to create an invite.")
}
}```
hmm ๐ค how do you suggest to do that?
lol
Mention me if you have a fix, thanks
@gritty ice either by implying your bot gets permissions on some way (automatic roles or such alike) or by literally looking up what Perms you have. Try catch does work of course but I find it makes your code more difficult to read and the intention of the try catch is not really clear without digging into it. It also means that you expect an exception that you could avoid altogether. Which is always better.
brian help me out too pls
makes sense, and your profile pic ๐ @low owl
@gritty ice ikr
How can I see if a member is kicked with discord.js?
you can just see if the member exists in the guild
message.guild.members.has('id)
oh wait do you mean the actual event
yeah
tbh ive been wanting to know that myself
:/
one sec
kk
hello
guildMemberRemove
actually
no
hmmm
that checks if they've left and/or been kicked
guildMemberRemove is a guild event
yeah thats fine
I don't think there is an exact event for discord.js that emits when a member is kicked. I guess your only option is guildMemberRemove
but jonas just wants to see if someone is kicked
surely there must be some way
else how would @gilded plank work
maybe luca uses raw?

I don't think so...
Check on guildMemberremove
Then consult audit logs
I may write an extension to do it
(for d.js)
^
ah
dont think theres another way to do it otherwise
wait, how do I check audit log?
Oof
o0o0f
Use them docs
Never had to do it before
:readDocs:
guild#fetchAuditLogs()
RTFM
^
โค
indeed, you have to check the audit logs, discord doesn't emit any specific event for kicks
and audit logs aren't even accurate tbh so its just shitty
I have another question... I need to have async (to be able to use await), user and the guild properties in that event
is that possible?
to use async you just put the async keyword before the function
mark the event function as async and then use await in it 
^
which event tho
guildMemberRemove
wat
psure guildMemberRemove gives you the guild as well
@austere meadow it doesn't it gives you only a member since that has a .guild property
oh ye yuki is right
you're right
d.js is shit*
what
more like js*
true*
Thanks
py better
A way to define args without it making ascii look like this with commas and to keep it spaced out? I've tried multiple ways of defining args and none of them have fixed this issue
I'm using js with the current args defined as message.content.split(" ")
oof ty
Hi guys
How do u add code to your bot
And do @worldly cliff when u do so
So I can see
And know
Bue
@worldly cliff you use google.
^
What are the differences between JS, Java and Python libraries? Besides the language, obviously
the syntax can differ with other libraries as well as the API coverage
not all libs cover all ends of the API
like some don't have voice implementation
Ah, which one would you recommend me to cover most of the stuff?
well it depends really, do you know javascript, and are you a beginner?
if so, i'd recommend discord.js
if you are more experienced with javascript, i'd say go with Eris
those are the only two libs i have experience with
there are plenty more though
Ah, thanks, I'll look into discord.js then

?
well it always depends on the language as example js is really bad with music so if you want make a "full" music bot js would be a bad choice
I figured out already
๐
also true what yukine said, it really depends on your skill level and what exactly you want to make
Do u have a name in Chinese @restive silo
but most people use discord.js
@worldly cliff can you hop out of #development please
thats Japanese
and ^
^
i use discord.js myself and i like it
I pretty much wanna do a bot with a basic levelling system and fights inbetween members
I use discord.py
then js with d.js is a pretty good choice
python with d.py is also fine for that
there are also plenty frameworks for d.js what mostly take a lot of work from you to make like reaction menu's or a command loader, command classes and database integration
so if you aren't wanna do that yourself i would recommend using a framework
Aight! Thanks, gonna start working on it right now

How to send image using curl in php?
@toxic hearth your bot got aproved?
yep
how long u needed to wait?
How long did u wait?
@toxic hearth
Few days
k
K
go dm
guys can we move out of #development
Ok
Can someone help me I can't install discord.py on my vps it comes up with egginfo error
what's the full error
screenshot?
wait thats the wrong one
here
wait let me use pip3
its install pynacl
is it supposed to take a lot of time


@languid dragon dude, my bot isn't anywhere near sharding yet, and you're asking me for advice? LOL ask @ornate onyx
I KNOW
(โฏยฐโกยฐ๏ผโฏ๏ธต โปโโป
But how can I write a tutorial on something I've not had a need to do yet?
I want to learn to code a bot but don't know what an easy code is to use for the bot.
smhhhhhh
@normal pagoda It depends on your comfort zone.
If you like tabbing, go with Python.
If you're okay with a bit of Mess, C should do the trick.
Otherwise, ABANDON ALL HOPE FOR NEWBIES
C# is pretty good
JS. 
I'm new to coding wanting to learn somewhere I have slight knowledge in python, and Java but can learn others if needed
hi
Your best bet would be either Discord.js or Discord.py(Rewrite) - These two libraries are amazing
Ken, I'm sad
;-;
Thanks guys
oh
I thought My bot was the most adorable. But apparently not.
which one is urs
Guess. =w=
Hah!
ssorrrrryyy
It's fine! It's fine.
Don't worry about it.
The real one you should be worried about is my friend.
;~;
@languid dragon use eris
ban yourself.
eris > d.js
Hm. Actual question, though.
should I rewire this script to do my dirty work to try and make a deep-learning AI?
const qdb = require("child_process").exec("npm install quick-db")


is pretty buggy
