#development
1 messages · Page 418 of 1
@spring ember is okay @bot.check(is_owner)?
Or need @is_owner
Or commands.check(is_owner)
:))
It is the way to do it @bot.check(is_owner)?
Idk
you should open up the docs
if I'm gonna try to get a message object, how far can it go into the channel's history before it fails to find that message?
@spring ember u can help me? Don t work with any check owner
I can stop it without perms
async def is_owner(ctx):
return ctx.author.id == 316026178463072268
@bot.command(pass_context=True)
@bot.check(is_owner)
async def stop(ctx):
await bot.say('Shutting down..')
await bot.logout()```
At bot check
Is not okay
And idk what is not okay
idk py but im pretty sure that needs to be a string
^
Anyone can help me?
async def is_owner(ctx):
return ctx.author.id == 25419821441522071
@bot.command(pass_context=True)
@is_owner()
async def stop(ctx):
await bot.say('Shutting down..')
await bot.logout()```
I have this
And i can use stop without permission
id is one random, not my
hey guys, i have a question about discordbots.
many bots that i see online have their stats as online or idle. while mine keeps at ???. anyone knows what the reason for this is?
@fierce atlas the bot has to be in this server. Was it kicked from here?
i do not know. i am approved and all. i can even post to the discordbots site (how many servers my bot has).
perhaps its because i edited the discordbots page? who do i go to, to have my bot invited?
I just checked and it seems to not be in the server
You can check in modlog for the reason for the kick and ask a mod to add it back
ty
do someone know stuff around snekfetch here?
ah, its this.
never had my bot dm me with "unknown command". gotta fix that issue then.
thank you @night imp
Guys
async def is_owner(ctx):
return ctx.author.id == 25419821441522071
@bot.command(pass_context=True)
@is_owner()
async def stop(ctx):
await bot.say('Shutting down..')
await bot.logout()```
Okay?
At this
Is a random id
And i have access to stop the bot
Anyone can help me please
doesnt it have to be a string? not numbers
..
@sinful lotus uh.... read https://listen.moe/donate ```That's why we have set up a Patreon where you can show your support and in exchange earn a few nice perks! So by becoming a supporter, you'll get:
- Access to requesting songs. Let every listener know of your good taste.```
its requesting I believe
what im just doing is getting the song.title from the webpage and I think its not related to the api stuff im doing
well imma try to find a way for now thanks
this only sends to my own server channel ;/ why doesnt it send to the local channel on guild?
you are using client.channels.find() not like message.guild.channels.find()
because you're retrieving the channel from client channels
I told you yesterday you might have an overlap problem
xD
What is better eris or discord.js
Oof
Python.
Oof > Eris > Discord.js

oof ?
Should have been zBlakeCord
That works too
Which library should I pick? Eris or discord.js?
discord.js ─ more tailored towards beginners starting out with Discord bot development or programming in general, very nice and easy to follow syntax/types and it's quite powerful. Comes at the downside of being very memory hungry.
Eris ─ not as beginner friendly, designed for heavy use and abuse, very powerful and doesn't use as much memory as discord.js. If you plan to grow your bot and optimize it for the future, Eris is the way to go.
Both libraries cover the entire Discord API, and it's ultimately down to you which library you decide to use. Don't start arguments over which library is better, it's down to choice on which library they pick.
@earnest phoenix what does it return
either the channel doesn't exist in that guild or you are finding it based on the wrong thing
yeah
ok
What's that oof thing
Oof is discord.nou
i Cant figure out how to acces a json file with html.
im humbled
wait nvm i figured it out,
server owner or you?
Me
check for an id equal to you?
Yes
there's your solution
Guys
For a python bot, anyone can help me?
To add only owner command?
For example add shitdown
Shutdown
I don't use python but I get the id of who issued the command and check if it equals my id
oh wait you already got an answer
Yea that is pretty easy to do
wtf
@tardy hatch You probaby need an if statement in the code for checking if ctx.author.message.id is equal to yours.
🍿 this is
Constantly pinging people isnt gonma help also google can solve alot of code problems
You can google your question
I mean, I can help with
, but spoon-feeding is disallowed. 
@bot.command(pass_context=True)
async def stop(ctx):
await bot.say(":smiley: Shutting down..")
await bot.logout()```
Ik
if ctx.message.author.id == 'YourIDHere'):
# your code
are you on async or rewrite?
I don't remember if logout is a coroutine, but w/e.
async def stop(ctx):
Here if
await bot.say(":smiley: Shutting down..")
await bot.logout()```
Is okay there if?
@bot.command(pass_context=True)
async def stop(ctx):
if ctx.message.author.id != 'YourID':
return
await bot.say(":smiley: Shutting down..")
await bot.logout()
```there, you can stop asking now
Deive spoon-feeding. 
..
idc
wtf,help me
System.ArgumentOutOfRangeException at WebResponse response = request.GetResponse(); or string text = "";
every time
Can u show more code?
Add more features
?
Pick a language, get the discord api lib.. would be the first 2 steps
theres a saying that you learn as you code
theres a lot of support for d.js as well, to point you into the right direction. But that is if you know basic js
if you don't know basic js and basically copy pasted codes then ¯_(ツ)_/¯
go learn how to download/deserialize json from simple rest APIs
if you wanna make a good bot then you need to have at least some knowlege of network IO
I don't know how too code.
then go learn too code
Where?
http://www.bestprogramminglanguagefor.me
Tell me what this says and I'll give you a SoloLearn link
Python
that's not really appropriate for picking a language for bots imo
ok then
@sturdy mortar fuck everything I just said, just pick and learn a language you think looks cool
I was talking about http://www.bestprogramminglanguagefor.me/
yes I know
I picked that mostly cause making a discord bot surely isn't your endgame, it's just something to chase while you learn your chosen language so you can do the real shit
I learned js because I want to code bot tho I cant do real things yet
then go learn to do real things
oops
You would need to use the twitter api for that good luck
twittercord
rings buzzer What is twittercord?
O
smh
also I don't use webhooks, twitter timeline data is currently implemented in http streams
which are worse than webhooks
lol
btw I want to make a looping functins that makes a task
but the actual functions that will be looped is supposed to be separate JS files
how do I loop over functions calls which includes full JS files?
I think Twitter do support webhooks
Bummer
what's the best way to continue a loop at forbidden error when my code looks like this:
for channel in ctx.guild.text_channels:
if discord.Forbidden:
continue
async for message in channel.history(limit = 500):
try and except it
^
pass if failed
at which parts of the code? cause I've done that like dozen times and it seemed like I was using it wrong
can someone help me im trying to add 1 everytime someone does a command in a .json file and idk how
I get this fucked up error that I dont seem to understand its with djs so if anyone could help.. This is my Class https://hastebin.com/eyewezocos.coffeescript
@inner jewel not important data just adds the number 1 everytime someone does my *report command
oh yeah... the with statement is there...
but I actually need it to be there
async with ctx.channel.typing():
Lel
Traceback (most recent call last):
File "/usr/local/lib/python3.5/dist-packages/discord/ext/commands/core.py", line 50, in wrapped
ret = yield from coro(*args, **kwargs)
File "bot.py", line 18, in greet
await bot.add_reaction('😂')
TypeError: add_reaction() missing 1 required positional argument: 'emoji'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/local/lib/python3.5/dist-packages/discord/ext/commands/bot.py", line 846, in process_commands
yield from command.invoke(ctx)
File "/usr/local/lib/python3.5/dist-packages/discord/ext/commands/core.py", line 374, in invoke
yield from injected(*ctx.args, **ctx.kwargs)
File "/usr/local/lib/python3.5/dist-packages/discord/ext/commands/core.py", line 54, in wrapped
raise CommandInvokeError(e) from e
discord.ext.commands.errors.CommandInvokeError: Command raised an exception: TypeError: add_reaction() missing 1 required positional argument: 'emoji'
hmm
@tardy hatch add reaction is missing emoji
add_reaction(emoji)
Yep
msg.add_reaction(emoji)
Okay
I've been struggling with this for over 2 days, can you just tell me the proper way of continuing in this code?
async with ctx.channel.typing():
for channel in ctx.guild.text_channels:
async for message in channel.history(limit = 500):
if discord.Forbidden:
continue
if msg == message.id:
if message.author.color != discord.Color.default():
embed = discord.Embed(description = message.content, color = message.author.color)
else:
embed = discord.Embed(description = message.content)
embed.set_author(name = message.author.name + '#' + message.author.discriminator, icon_url = message.author.avatar_url)
if message.attachments:
embed.set_image(url = message.attachments[0].url)
elif message.embeds:
embed.set_image(url = message.embeds[0].url)
embed.set_footer(text = 'in channel: ' + message.channel.name)
return await ctx.send(content = None, embed = embed)
discord.py owner checks? like it'll check for your ID and then it'll do the command and if you dont it doesn't
And where i set emoji =))
needs to be an emoji or hard coded emoji string
@bot.command(pass_context=True)
async def greet(ctx):
await bot.add_reaction(emoji)```
that's not async
how to add owner only permission commands
remove pass_context
it's await ctx.message.add_reaction(emoji)
@bot.command()
async def greet(ctx):
await ctx.message.add_reaction(emoji = ":wave:")```
no

