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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

Details for the file discord_bot_maker-1.0.0.tar.gz.

File metadata

  • Download URL: discord_bot_maker-1.0.0.tar.gz
  • Upload date:
  • Size: 6.5 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for discord_bot_maker-1.0.0.tar.gz
Algorithm Hash digest
SHA256 cce8364a74d35c9c15e9a385dbd0af3eed6d37494bdba9ca7cca79ae82c4405f
MD5 e36a8ae47140aed8ba3c710ca28e6d52
BLAKE2b-256 ce08fd5a846796100cc81abcb7a0871707f301e376786cbb874344a8aee0be2a

See more details on using hashes here.

File details

Details for the file discord_bot_maker-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: discord_bot_maker-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 6.3 kB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for discord_bot_maker-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0f31bfb29cd6671bb6eccbe562dd37ee7614f39787261ef0fb210c4c0e4d9c67
MD5 ee9c6d27bda87030ac724289b526c657
BLAKE2b-256 e83830677881271b539172e2ab0361a6494acdf0d2a4839e3008c05151d8decc

See more details on using hashes here.

Supported by

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