discord-bot-maker-1.0.0
توضیحات
A Python Package to make Discord bots with ease. (It also has a lot of documentation so you will never be stuck)
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | discord-bot-maker-1.0.0 |
| نام | discord-bot-maker |
| نسخه کتابخانه | 1.0.0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Aaryan Dehade |
| ایمیل نویسنده | dehadeaaryan@gmail.com |
| آدرس صفحه اصلی | https://github.com/dehadeaaryan/discord-bot-maker |
| آدرس اینترنتی | https://pypi.org/project/discord-bot-maker/ |
| مجوز | - |
### Introduction
Use this module to create professional discord bots in just a few lines of code. Created by Aaryan Dehade to fulfill the wishes of gamers who want an awesome custom bot for their discord server.
- Short Code
- Easy to Learn and Understand
- Regular updates to functionality
### Code Format
```Python
from discord_bot_maker import DBot
d = DBot(bTOKEN : str, bPrefix : tuple = ".", owner : str = FATHER, helpCommand : bool = True, baseCode : bool = True)
d.createCommand(trigger = trigger, reply = reply1, reply2 = reply2, emoji = emoji, image = link, help = help)
d.bRun()
```
### Code Format (Shorter)
```Python
from discord_bot_maker import DBot
d = DBot(bTOKEN : str, bPrefix : tuple = ".", owner : str = FATHER, helpCommand : bool = True, baseCode : bool = True)
d + (trigger, reply1, reply2, emoji, link, help)
d()
```
### Code Format (Shrotest)
```Python
from discord_bot_maker import DBot
with DBot(TOKEN) as d:
d + (trigger, reply1, reply2, emoji, link, help)
```
### Example Program
```Python
from discord_bot_maker import DBot
d = DBot(TOKEN)
d.createCommand(trigger = "jump", reply = "whoop!", reply2 = "I just jumped", emoji = "😄", image = "jumping.gif", help = "jumps")
d()
```
### Extra Features
- Get number of commands using `len(d)`
- Get instance of bot using `d.getBotInstance`
(replace `d` with DBot object)
### Internal Variables
- Author
- `<author name>`
- `<author mention>`
- `<author display name>`
- `<author discriminator>`
- Message
- `<message time>`
- `<message content>`
- `<message clean content>`
- Channel
- `<channel name>`
- `<channel topic>`
- `<channel category>`
- `<channel mention>`
- Guild
- `<guild name>`
- `<guild member count>`
- `<guild description>`
- `<guild features>`
##### Use the above given variables as strings in reply or reply2
**NOTE :** Mentions will only work in reply2
### Pre Made commands
- `commandHi(aliases : list, help : str, message : str, description : str, gif : str)` Adds Hi Command
- `commandHelp(title : str, description : str)` Adds Help Message Command
### More Information
- The Prefix Tuple can include as many prefixes as you may like
- The **TOKEN** must be copied from [Discord Developer Portal](https://discord.com/developers/applications)
- You can create as many commands as you like
- The `bRun()` command is required to run the bot(You can also call the object like so: `d()` if d is your DBot object)
##### Join our discord server [here](https://discord.gg/MsGWMYQZWC)
*version = 1.0.0*
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.6 | Python |
نحوه نصب
نصب پکیج whl discord-bot-maker-1.0.0:
pip install discord-bot-maker-1.0.0.whl
نصب پکیج tar.gz discord-bot-maker-1.0.0:
pip install discord-bot-maker-1.0.0.tar.gz