#development
1 messages ยท Page 578 of 1
it says u have an indent where u shouldnt
Here, I'll send the codes.
in python indentation is like, key
That's what I coded.
it looks like you are missing a colon
Oh I am?
and you might want to get a new bot token now also
don't ever post your token's anywhere
Ok
when you are defining your mute command there isn't one at the end
np
anyone how to downloads packets
what packets do i need to download t coad in python
your mute command doesn't have a colon
can u guys help me
Oh-
I mean, this is for bot development shouty.
moderator told me to ask in here
Oh, you appear to have closed off your mute function too early. Your args aren't properly in it
Wait
Yes?
coding on mobile 
Clearly.
Oof
An error
Oh-
The same thing popped up-
I'm confused now.
Can you circle the error?
TwT
I did fix it though.
Can you show the mute function?
That wasn't that problem
Oh
the problem was you closed off the mute function too early.
def test (a, b, c, d, e) :
return
def test (a, b): c d e) :
return
The second code snippet will not run.
The arguments c, d, and e are not included inside test
at the end of your arguments.
Ok.
I'm pretty confused right now..

Can you retype what im supposed to type There?
UwU
You're missing a comma in your arguments list
Where?
your target and role arg
Oh
Also, while I don't specifically code in python, is that colon supposed to be there between target and discord.Member?...
Yes
Alright
I thought i put the comma at my target and role arg..
Yes, I'm pretty sure I put it there.
I put a comma there

I'm not talking about await bot.add_roles(target, role)
Oh
between the target and the role argument
you have target:discord.Member and then role=discord.utils.get()
you need to put a comma after you define what target is
Ok
so after target:discord.Member put a comma
Alright
Now there's an error with my await bot.add_roles(target,role)
It says it's here ------------------------^
Can you send the error message
message.author is a User, users do not have permissions. message.member is a GuildMember, guild members do. Check if message.guild.ownerID === message.author.id
check if they own the server https://discord.js.org/#/docs/main/stable/class/Guild?scrollTo=owner
@upbeat solstice I think the indentation is wrong
Or just give him the code
thx
That works
I mean, it's not exactly the code.
you did you literally told him message.guild.ownerID === message.author.id
he already had the if
That implies he already knows how to use ifs and understands that that if takes a condition. Telling someone to literally goto the docs for a property isn't that helpful.
He literally sent the if?
@upbeat solstice Add spaces before the await until it is as far away from the line as the line above
Oh ok
Please stop saying i'm a "he", thanks
@upbeat solstice Can you send a screenshot of the code again
My apologises,
I just gave the person the condition to use, I see what you mean now. Sorry.
My interpretation of spoon feeding was if you literally send the code ready for them to just copy and paste and it'd run.
Missing colon
anyone here use lavalink?
TwT
It doesnt really matter, just giving them code makes them think they'll get it every time they come here and ask, when the docs can give you most the answers
Alright, thanks! I'll be sure to do that in the future.
^
You still need the colon btw
This is why mobile isnt the best place tbh
I use this to fetch a specific members messages.
.then(messages => {
const msgs = messages.filter(m => m.author.id === '374695375287746581')
//my id
msgs.bulkDelete(4)
})```
There's no errors, just the messages don't bulk delete.
any ideas?
bulkDelete is for a text channel
You'd have to loop the messages and deleted them individually
delete*
Can you rewrite what im supposed to write actually
It would be easier for me to understand-
bulkDelete can take a collection of messages, so if you get the text channel, you could just call bulkDelete and pass the msgs you want deleted into it.
https://discord.js.org/#/docs/main/stable/class/TextChannel?scrollTo=bulkDelete
^ this is why I should read the docs
I didnt know that was possible and now after reading it I know much more
https://hasteb.in/ijugadir.coffeescript
anybody able to explain this
This issue address it, I think. https://github.com/nodejs/node-gyp/issues/1195
@upbeat solstice You literally have to add a bracket at the end of the line and then a colon after.
addresses*
ok
Bracket not colon
Mk-
@sick cloud I believe the error is that it's just outdated
It's last publish was 3 years ago
its*
wdym
Player's last publish
It is this one right?
yes
async def mute(ctx, target: discord.Member, role=discord.util.get(ctx, message.server.roles, name='Muted'):
await bot.add_roles(target, role)```
lol you missed a parenthesis too
F
async def mute(ctx, target: discord.Member, role=discord.util.get(ctx, message.server.roles, name='Muted')):
await bot.add_roles(target, role)```
The square bracket threw me off
throw err;
^
TypeError [ERR_INVALID_ARG_VALUE]: The argument 'path' must be a string or Uint8Array without null bytes. Received <Buffer 49 44 33 04 00 00 00 00 01 00 54 58 58 58 00 00 00 12 00 00 03 6d 61 6a 6f 72 5f 62 72 61 6e 64 00 6d 70 34 32 00 54 58 ...```
ok
Oh mk
@amber fractal how do i rebuild gyp
i still get these errors
even on new modules
npm ERR! errno 1
npm ERR! speaker@0.4.1 install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the speaker@0.4.1 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\ThatTonybo\AppData\Roaming\npm-cache\_logs\2019-02-22T01_43_00_768Z-debug.log
C:\Users\ThatTonybo\Desktop\julia>```
Do you have the latest build of gyp?
how do i check
One more try: Can you copy-paste the code here
npm list node-gyp @sick cloud it may take a sec tho
julia@1.0.0 C:\Users\ThatTonybo\Desktop\julia
`-- (empty)
C:\Users\ThatTonybo\Desktop\julia>
@amber fractal
Try npm list -g node-gyp
Ok-
this ones taking longer lol
async def mute(ctx, target: discord.Member, role=discord.util.get(ctx, message.server.roles, name='Muted')): await bot.add_roles(target, role)
Yeah, expected
ok now it wont even finish

