Skip to content

Commit

Permalink
Added troubleshooting steps in README.md (pufferpanel#188)
Browse files Browse the repository at this point in the history
  • Loading branch information
CristianEduardMihai authored Dec 1, 2022
1 parent 3ac427d commit f31c16d
Showing 1 changed file with 34 additions and 2 deletions.
36 changes: 34 additions & 2 deletions discord-py/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,37 @@
# Discord.py pufferpanel template

### Allows you to easly host your discord bots
- Made by @CristianEduardMihai

# Troubleshooting

```
No module named pip
```
- That's an easy fix, install pip

Ubuntu/Debian/Raspbian
```
sudo apt update
sudo apt -y install python3-pip
```
Fedora
```
sudo dnf install python3-pip
```
[Centos](https://linuxize.com/post/how-to-install-pip-on-centos-7/)

---
```
Could not open requirements file
```
- Read [this](https://learnpython.com/blog/python-requirements-file/) and create a requirements.txt file
---
```
can't open file '/var/lib/pufferpanel/servers/xxxxxxxx/bot.py'
```
- Is your file named `bot.py` ? If not, edit the server settings

![image](https://i.imgur.com/0kAliVV.png)

- Made by @CristianEduardMihai
### If you did everything above(and only then), and it's still not working, ask for support on discord
![image](https://i.imgur.com/Po12CF7.png)

0 comments on commit f31c16d

Please sign in to comment.