#๐Ÿ”’ Starting a discord bot help

81 messages ยท Page 1 of 1 (latest)

noble lake
#

Hello! I am starting a Gacha discord bot and need help with the early stages of coding.
I created the bot, and it is in my guild; I am unsure how to access the coding part and start coding. I've been told to download a few programs through different websites, but I'm unsure of the best route.

merry nicheBOT
#

@noble lake

Python help channel opened

Remember to:

  • Ask your Python question, not if you can ask or if there's an expert who can help.
  • Show a code sample as text (rather than a screenshot) and the error message, if you've got one.
  • Explain what you expect to happen and what actually happens.

:warning: Do not pip install anything that isn't related to your question, especially if asked to over DMs.

gleaming frost
#

look up a few tutorials or something

earnest pebble
#

There are a few examples in the discord.py github repo

noble lake
#

ahhh okok how do i install discord.py i go to the website and its just a table of contents in unsure of where to go on the website its really confusing

earnest pebble
#

you can use pip install discord.py

noble lake
#

where do i put that? in the search bar?

gleaming frost
merry nicheBOT
gleaming frost
#

ye that one

#

cant delete other one for some stupid reason

noble lake
#

okok also I am on a macbook if that changes anything?

earnest pebble
#

nope it should work on mac also

noble lake
#

okok where would the terminal be

earnest pebble
#

open spotlight and type in Terminal

#

(assuming you have python installed)

noble lake
#

i do not yet! where is the download link

gleaming frost
earnest pebble
#

lol

gleaming frost
earnest pebble
earnest pebble
gleaming frost
#

i wish i knew the answer to that

earnest pebble
#

im just surprised i remembered the name for that feature in the first place

noble lake
#

i found it!!

#

and i downloaded python

earnest pebble
#

that's gud
Now you should be able to use the python command in the Terminal

noble lake
#

okok

earnest pebble
noble lake
earnest pebble
#

you may have to reopen your terminal

noble lake
#

okay athats real

earnest pebble
#

otherwise-
have you tried turning it off and on again

noble lake
#

okok then ill brb if i do this
pip install discord.py
should it be doing something when i type that

earnest pebble
#

what does it say when you type it?

noble lake
#

command not found

earnest pebble
#

you can try prefixing python -m before it:

python -m pip install discord.py
noble lake
#

it says command not found python

#

let me try shutting down and coming back

earnest pebble
#

sanity check,
did you only download python, or did you also actually launch the installer

noble lake
#

that would be helpful

earnest pebble
#

.. :P

noble lake
#

do i have to do anything here

earnest pebble
#

no i think that's good

#

default settings i suppose

noble lake
#

yes yes should be fine

#

i opened it and it still says command not found

#

should i try shutting it down now?

earnest pebble
#

you can try python3 as command

noble lake
#

opkok

earnest pebble
#

otherwise you can indeed try restarting

noble lake
#

IT WORKED THANK YOU

#

okok it says this

earnest pebble
#

yeah that's good

#

click ctrl+z to exit the python interpreter

noble lake
#

okok

earnest pebble
#

then run python3 -m pip install python.py

#

oh wait

noble lake
#

okokok

#

ITS WORKING YAY

earnest pebble
#

:D

noble lake
#

its installed, now am i able to start with basic commands or do i have more steps before that

earnest pebble
noble lake
#

thank you so much!!!! uyou were such a big help thank you for being patient with me pepeHearts

earnest pebble
#

you are able to use python on your device now.
You have to start/launch python files using python3 file.py

#

:))

noble lake
#

okokok!! thank you!!

#

you can close this now pepeShy

earnest pebble
#

you can use !close to close the thread

noble lake
#

ohhh oKOKOK THANK YOU

merry nicheBOT
#
Python help channel closed with !close

This help channel has been closed. Feel free to create a new post in #1035199133436354600. To maximize your chances of getting a response, check out this guide on asking good questions.