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"
)
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.61.tar.gz
(6.7 kB
view hashes)
Built Distribution
Close
Hashes for discorebots-0.0.61-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 788daaa652b64af3313a2e295e565d99fd3cc3311c3fae43527428cd020b854c |
|
MD5 | 4b7628cad1b2851d7ab6913ea6a2bcce |
|
BLAKE2b-256 | bf983fd22adb99d2734b54f1a93e657063563d8aac96fa61f6e67a3bfa255029 |