emoji = :wav on new line
before it
basic defining a variable
@ruby dust remind me as well
Without "
hmm?
I'll give you a better code
so you need a code again?
no
dm it
@bot.command()
emoji = :wave:
async def greet(ctx):
await ctx.message.add_reaction(emoji)```
Okay?
no
Ffs
inside the function
my dms are locked, temporarily accept fr then
same
@bot.command()
async def greet(ctx):
emoji = :wave:
await ctx.message.add_reaction(emoji)```
yeah you need to accept it, cause I'm blocking frs as well xd
add ne
@bot.command()
var emoji = :wave:
async def greet(ctx):
await ctx.message.add_reaction(emoji)```
Or
Lmao
I m so confused
=))))))
man you aren't being pending in friend requests
could someone help me with writing things to a json file
@bot.command()
async def greet(ctx):
emoji = ":wave:"
await ctx.message.add_reaction(emoji)```
remove var though
and make it a string
^
Okay
@desert bough You should probably include more details like which lang you are using
^
@desert bough You can google stuff like this read 2nd example https://gyandeeps.com/json-file-write/
@prime cliff it was more adding a numver to a value inside the file already
Yea you can look it up on google about reading and changing json files
Should be simple enough to do in JS
im a little stuck with it tho ive tried [Object]++; but it dont seem to work
json[key] = json[key] + 1
like this? const reportfile = JSON.parse(fs.readFileSync("./reports.json", "utf8"));
I guess
I don't use js often
you know how you get a field
or add something to the json
not really
I'm on mobile so I really can't help
damn
how do I do so I can tag the channel I wanna have as a mod channel in settings+
so it looks like <command> <action> <#something>
?
without getting the channel id's like <@Numbers>
which messes up my message.guild.channels.find("name", settings.modLogChannel)
Does someone know how i can define an enter trough code in a discord codeblock?
Donku to mention just inerlope Message.Author or use reply instead which will tag the last person who said anything at the begginging
For example :
'offline\nonline\nonline\noffline\noffline\noffline\nonline\nonline\noffline\nonline\nonline\noffline'
?
How do i define enters in a discord codeblock?
clearly \n are all being seen as text
enters?
ye
the \n thing should work
clearly not ^
umm weird
thats weird 
send code
Unless you're escaping \n it should work fine
offline\nonline\nonline\noffline\noffline\noffline\nonline\nonline\noffline\nonline\nonline\noffline
Hmmm, i think i know where the issue lies
Let me revisit it
issue found and fixed.. 😃 Thanks for the help Not fixed :/
So this is the code @spring ember :
bashCommand = bash
process = subprocess.Popen(bashCommand.split(), stdout=subprocess.PIPE)
output, error = process.communicate()
await ctx.send("**Output:**\n```py\n{}\n```\n**Error:**\n```py\n{}\n```".format(output, error))
Its a bit of a mess 😛
bashCommand = bash
process = subprocess.Popen(bashCommand.split(), stdout=subprocess.PIPE)
output, error = process.communicate()
await ctx.send("**Output:**\n```py\n{}\n```\n**Error:**\n```py\n{}\n```".format(output, error))
but it outputs as :
b' total used free shared buff/cache available\nMem: 1952 510 178 48 1263 1125\nSwap: 0 0
and you can clearly see the \n's in the codeblock :/
umm weird
@earnest phoenix is that a bytes object?
str
Thats something i am not sure about yet either 😛
@desert bough It's bytes
Traceback (most recent call last):
File "/usr/local/lib/python3.5/dist-packages/discord/ext/commands/core.py", line 50, in wrapped
ret = yield from coro(*args, **kwargs)
File "bot.py", line 20, in greet
await ctx.message.add_reaction(emoji)
NameError: name 'ctx' is not defined
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/local/lib/python3.5/dist-packages/discord/ext/commands/bot.py", line 846, in process_commands
yield from command.invoke(ctx)
File "/usr/local/lib/python3.5/dist-packages/discord/ext/commands/core.py", line 374, in invoke
yield from injected(*ctx.args, **ctx.kwargs)
File "/usr/local/lib/python3.5/dist-packages/discord/ext/commands/core.py", line 54, in wrapped
raise CommandInvokeError(e) from e
discord.ext.commands.errors.CommandInvokeError: Command raised an exception: NameError: name 'ctx' is not defined```
Convert output and error with str()
I know, ctx is not defined
@tardy hatch ctx is not defined
But, idk to define id
onbiously
It
what's the code
How to define ctx
ok, gonna give it a try @floral stone
@bot.command()
async def greet():
emoji = ":wave:"
await bot.say(':smile: :wave: Hello there!')
await ctx.message.add_reaction(emoji)```
That is the code
@bot.command()
async def greet(ctx):
emoji = ":wave:"
await bot.say(':smile: :wave: Hello there!')
await ctx.message.add_reaction(emoji)```
One secons
ctx wasn't an argument in the function
Again
Ignoring exception in command greet
Traceback (most recent call last):
File "/usr/local/lib/python3.5/dist-packages/discord/ext/commands/bot.py", line 846, in process_commands
yield from command.invoke(ctx)
File "/usr/local/lib/python3.5/dist-packages/discord/ext/commands/core.py", line 367, in invoke
yield from self.prepare(ctx)
File "/usr/local/lib/python3.5/dist-packages/discord/ext/commands/core.py", line 345, in prepare
yield from self._parse_arguments(ctx)
File "/usr/local/lib/python3.5/dist-packages/discord/ext/commands/core.py", line 304, in _parse_arguments
transformed = yield from self.transform(ctx, param)
File "/usr/local/lib/python3.5/dist-packages/discord/ext/commands/core.py", line 212, in transform
raise MissingRequiredArgument('{0.name} is a required argument that is missing.'.format(param))
discord.ext.commands.errors.MissingRequiredArgument: ctx is a required argument that is missing.
Is that all the code?
Yes
@floral stone u want full file?
@floral stone Still trying, my devtools module just crashed on me
hm
@floral stone a site where i can paste a code?
@earnest phoenix put the code and imports in a hastebin
be much easier to copy and use.
so I can debug it
@floral stone https://hastebin.com/qeneyimacu.py
I can t upload from phone @floral stone ..
U think the .format function is doing it?
@tardy hatch Are you using latest or rewrite version?
free -m
just a simple command
@floral stone https://pastebin.com/N33REfCK
You are missing @bot.command(pass_context=True) on line 16 @tardy hatch
import subprocess
@earnest phoenix idk =))
@tardy hatch The error is saying that you are missing context.
This is because you have @bot.command() instead of @bot.command(pass_context=True)
One second
how what?
Don t reacy
got await in front of it?
How to rewrite passes
?
Yep
I need to add that in the format?
yes
Ok, lets give that a try
``
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/local/lib/python3.5/dist-packages/discord/ext/commands/bot.py", line 846, in process_commands
yield from command.invoke(ctx)
File "/usr/local/lib/python3.5/dist-packages/discord/ext/commands/core.py", line 374, in invoke
yield from injected(*ctx.args, **ctx.kwargs)
File "/usr/local/lib/python3.5/dist-packages/discord/ext/commands/core.py", line 54, in wrapped
raise CommandInvokeError(e) from e
discord.ext.commands.errors.CommandInvokeError: Command raised an exception: AttributeError: 'Context' object has no attribute 'add_reaction'``
ctx.add_reaction(emoji) don t work
Okay
@floral stone thanks
And i have one more question
Is possible to make bot to react at his message
For example add an await bot.say('Like or flower')
Okay
how can I send pm to a specific user id with discord.js?
are you fetching a user or getting it out of a message?
@uncut slate 👍
Anyone know a free and good host for Node.js eris?
"free" and "good" don't go together very well 
if you want any good paid servers look at the pins
If it's for a discord bot which i'm assuming it is, if it's a small bot running it off your PC would probably work >.>
Yes.
can't really say anything about medium/large bots however 🤷
It is a small bot and I am running it on my PC.
If it's not lagging or anything, don't really bother spending money on something you don't really need
Does discord.py has a way or function to trigger a event manually? (like the client.emit from Javascript)
when do i get my api key to post stats? (I have submitted my bot)
first just wait for you bot to be approved ^^
oh ok
(when staff will test if it has some non-basic functions)
(They also make sure it doesn't break the discord TOS)
(yeah but it's pretty obvious
)
free + good = null
@topaz fjord is ur bot free?
Wut
ur bot is free + good = null
ok
@earnest phoenix just call await bot.on_connect() etc
Why doesn't this work correctly? Discord.py async
# botcheck
def botcheck(ctx):
return ctx.message.author.bot == True
Why would you need that if you can use if x.x.author.bot: or if not x.x.author.bot:
But anyways, try with only one =.
Invalid syntax.
Yeah, got it wrong.
What if parse it as a variable?
Now it throws check errors.

Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/discord/ext/commands/bot.py", line 846, in process_commands
yield from command.invoke(ctx)
File "/usr/local/lib/python3.6/site-packages/discord/ext/commands/core.py", line 367, in invoke
yield from self.prepare(ctx)
File "/usr/local/lib/python3.6/site-packages/discord/ext/commands/core.py", line 344, in prepare
self._verify_checks(ctx)
File "/usr/local/lib/python3.6/site-packages/discord/ext/commands/core.py", line 339, in _verify_checks
raise CheckFailure('The check functions for command {0.qualified_name} failed.'.format(self))
discord.ext.commands.errors.CheckFailure: The check functions for command test failed.```
Mind sending your code?
Why are you doing ctx.message.author.bot instead of just ctx.bot @gilded thunder
you don't even need to do that much to make sure your bot doesn't respond to other bots
That's the check that I'm doing.
under the on message event:
if ctx.message.author.bot:
pass
Under the function, then. 
Oh, btw. Don't you need to use await bot.process_commands() on on_message if you use async def?
me being dum dum
@slender thistle ye
@bot.command()
async def test(ctx):
await bot.say("despacito")```
when everyone is using bot and i’m still using client
That's a command.
eh
Then:
if not message.author.bot:
await bot.process_command()
does bot support aliases for the commands tho
I don't remember the arguments, though.
fooooooooking python
@static bramble or do your own command handler?
That's what i do with java 🤷
i tried learning java by writing a bot, i just can’t with java libraries and philosophy of “everything has to be a class” tho
ah
is java worth learning for a hobbyist programmer
ye
Mainly web backend for different projects of mine.
That’s why i tried learning java in the first place (only really tried for a few days before I decided to come back later). I already knew python so I stared writing stuff in python
I see, Java is pretty good for web backend in my opinion
I certainly do disagree
r!ping
Personally I just like the regular old nodejs web backend stuff
Is there any coding programs for tablets?
research 
Depends on your language bruh
I use python a lot and got Pythonista, I have also found apps for Java, C++, Lua, Swift, and Ruby
and 95% of them are paid
All of the languages i listed except for python had free ones
the good ones are paid
Tru
how do I print out time after the persons typing the command timezone?
I'm pretty sure you can't get someone's timezone when it comes to discord bots, i could be wrong though
Can I advertise?
probably not 🤷
Not even in #memes-and-media
rip, then I gotta make them have to choose timezone?
@sturdy mortar
- No self promotion / advertising including but not limited to:
a. Server invites (providing official Discord guild invites or bot support guild invites when asked for is allowed), these can be in the guild or in DMs.
b. YouTube/streams
c. Begging people to use your bot
@earnest phoenix yup
I don't even know how to code my two bots i made.
how have you made two bots then?
I was about to ask that
2 bot accounts 
....i had to re-read his message a few times first because i had to find some sense in it xD
-bots @sturdy mortar
@night idol
@frigid hatch
they’re just empty bots then
why dows it only pop up numbers as id?
no code or anything
and not names ?
why would you advertise an empty bot
-bots @earnest phoenix
@rapid roost
@green dune
boi
French
Also, up there it shows ids because discord loads on demand now and it doesn't work for tags in embeds as far as I'm aware of
What am I doing wrong? ```js
client.guilds.get("439866052684283905").channels.get("439874502520864769").send("Bot added to the queue" + req.params.id);
getting no message
you know that you can use client.channels right 👀
@restive silo ur weeb
@restive silo oh lol
@sand roost also you should catch if the Promise rejects since that could happen due a lack of permissions
its a server specific bot 👀 @restive silo
Ok
move to #memes-and-media or smth
Let's take this to general
my bot at random times, even when not being used (having someone send commands, dm it, or try to interact with it in general), will send me this: `events.js:183
throw er; // Unhandled 'error' event
^
Error: read ECONNRESET
at _errnoException (util.js:1024:11)
at TLSWrap.onread (net.js:615:25)
`
am i just stupid
that usually happens when your internet connection kicks the bucket
yea
sometimes i get this also
Error: getaddrinfo ENOTFOUND discordapp.com discordapp.com:443
at errnoException (dns.js:53:10)
at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:95:26)
that's Discord being Discord 
so @manic salmon get better internet
it doesnt
or make sure your internet isn't being dumb
Discord will always break your connection 
internet companys screwing me over? who ever heard of such a thing