@amber fractal here
C:\Users\ThatTonybo\AppData\Roaming\npm
`-- node-gyp@3.8.0
C:\Users\ThatTonybo\Desktop\julia>```
Yeah, that is the latest
@upbeat solstice Do you have any spaces before the async
Well, not sure, gonna be honest, I dont use gyp so thats the first problem
Then I don't know why there would be an indentationerror
ok
.
@upbeat solstice first of all
Your command parameters are nuts
Don't add role there, instead make it a variable
help etaddrinfo ENOTFOUND spotify-auth.doxylamin.pw spotify-auth.doxylamin.pw:443
Read the error
xd
hi
when i am going to start my bot its gives this error
what's wrong in this file?
Please tell me thats not a real key
lul
LOL
This place might be more about the Discord API, but does anyone here know how to use the Google API, or maybe know a better discord server to ask this in?
from the looks of it we can use the API for him 
@earnest phoenix what's ur question?
When I add my bot to your server, it has 13,000 users, but why is your server in 33,000 users?
Total Number of Users
13730
Your server is not 33,000 people
How can I fix it?
Caching is the issue
Get the member count from the REST api
Idk any other way, or if that even works
Ake http requests to the discord api
Integrate your service with Discord โ whether it's a bot or a game or your whatever you wildest imagination can come up with.
Those are the docs
guild members can be uncached @earnest phoenix
Not all are cached in the first place...
Can someone make a bot for my discord server?
google.com/search=how+do+I+make+a+discord+bot @earnest phoenix
I just need a simple bot.
I CAN'T
not with that attitude
The link u sent does not work.

