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.1
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.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 60546c291327fa5f1efafc69f0c5ac370758008d321e5db7c2e6bc084706000c |
|
MD5 | c438d802277bbc2df375e4b114110eeb |
|
BLAKE2b-256 | 4f38c2f0902acee1c8537b4500c13a9f9c3a5ec64695842cb2942a719a49d713 |