how can i make it not do that though
yes
you could get yourself a vps and host there instead
Trust me ECONNRESET is because Discord 
i cant find any free ones and i dont want to pay money for a side project
use skysilk, they are currently in beta testing with 100% discount, and there will also be a free plan once beta will be closed
and it's also a legit vps, not something like heroku
cough cough don't use glitch cough cough
yeah, blacklist heroku and glitch by default
Did you know about 90% of the developers here program bots as a side project (and they still pay)
yes
that sounds sketchy as fuck
any plan you choose will grant you 100% discount
I wouldn't trust your bot token with a "free host"
how get profit????
You'll end up with the guy that had 20 bots "hacked" then :^)
it's not free, it's a new vps so they are in beta testing for now
Forgot who they were lmao
that was ipad + he had a public vps
oh yeah
Public VPS !== Free Hosting
sketchy stuffos
y'all dissin heroku >:L
maybe
i sent an application for hyperhost 👀
hyperhost 
thanks
they have a free vps section
hm
seems sketchy tho
has heroku ever used your tokens?
this is the link lel https://hyperhost.ua/en/free-vps-vds
sigh
"I'm not trusting this textbook. It was given to me by the school for free" 
xd
That site looks sketchy as fuck
i know
and skysilk too?
Tf it's a ukraine site
SkyPoints 
I can host in U.S and not get shutdown
anyway, this is #development if anyone didn't notice 
Oof
xd
depending on your lib this may be done for you
oof python
:))
!ping
lul
does discord.py async support sharding?
Yes
How can I implement it?
my bot continues to crash. I don'tknow how to get the error
@earnest phoenix discords fucking up rn
🤔
No its not your bot everyone else is having issues
is that even allowed?
Crypto miner on bot page 👀
No popup comes up for me?
who uses a bot page for a crypto-miner 
its an extension that says it
https://i.imgur.com/a8pS4pf.png Yup ublock logs show that bot page has
@languid dragon ^
what
crypto miner on bot page
https://discordbots.org/bot/yui has a crypto miner
@bitter sundial ^
mk
he pinged ken
@bot.event
async def on_member_join(member):
await member.say("Welcome!")```
Is okay this?
Or
Oh
Ffs
Me noob
@bot.event
async def on_member_join(member):
await bot.say("Welcome!")```
In this code
How can i make bot to tag member?
lol

