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.66.tar.gz
(7.3 kB
view hashes)
Built Distribution
Close
Hashes for discorebots-0.0.66-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 40d3ce2c6e75208091c1c905c956f214b99a978ba92b70b629c2f8102b8ef4f2 |
|
MD5 | 02938af309dbd5034ef6f599e3c31a1d |
|
BLAKE2b-256 | 8d6f2ebd24e6dc6de327359ca4fe504075e385202e4bb66456206519da53e903 |