A Python Package to make Discord bots with ease. (It also has a lot of documentation so you will never be stuck)
Project description
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 = 0.0.5
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for discord_bot_maker-0.0.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9a2470ff19b39959e8370926a4094c01acc7322b5ee07beeee1c547801597727 |
|
MD5 | 892a7e7aaca13b9cf49821b4a473ff42 |
|
BLAKE2b-256 | f4cd645c46665e36c7ab8657b1a6697f0b6694798fade28a9bb6d02debd6a561 |