#๐Ÿ”’ How to Fix it?

126 messages ยท Page 1 of 1 (latest)

silent dune
#

no module found called discord

ruby anvilBOT
#

@silent dune

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.

toxic reef
#

You need to python3 -m pip install discord.py, adjusting python3 for however you invoke Python.

silent dune
#

i insert the code? @toxic reef

#

at the beginning of the line

#

because im using phone

toxic reef
#

No, this is an install step. You do this from the command line outside Python.

silent dune
#

im using phone

#

where should i put it

toxic reef
#

I'm not sure, on a phone. I'm a UNIX CLI guy.
Basicly, you need to install this: https://pypi.org/project/discord.py/
in whatever fashion your Python environment wants third party packages installed.

silent dune
#

how

#

do i install it

#

im on ios

viscid wharf
#

How do you run Python on your iPhone?

silent dune
#

can u atleast help

silent dune
paper summit
#

if you actually answered questions with useful answers maybe someone could have helped you

silent dune
#

i lit told him what apps

paper summit
#

termux isn't even available on ios, is it?

silent dune
#

HOLY USLESSS

silent dune
#

i am not jailbreaking my device to install a pip

paper summit
#

if you have termux you have a terminal where you can run stuff, at that point working on ios isn't even too relevant

#

you would just pip install like usual

toxic reef
#

Pretty sure I've got termux on my phone, ios.

paper summit
#

the ios termux looks so scammy, lol

#

the best developer name

silent dune
#

BRO THIS CHANNEL IS NOT USED FOR TALKING

silent dune
#

ITS USED FOR HELPING

paper summit
#

does it matter?

jade adder
#

Termux is a terminal.
pip install is a terminal command.
Use the command python -m pip install discord.py in that terminal.

And stop yelling at folks trying to offer you help, please.

silent dune
#

im not yelling at others

jade adder
#

You're not listening, or they would be.

silent dune
paper summit
#

||unoffical termux rip-off||

but really, if what you have is anything close to termux you have a linux system with a terminal

#

you can just run the pip commands to install stuff

#

the fact that you are on ios shouldn't matter unless maybe you run into architecture limitations

silent dune
#

lock this post

solemn birch
#

Wait are you the guy that we kept telling weeks ago to not use your phone for Python development?

silent dune
#

YO I AM NEVER USING TERMUX IOS

solemn birch
#

Okay never mind then

#

But anyway

silent dune
#

why do u have to pay for going to the executor

#

the heck

solemn birch
#

That's a very bad idea, so if at any point you can use a computer

#

Do it

paper summit
jade adder
#

As you're finding out, using terminal programs on a phone is not typical.
Your best bet is to run stuff on a laptop, if you have one.
There are some online solutions like using Replit or GitHub Codespaces, as well.

paper summit
#

the actual termux is a great project

silent dune
#

Im using xTerminal now

paper summit
#

idk what is a good dev env for ios, so I can't help with recommendations there sadly

silent dune
#

omg

#

how can i make a bot

#

if all executors need payment or hosts

viscid wharf
#

You can't realistically host a bot on a phone, not if you want that bot to be available for any extended period of time.

#

xTerminal appears to be an SSH client. If that is true, you can use it to connect to another computer running the bot.

silent dune
#

I dont have a computer

viscid wharf
silent dune
#

bro help

#

what terminal should i use

viscid wharf
#

AFAIK, there's no real (in the sense of running a local full-fledged shell) terminal apps on iOS, because Apple disallows it.
There's decent SSH clients for logging into a remote server (I hear Termius is good), but that doesn't seem to be what you want.

#

I'm sorry to say it, but it appears that what you want and what is possible aren't compatible.

silent dune
#

Im installing termius rn how did u know

#

with termius it might work i dont know

ripe heron
viscid wharf
#

Termius is an SSH client, it allows you to connect to a remote machine.

jade shard
#

just curious do you have a computer (running python on random phone is definitely not something i can help with though)

paper summit
#

I get a sense that there is no listening going on ๐Ÿฅด

jade shard
#

my bad

paper summit
#

python works fine on termux on android, but even that is not going to be too helpful for hosting a bot with any sensible uptime

jade adder
#

In terms of hosting, we have some guides here:

#

!hosting

ruby anvilBOT
#
Discord Bot Hosting

Using free hosting options like repl.it for continuous 24/7 bot hosting is strongly discouraged.
Instead, opt for a virtual private server (VPS) or use your own spare hardware if you'd rather not pay for hosting.

See our Discord Bot Hosting Guide on our website that compares many hosting providers, both free and paid.

You may also use #965291480992321536 to discuss different discord bot hosting options.

jade adder
#

For developing via the phone and then hosting on one of these, I'd seriously consider something like a GitHub Codespace. Store things in a repo and launch a Codespace to be able to edit and run code.
Eventually build out a way to deploy from that repo into one of those hosting solutions.

ripe heron
#

Also on A16 you get terminal app for full sandboxed machine that can help with uptime, but still not sensible for reliable uptime

jade adder
#

It's seriously tedious simply because you're restricted to a phone, of course

paper summit
red edge
#

Oracle used to have, and I'm pretty sure it still have a very generous free tier for arm processor vps. But you will have to look it up.

paper summit
silent dune
#

Guys

#

What should i use for my bot

#

Wait

ripe heron
#

Buy a computer that on 24/7

silent dune
ripe heron
#

Or rent a vps

silent dune
#

is there a way i can do it with a phone

ripe heron
silent dune
#

Basically the bots up for a little bit of time

viscid wharf
silent dune
#

Then it goes down

#

Then it goes up when i run the code

ripe heron
#

We have said it 300 time already, not for iPhone since apple actively don't allow it

silent dune
#

what do i do with it

#

@viscid wharf i clicked on the link

#

What should i do

ripe heron
#

Just read...

silent dune
#

dude

#

all of it talks abt money

viscid wharf
#

It does, but you don't need to pay for the free tier

silent dune
#

yeah what do i do with it

#

A free bot runner?

#

or smth

ripe heron
#

READ

#

I feel like I am going insane rn

viscid wharf
silent dune
#

should i put a fake address

#

?

ripe heron
#

Think yourself

#

Jsyk you would not get advised to put fake address here

ruby anvilBOT
#
Discord Bot Hosting

Using free hosting options like repl.it for continuous 24/7 bot hosting is strongly discouraged.
Instead, opt for a virtual private server (VPS) or use your own spare hardware if you'd rather not pay for hosting.

See our Discord Bot Hosting Guide on our website that compares many hosting providers, both free and paid.

You may also use #965291480992321536 to discuss different discord bot hosting options.

silent dune
#

why is replit not allowed

#

oh lag

ruby anvilBOT
#
Python help channel closed for inactivity

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.