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
token="bot token"
)
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() #start client
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.74.tar.gz
(9.4 kB
view hashes)
Built Distribution
Close
Hashes for discorebots-0.0.74-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 226644583c00ddd1620c2722661e0763096ddd63d7d4ddedacaeed37cba20e21 |
|
MD5 | 4c996e679ce3fedf8722b07fd437adfa |
|
BLAKE2b-256 | 5f52e19615065af92e50f27d833cd42f0975878df18656a38966dcb353743bfa |