Skip to main content

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 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
  • 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

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

discord_bot_maker-1.0.0.tar.gz (6.5 kB view hashes)

Uploaded Source

Built Distribution

discord_bot_maker-1.0.0-py3-none-any.whl (6.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page