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.72.tar.gz
(8.2 kB
view hashes)
Built Distribution
Close
Hashes for discorebots-0.0.72-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c6a9db585e8f832be6dda8062ca8278f568ead31302a9d3c02ee3849d1e811d5 |
|
MD5 | 3599c0d04d3847ac4b7780a0f3f33647 |
|
BLAKE2b-256 | 704331303061346bb8875b4c0b70b6cdb46d706afa0707137777935f03146c81 |