Skip to content

Commit 60af7ac

Browse files
committed
New Updates
0 parents commit 60af7ac

File tree

5 files changed

+131
-0
lines changed

5 files changed

+131
-0
lines changed

.gitignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
.env
2+
.env.developement
3+
__pycache__
4+
install_packages.py
5+
bot
6+

.gitpod.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
2+
tasks:
3+
- init: python install.py
4+
command: pyhton bot/bot.py
5+
6+
ports:
7+
- port: 3000
8+
visibility: public
9+
10+
vscode:
11+
extensions:
12+
- ms-python.python

README.md

Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,77 @@
1+
# 🤖 Nextcord Bot Template
2+
A simple template for building a beautiful discord bot with nextcord.Here I have also implemented the buttons, discord modals and select menus along with slash commands. This project is under progress so you have to wait for some time to get your wanted features.
3+
4+
## 💻 Features
5+
1. Added MongoDB database for saving bot data (eg:- bot prefix).
6+
2. Added Listeners and added a lot of bot customization options.
7+
3. Dynamic help command with buttons.
8+
4. Added sub-commands examples in `__sub-command.py`.
9+
5. Added some commands related to the stats of the bot.
10+
6. Added some commands to send channel stats, to create or delete channels.
11+
7. Added a cog handler.
12+
8. Added configuration cog.
13+
9. Added ping and eval command.
14+
10. Added fun commands.
15+
11. Added music cog.
16+
12. Added utility cog.
17+
13. Added suggestion cog.
18+
14. Added slash commands.
19+
15. Added discord modals.
20+
21+
## 💻 How to setup
22+
### Step 1
23+
Run ```git clone https://github.com/abindent/Nextcord-Utility-Bot.git``` this command to our terminal for cloning this repo.
24+
25+
### Step 2
26+
Add environment variable file (eg:- `.env`, `.env.local`, `.env.developement`).
27+
28+
29+
After creating a .env file add the following lines
30+
31+
BOT_TOKEN=<Your bot's token>
32+
MONGO_URI=<connection string to your mongodb collection>
33+
JOKE_API=<rapidapi key>
34+
secret_id=<random hard to guess string>
35+
ALGOLIA_SEARCH_APP_ID=BH4D9OD16A
36+
ALGOLIA_SEARCH_API_KEY=f37d91bd900bbb124c8210cca9efcc01
37+
38+
39+
### Step 3
40+
Install dependencies using ```pip install -r requirements.txt``` and run `python bot/bot.py` in your local machine.
41+
42+
43+
## 📝 Task list
44+
- [x] To add custom prefix.
45+
- [x] To add eval command.
46+
- [x] To add games and activity commands in bot.
47+
- [ ] To format code and enhance it.
48+
- [x] To add new discord modal here.
49+
50+
## Main Dependencies
51+
1) **NEXTCORD**
52+
53+
![PyPI](https://img.shields.io/pypi/v/nextcord?style=for-the-badge)
54+
55+
2) **NEXTCORD-EXT-MENUS**
56+
57+
![PyPI](https://img.shields.io/pypi/v/nextcord-ext-menus?style=for-the-badge)
58+
59+
3) **NEXTCORD-EXT-IPC**
60+
61+
![PyPI](https://img.shields.io/pypi/v/nextcord-ext-ipc?style=for-the-badge)
62+
63+
4) **PYMONGO**
64+
65+
![PyPI](https://img.shields.io/pypi/v/PyMongo?style=for-the-badge)
66+
67+
5) **MOTOR**
68+
69+
![PyPI](https://img.shields.io/pypi/v/motor?style=for-the-badge)
70+
71+
6) **HUMANFRIENDLY**
72+
73+
![PyPI](https://img.shields.io/pypi/v/humanfriendly?style=for-the-badge)
74+
75+
7) **NEXTWAVE**
76+
77+
![PyPI](https://img.shields.io/pypi/v/nextwave?style=for-the-badge)

requirements.txt

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
aiohttp==3.8.1
2+
algoliasearch==2.6.1
3+
base65536==0.1.1
4+
dnspython==2.2.0
5+
humanfriendly==10.0
6+
motor==2.5.1
7+
nextcord==2.0.0b3
8+
nextcord-ext-activities==2022.4.2
9+
nextcord-ext-ipc==2.2.1
10+
nextcord-ext-menus==1.5.3
11+
parsedatetime==2.6
12+
pbwrap==1.3.1
13+
psutil==5.9.0
14+
pymongo==3.12.3
15+
PyNaCl==1.5.0
16+
pyparsing==3.0.7
17+
python-dotenv==0.19.2
18+
quickchart.io==1.0.1
19+
rapidfuzz==2.0.6
20+
requests==2.27.1
21+
requests-toolbelt==0.9.1
22+
typing_extensions==4.0.1
23+
TagScriptEngine==2.3.0
24+
urllib3==1.26.8
25+
nextwave==1.5
26+
webcolors==1.11.1
27+
nextcordUtils==1.0

run.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
import subprocess
2+
3+
def run_bot():
4+
subprocess.check_call(["python", "bot/bot.py"])
5+
6+
7+
if __name__ == "__main__":
8+
run_bot()
9+

0 commit comments

Comments
 (0)