then head to google, which you hopefully know the url to, and search yourself
Thanks for nothing <3
happy to help
People could make a bot for you if you were willing to pay
I am ๐คฆ
Else, sorry fam, you gotta learn to do it with your own hands
buy the bot creator off steam, only 10 bucks 
PLease
ask oliy about getting it in #434058442764714002 if your actually serious
?
what
watching this hurts, real hard
may aswell use a public bot that does the job, don't have to learn a thing or pay someone that way 
Private bots make your server seem really cool and professional... kinda 
Someone?? please...!
ever heard of this beast of a program called a search engine? https://www.google.com/ shit's insane
finds you everything you need
.....
+1 lazy hooman goes into the list :^)
๐ this was a good conversation
Is there any Bot that deletes messages after a specific amount of time?
And how can I make that? With a custom command?
Probably better asking stuff like that in their support server.
Ok thanks
hi
@earnest phoenix my question is how do i use the google api?
@earnest phoenix Google doesn't have a search API, you'll need to scrape it
I can't tell if it's sheer laziness or brilliance to make commands to control my bot's database with like, SQLite code.
I have no idea how to curl lmao
curl url
it said no url specified
Now it worked
I got the unauthorized, expected
so idk why the code isnt working
i have a channel (bot.on(createChannel) ) in d.js
how can i get the guild and channel names?
read the docs
i did
read em again, it tells you
also there is no thing such as createChannel
thats what i meant
it says:
client, created at, createdtimestamp, deleted, id and type
how do i get the name from that?
mate
yes?
<Client>.on('channelCreate', channel => { //you can put anything instead of channel, it will be a Channel object
console.log(channel.id)
}```
so bot.channels.get(channel.id)
yeah i think so
wait no
thats unneeded
you already got the Channel object in that event listener
so channel.name or something
yeah
ok
channel object
Anyways, if anyone knows why I'd get this error, please @mention me
I've done requests before, so I don't know the issue
so how can i get the guild from user?
You dont
You have to pass guild in the parameters
sorry
Why not be nice to people
its called user, so user.guild.name
if user is the guild member
you can call it whatever you want
It's just a <GuildMember>.guild.name
<GuildMember> is the name of the guild member object
Your talking about the guildmemberadd method -_-, yes, if you passed user in the async, then user is going to be guildmembet
Why did you call it an async?
await
It's not just called an async tho
I am blind
Is there a reason I get unauthorized with this? The token is a bot that is in the server
Nvm
Bot just didnt need to be full uppercase
wait lol
it only got 1 member
Wait Im a moron
I should read the docs lol
You can't use await out side async, can you?
Is there a way to have images inside a field of a embed message?
Not in the field, but embeds can have images
Thanks ^
I don't understand step 8 and 9? :(
???
okay this tutorial is ass
there are way better ones out there
but first learn an actual programming language
What tutorial would be sugested then @earnest phoenix
learning an actual language instead of copypasting
@floral geyser (command) () -> command()
And if you are asking that,
I will recommend learning Python beforehand
sometimes docs have a quickstart section which serves as a tutorial https://discordpy.readthedocs.io/en/rewrite/quickstart.html
@slender thistle i i know i just typed (command) to Note this is a custom command
You could also name the function something else and use name kwarg in decorator instead
So u mean change bot.say?
Decorator - @commands.command() or @bot.command()
Does anyone know a server bot that will automatically reply if a user pms the bot?
reply with what?
Reply with a custom message that I can edit
For example user pms bot /password and the bot will pm back Password = 'Example'
i doubt there is a bot like that, since pms are global and available regardless of servers. to be able to customize it on a per server basis is very specific, you'd need to make one yourself
If its the Same everytile u could use a lot of custom bots
99% of bots out there treat pms/dms independently from servers/guilds
I know a bot that can do that application bot i know its not ment for that but if someone types
%apply
They get Dm with a custom message normaly this is for application but dont see why it wouldnt work
@solemn orchid
Cool thanks guys I'll look around
Why am I getting this error please help
https://hastebin.com/azemuqagap.js
I'm using Lavalink for Discord.JS
[Ender] Lavalink client ready to use.
Error: Unexpected server response: 200
at ClientRequest.req.on (C:\Users\Administrator\Desktop\Ender\Ender\node_modules\discord.js-lavalink\node_modules\ws\lib\websocket.js:561:5)
at ClientRequest.emit (events.js:189:13)
at HTTPParser.parserOnIncomingClient [as onIncoming] (_http_client.js:556:21)
at HTTPParser.parserOnHeadersComplete (_http_common.js:109:17)
at Socket.socketOnData (_http_client.js:442:20)
at Socket.emit (events.js:189:13)
at addChunk (_stream_readable.js:284:12)
at readableAddChunk (_stream_readable.js:265:11)
at Socket.Readable.push (_stream_readable.js:220:10)
at TCP.onStreamRead (internal/stream_base_commons.js:94:17)```
Also getting spammed this every 5 seconds
get a proper host
Mk
???
im in general vc
what packets do i need to code a bot in python
im going to assume you want to use discord.py
follow their docs https://discordpy.readthedocs.io/en/rewrite/
Install d.py like this:
pip install -U git+https://github.com/Rapptz/discord.py@rewrite#egg=discord.py[voice]
@upbeat solstice if ur program close your bot Will be offline make sure your pc is on
or get a permanent host
Cam someome please help
dont ask to ask, just ask your question
Why am I getting this error please help
https://hastebin.com/azemuqagap.js
I'm using Lavalink for Discord.JS
Error: Unexpected server response: 200
at ClientRequest.req.on (C:\Users\Administrator\Desktop\Ender\Ender\node_modules\discord.js-lavalink\node_modules\ws\lib\websocket.js:561:5)
at ClientRequest.emit (events.js:189:13)
at HTTPParser.parserOnIncomingClient [as onIncoming] (_http_client.js:556:21)
at HTTPParser.parserOnHeadersComplete (_http_common.js:109:17)
at Socket.socketOnData (_http_client.js:442:20)
at Socket.emit (events.js:189:13)
at addChunk (_stream_readable.js:284:12)
at readableAddChunk (_stream_readable.js:265:11)
at Socket.Readable.push (_stream_readable.js:220:10)
at TCP.onStreamRead (internal/stream_base_commons.js:94:17)```
Also getting spammed this every 5 seconds
that hastebin really doesnt help at all
That's my console
It loads the track in the request
In lavalink
But when it trys to play
It gives that error below the console output
And spams unexpected server response
Every 5 or so seconds
@earnest phoenix
how do u use gethub
@earnest phoenix you mean how to use git?
Just Google it
@west mango can you link the client package
wdym
client package?
it's discord.js-lavalink
https://github.com/MrJacz/discord.js-lavalink/ @spring ember
i code in python
@earnest phoenix git is not related to any programming language, it is a version control system
ok
@west mango something is off and I am not sure why where is the error from
:/
how to download
you want my code @spring ember
anyone trying to get in a vc with me
@west mango your code has nothing to do with the issue it's probably an outdated version of lavalink
to help
Okay how do I update it
https://git-scm.com/video/what-is-git @earnest phoenix
@west mango download the latest jar
from where?
I honestly don't know
I recommend asking in the JDA server
There is a special channel for lavalink
Also add an issue on GitHub
lavalink is jda
discord.js people won't be able to help with the lavalink cause java gang
unless they know the java gang
@neat falcon lavalink uses jda audio
close enough
Kinda
Okay no luck
@spring ember what can I do now? :/
Can't open a bloody issue because of this
I TRIED IN THE DISCORD
and it's dead af
What's a good pc or laptop coder for discord bots? 
an ide?
lol
ikr
just use VSC
or atom
but wouldn't use atom, it sucks
takes forever to open
idk if thats what they were asking
I think they mean literal laptop/PC in which case it doesn't really matter
Coding isn't really very intensive on a machine
Some second hand thing will probably do
Coder 
You know that message style with the coloured line on the left? How do people do that?
Dunno what its called else I would have looked it up
embed?
assuming you use d.js ```js
const embed = new require('discord.js').RichEmbed();
//stuff with embed here```
And then you can do like message.channel.send(embed) right?
yes
richembed stuff is here https://discord.js.org/#/docs/main/stable/class/RichEmbed
Thanks a bunch :) gonna add something with it when I figure this dumbass bug out
Any idea why my bot might be giving 3 different dates and all of them are wrong?
@young jungle whats wrong with the bottom one?
the message was sent on the 23rd
yes
well the bot probably isn't
O_o what about the top one?
it's the same bot
i have confuse
there're no timezones with 5 day offsets
were they both from the same code?
they're in different files but the protocol is the same
ct = time.strftime('%c')
it's basically 2 bots logged in with the same token on the same server but one exists solely to ping the the other to stop it timing out
the non-pinging one has actual functions in case you're wondering too

