#Discord bot

1 messages · Page 1 of 1 (latest)

pulsar silo
#

To upload the bot, first archive all the bot files including node_modules if it's a nodejs bot. After zipping all the files delete all files on the panel and upload this new zip/archive. After uploading it click the three dots and click unarchive. After that try to run the bot and it should work

#

If it's a python bot this might be a bit different

hybrid minnow
#

But then i get this 10-19 10:45:25 Traceback (most recent call last):
10-19 10:45:25 File "/home/container/bot.py", line 4, in <module>
10-19 10:45:25 import easyocr
10-19 10:45:25 ModuleNotFoundError: No module named 'easyocr'

stark notch
#

You need to install easyocr using pip, please run pip install easyocr

broken geyserBOT
#

@stark notch, you just advanced to level 5 !

hybrid minnow
#

Dosent work with this interface must use VPS

stark notch
#

you could try to build the module onto the server yourself w/o using pip

#

you could also use docker, that might work

hybrid minnow
#

@stark notch I got this from support: After reading up on the easyocr package, It appears that the package requires partly OS level access to be installed and isn't something that can just be installed within a container assistance from access outside the container. This unfortunately isn't something we can provide for you. To resolve this you would probably want to look into a VPS option and running the bot directly on a VPS instead of a discord bot host.

stark notch
#

agreed, you would need to run the bot on a Virtual Private Server (VPS) or a Virtual Machine (VM) if you need to install packages directly to the machine for the bot to work. However, if the bot host has docker setup, you may be able to use easyocr through docker instead of having to install it.

hybrid minnow
#

Best option is to just get an vps and run it trough cmd?

stark notch
#

there may be better ways to interface with it than just a command line but yes that would work

hybrid minnow
#

Ok