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
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)
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)
from discord_bot_maker import DBot
with DBot(TOKEN) as d:
d + (trigger, reply1, reply2, emoji, link, help)
Example Program
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 CommandcommandHelp(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
- 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
version = 1.0.0
Release files for discord-bot-maker 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| discord_bot_maker-1.0.0.tar.gz | 6.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| discord_bot_maker-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 12.8 kB
Release files / discord_bot_maker-1.0.0.tar.gz
| Download URL | discord_bot_maker-1.0.0.tar.gz |
|---|---|
| Size | 6.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cce8364a74d35c9c15e9a385dbd0af3eed6d37494bdba9ca7cca79ae82c4405f
|
|
BLAKE2b-256 checksum How to use checksums |
ce08fd5a846796100cc81abcb7a0871707f301e376786cbb874344a8aee0be2a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.9.6
|
Release files / discord_bot_maker-1.0.0-py3-none-any.whl
| Download URL | discord_bot_maker-1.0.0-py3-none-any.whl |
|---|---|
| Size | 6.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0f31bfb29cd6671bb6eccbe562dd37ee7614f39787261ef0fb210c4c0e4d9c67
|
|
BLAKE2b-256 checksum How to use checksums |
e83830677881271b539172e2ab0361a6494acdf0d2a4839e3008c05151d8decc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.9.6
|