:)))))
what coding language
Lol
programming language 🤦
turkish
Wat
understandable, have a good day
Learn a coding lang first
And there are many economy bots out there to use
JS
GG
chalk 
Store economic data in SQLite db
I love chalk
you have config defined twice
^
you aren't just gonna get a free code for your program, for that you only need the basic knowledge of your chosen programming language
Wat
I like ansicolors over chalk
I think he is google translating everything
Oh
¯_(ツ)_/¯
how old are you?
How old are u
anybody know german around here 
Lol
how old are you @earnest phoenix
If you are under 13 you can get access to a special channel
@earnest phoenix tell me
oh
lies
LOL
@trim plinth nah but I need to, it’s a requirement in my grade 
i dont believe
^
Oof
unless he isn't english native speaker, I don't believe that 9 year old a single bit
^
^^
@wanton walrus MeXiCo
oOf
ok this is getting out of hand
the capital is CanadA
more of general talk
Don’t give him the answer omg
wat
Guys
nor english
I have a question at python
This guy is an expert
avoiding that question
What s wrong in this code:
software expert
exccough
he is an ex-expert
software expert asking dumb questions about js like a kid 
Legit

@bot.event
async def on_member_join(member):
await bot.say("Welcome")```
What is wrong in this code
i dont know python so :/
python ew
😦
you didn't define where to post that message
js best
true
*C# is the best
pls
@wanton walrus +1
C++ ftw
If you were an "ex-expert", I doubt you'd forget so much to the point where'd you wouldn't remember any of your previous skill 
Why are you saying “error codes”? It’s triggering me
@ruby dust how can i define it
ads?
Pls no ads.
ads
Social media means n o th i n g
dab for jesus
define a channel where you want to post that message
!ban @trim plinth
Or what i need to edit in code

what company
I want to send in general channel of servers lmao )))
@trim plinth I mean “error codes”... isn’t it error messages if it is anything? Or just fucking errors.
@earnest phoenix what did you "code" as a "software expert"
if you want to shitpost go to #memes-and-media
Tru
@earnest phoenix answer my question >:(
I know that's not my bot and not my business, but this is against discord bot best practices, since it will do something that a server didn't intend to, especially if it's not togglable
what
tf
what does that mean
This guy is great
so python? @earnest phoenix
@ruby dust oh yea true, he needs to give the user an option to enable/disable it or his app will get banned
not banned... that's a hard way to say it
LOL
Did You just seperate JavaScript?
where is this convo going
Lel
@earnest phoenix ok then code a basic piece of code that returns something in console
^
should be ez pz
del sys32
And have it on a timeout for 30 seconds 
Haha yes, I am a master Java Script master! I know all the details and I know that good shit! Like console.log!
lmao
@trim plinth same!
@trim plinth no he has to figure it out himself
what
uwotmate
what does that mean
i didnt ask for that
@south finch yes hello hi, this channel is getting out of control, and this @earnest phoenix guy is either just hard shitposting or is underaged
or both
Yea
@earnest phoenix you really dont seem like your native language is english
and you are using google translate
wtf
???
oops
👀
this is dev
Uh what?
wat the fuck does that mean PLS
yes lets get out of here
lol
@earnest phoenix wat i ask is for a basic piece of code that returns something in console
do you use bing?
yahoo?
Okay.
yandex?
Oh my..
no, yandex translate 
that was a good talk, gentlemen, you may now go to #general if you want to discuss something else
Mmmm.
yes
https://hastebin.com/kelemasitu.js finally got an error when my bot crashes
so when anyone can could they help me
-bots
ty
I m running an Express js application with socket.io for a chat
webapp and I get the following error randomly around 5 times during
24h. The node process is wrapped in forever and it restarts...
Could also be caused by trying to run it on closed ports, loosing internet connection, running on multiple ports
Are you using a dedicated VPS?
Yeah that is probably why, you may want to ask your ISP about it but I recommended investing in a vps
ISP - internet service provider - who selss your your internet
VPS - virtual private server - server someone hosts and rents to you, physical machine hosts several vps'es



