Package to create discord bots its easy!
Project description
About
Module to create discord bots its easy!
#Example
from discorebots import setupBot
bot = setupBot(
prefix=".", #provide your bot prefix
intents=True, #discord intents (if True pls enable intents in discordapp.com/developers/applications in your application bot)
sharding=True, #if you want sharding guilds
shardsAmount=2 #shards count
)
bot.onWebsocketResponse("Bot is ready to use!") #log ready
bot.onClientMessage() #acess bot messages
bot.addCommand(
name = "ping",
code = "Pong! $pingms" #if you want change prefix in command add: prefix="new prefix"
)
bot.addCommand(
name = "uptime",
code = "Uptime: $uptime"
)
bot.start("token")
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
discorebots-0.0.64.tar.gz
(7.0 kB
view hashes)
Built Distribution
Close
Hashes for discorebots-0.0.64-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f52860d47a13134430fa53ecb4efd69ae1a4878f8b31d5d8f760ffae1ea44860 |
|
MD5 | 8de40fe8a9bf7bf2dc587fb1b69fd21d |
|
BLAKE2b-256 | 661ca383feadc50a4f7bb3b35beb0489f7d59a5ba8cbe714ead3af6fbfd2b25e |