Can I not fetch the webhook then send with it?
does it need to be in a .then() or something? I sent test messages with it before
If it's a promise, you need to wait for fulfillment
It's in a reaction collector, and I dont want to fetch the webhook every reaction
Then just store it somewhere
Can you show code
webhook is a promise
You need to wait for it to fulfill
await it
Promise<Webhook>
Well what do you know that worked
Also, does the collector give a member/user object
No idea, I never used the collector
How did you make reaction role then
Low level events
Extreme thinking at the moment
Another thing I need to google
All I'm getting is DOM level 
Oh wait
Wait Fishy did you need to use the reaction add event? I'm so confused
why does this happen when my code says oldRole.permissions but it puts out the number combination for the permissions, i looked on the docs and i cant seem to find anything, im using discord.js, can anyone help me?
i want to list the permission names
because discord permissions are stored as numbers

is there any way i can list the permissions in word from though
ok
bit math or something iirc, may be wrong tho
ok
@amber fractal The reaction event from gateway, the one in djs have to go thru cache
Dont know what that means, but alright 
and #topgg-api
Hm
jimp is slow af
@chrome olive hha try photoshop
Oh i tought u could change the whole png
Can someone help me with this? I am trying to select C in a table guild.
db.all("SELECT id FROM guild WHERE id = C", function (err, rows) {```
I am getting this error:
{ [Error: SQLITE_ERROR: no such column: C] errno: 1, code: 'SQLITE_ERROR' }
hello yes quick question is there a lavalink client for rust that's like not 2 years old
still the same error @earnest phoenix
show your code
"SELECT id FROM guild WHERE id = " + "C" @earnest phoenix
i meant in the sql command itself
Couldn't you use apostrophes instead
that's the same as SELECT id FROM guild WHERE id = C
you're just combining two strings together in the code, the sql command remains the same
so "SELECT id FROM guild WHERE id = ", "C"
@lethal sun 'C' inside the string
this? "SELECT id FROM guild WHERE id = C" @slender thistle
Yes, except put the C inside apostrophes

What was the fficial download of Python again and what do i use to type my code on pc? Cuz i forgot
I downloaden it but gve errors
Downloading Python...
hmm
Where did you download it
3.7 didnt worked for me
How do I randomize what my bot replies with in a command?
I use python
I downloaden on the Python official thing
Wich one do i get if i want to create a discord bot with it
Someone gave me a link this one
Https://discordpy.readthedocs
Oh
Is that the one j have to download
@upbeat solstice module random has a method choice which takes an iterable (iirc)
Not really, one sec
I asked this before but i still don't get it
pip install -U git+https://github.com/Rapptz/discord.py@rewrite#egg=discord.py[voice] but make sure you have Git installed
The docs for that: https://discordpy.readthedocs.io/en/rewrite/
The pip install isn't that in prompt
Yep
And then that link?
Google for Python 3.6
Is that the one?
So do i install pip when i have Python?
Wich Python download i do executable?
So i dont have to type pip install in prompt?
So i download on website then i go to pip in prompt ok? Then where can i type my code?
So like i type my lines and then executie them
I know a little bit for my code itself i am just not good with it im sorry
A little bit? Well, not to be rude but good luck creating a Discord bot in an intermediate+ level library
No i wont i have my code to awnser to commands and to get him online all i need for now but if i wanna do serious stuff i need knowledge wich i am learning Python i am gonna try learn it as good as posible
๐
I just for now want my bot to awnser stuff then i wanna make him welcome People etcetc
But yeah, basically... Download Python, download discord.py, rtfd, code in files and then execute it through command prompt, learn Python etc
Welcoming people? I can't give you a ready code but the logic behind it
I dont wanna steal code i wanna make myself
reading the docs uncovers a ton of logic 
But i dont like working with prompt
Barely what I notice from nowadays bot developers and myself cough
Either way, you don't need to work with the console too much
So basicaly i code in normal files
Yep
learn your language before working with it, its the golden rule
But where i type it? Not in prompt right?
he should rather learn how to program before touching any language
you write the code with a text/code editor in .py files, and execute it via cmd
Ok
Being sort of familiar with PCs will help you out a lot, as well
not sort of, a lot
and the cmd will most likely become your best friend, you just need to learn how to use it. its actually quite simple once you understand and memorize a few commands
Open pip3 for what?
For the cod3
No?
I dont get where i write it i need to executie in CMD but where i actually write it
you write the code with a code/text editor
In your files
Like say Visual studio?
yeah
Oh that i have
P.S Sublime Text is lighter than your fucking VS eating hella lots of RAM
i personally reccommend visual studio code, just because its lightweight as fuck and you probably dont need a full ide like vs just for a discord bot
stop faceplanting into a new environment, take slow steps and learn the basics first
you ๐ cannot ๐ write ๐ good ๐ code ๐ if ๐ you ๐ dont ๐ know ๐ the ๐ language ๐
Hellow
how do you code without knowing how to properly set up an environment to run said code
^

this
^^
Because i write it on mobile okay
Open source bots ig
LOL
Oh
oh yeah, here is a good guide for writing code on mobile
https://cyber28.xyz/codeonmobile
Already saw that
Thats why i wanna code on pc i have my code but not know how to do on pc!
that still doesnt justify why you wrote working python without knowing how to install and run python
I don't really understand why people hate mobile coders
because coding on mobile is shit and limited as fuck
@earnest phoenix i typed it on mobile that dont use this complicate stuff
I know thats why i wanna do on pc but dont know how it works
your mobile phone wasnt designed to run and debug thousands of lines of code and your phone runs an entirely different OS and architechture
usually limited to 1 file, not being able to install packages/modules/whatevertheyrecalledinpythonk, usually no autocompletion, basically missing everything that makes an actual code editor good
I don't mean running the code in this case but rather coding
highly doubt people who code on mobile are working on projects with "thousands of lines" 
unreadability
Getting used to it = Readability
@floral geyser i told you, take slow steps and learn the basics first
no it isnt
Ok i dont know if u guys get what i mean i mean this:
I have the code i wanna type i created the codewith the commands and online thing etc etc
The reason i ask is i wanna re type it on pc but never coded on pc!
yall when are we gonna start writing code on papyrus
Idk, I may just be that weird that I am good with coding on phone 
you can get used to reading sentences with one letter per line but it will never be humanly readable
stop making invalid points
Me?
It's not actually one character per line but eh, you do you ig
I was just wondering why people don't like those who code on phones, that's it
it was an example that contradicts your point
Code on nano at this point kek
I just made my code on Phone but i wanna make it on pc but dont know how to code on pc idfc about the language knowledge i wanna just type over what i typed on mobile
I tought this chanel was here also to ask for help if someone doesnt know something
yes, but we will not teach you an entire new language and environment
Coding on phone is the same as on PC but just in different ways of typing it out
???
wat
@earnest phoenix could u stop u keep saying i dont know the stuff ok i dont know all of Python at all but i have MY CODE and i wanna make it on PC LOOK AT WHAT K SAY: i have the code i just dont know how to bring it on PC
"sugar and salt are the same but just different in taste"
I dont want j to Teach me the language
a language is what communicates with your pc and converts your code into binary telling the pc what to do
you cannot not have a language
I can do that myself i just wanna know if i can type the code i Already have on pc
@earnest phoenix I HAVE MY LANGUAGE
Wtf listen i have the code i just wanna do it on pc
Send the files on PC? 
@floral geyser It depends on the app you're using, and it's about how your phone communicates with your computer. I don't think anyone here is gonna help you moving files from your phone to your pc lol
Its not about the code
This conversation is cursed
@slender thistle @pale marsh i dont mean moving files i mean how to start to type a code on pc idk that ok i just wanna know how to open the place where u type
an IDE
Notepad
no
:^)
So is it good to use that?
It depends on the language
For coding, yeah
I use Python @pale marsh
Visual Studio for C#/.net languages
an IDE, a language, compiling a program all link themselves, you can't do one thing without the other, which is why i've been telling you for the past 20 minutes to take a step back and learn the basics
Though you could use Sublime Text for that
Get PyCharm or something
How do i then get the discord packs is that in CMD?
You can literally google that
we literally told you tho
The pip install thing I sent in the beginning
So i type pip install ok
Google "how to install python packages"
Not really
I mean not literally pip install
So discord install
Neither
@pale marsh human interaction ;)
You'll find your answer there. We won't spoonfeed it
"doing research myself???? nahh you do it for me"
Ikr?
Today isn't a day of good attitude apparently
Well guys thanks shivaco for the help but il just find it out
/shrug
we told you everything you need, the problem is you and your lack of knowledge
Good luck anyway 
losing_braincells.py 
If a human cant ask another human for help 1nd No i dont ask for code just for help how to get the program well then i Will ask google
@slender thistle thank you so much :)
๐
@floral geyser a simple google search got me to this: https://github.com/Rapptz/discord.py/tree/rewrite
Check how to install the development version
python3 -m pip install -U git+https://github.com/Rapptz/discord.py@rewrite
Yeah it's weird
Danny smh 
I dont want lines of code
Random
Type this in command prompt: python3 -m pip install -U git+https://github.com/Rapptz/discord.py@rewrite
Or py instead of python3 idk how it is on windows
Insert literally that in your command prompt
I already have python
Update your bot files
Oh i insert the website thing to
It will install discord.py, a library you will use to manage your Discord bot
Do i also do that in cmd
Do what?
You wanna use in web? @floral geyser
Install discord.py
npm i discord.py
@earnest phoenix what u mean web?
@earnest phoenix criminal scum
Like glitch?
Sushi please
@mossy vine?
๐
@slender thistle do i type
Install discord.py
In cmd
No
please stop doubling my brain cell loss
On Google?
You can like stop reading this chat
Wtf i dont get it
That python -m etc thing @floral geyser
we told you, go back and learn the basics, we don't care that you don't care about the language, we won't teach you how to use a framework's CLI
I only explained what that does
inb4 skim reads then comes back with even more confusion
/s
to simplify, you cannot write a book in english if you don't know english
Sitting in the head for 30 mins explaining this thing
Not the best thing, I tell you
they won't get it because they don't want to learn
I have nothing to do and lose so whatevs 
I typed the thing in CMD and it says collecting discord
I typed
py - m pip install discord - U
Smh no
Ehh ujj
It sais done
Enjoy it
Is it right?
I'm not sure what to say rn
Nothing
I literally copied and pasted the installation command in the chat
Idk what else to do lol
I dont get it what i do?
You did great
you are literally disregarding everything we are saying
Hรฉ said i had to type that but my CMD Said to add a pip and i tought that was discord
Ok now i typed in
Python3 -m pip install -U git+https:// etcetc is tha right at least because ethzt is what u typed earlier @pale marsh @earnest phoenix
But it Said Python3 is not recognize as an internal or external command
@pale marsh overwrite
So things should be giod
Good
Maybe not
@floral geyser do pip3 install git+etc. or pip instead of pip3
So not the puthon-m thing
Yes
So do i write exat'ctly : git+https
Not exactly
Then what do i change do i change git
@pale marsh it keeps saying pip or pip3 is not a recognize able comand
Did you install Python
Via the official site yes
Did you add it to PATH
Do me a favor and in command prompt type python --version
How? Omg never told me this
Py isnt recognized
Part of learning a language is learning its environment, since you're so convinced you know python
Anyway off to eat. Good luck
I dont know Python and never Said i did i Said i knew the code i wanted tl type
Thanks
Enjoy your meal
Then how do i add it to path @slender thistle
The one called easy install
When it opens a prompt opens with a message and close too fast to read

I added to path but doesnt work
I think imma give up
Oh NVM it works
If i type python
I see stuff
How do I add pictures / gifs in commands for my bot? I use python mobile version
What do you mean by python mobile version?
Pydroid 3
Oh, no idea what that is
It's basically python still
@amber fractal python "ide" for android
Ide on mobile 
Well its when you say the command, an image / gif shows
Are you asking how to send attachments
screenshot or something?
NoO
i literally have no idea what you're talking about
What do you TYPE IN THE CODE to have an image / gif THAT SHOWS WHEN YOU SAY THE COMMAND
sTOP sHOUTING

Send as attachment...
which lib
What's a lib
hey here is a really great guide on how to code on mobile
https://cyber28.xyz/codeonmobile
uH





