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.75.tar.gz
(10.0 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file discorebots-0.0.75.tar.gz.
File metadata
- Download URL: discorebots-0.0.75.tar.gz
- Upload date:
- Size: 10.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/3.10.1 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.8.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
69332b11a1721b49d8575b609c495d9caa0b55857dbd8cfe372f85b69b28ceac
|
|
| MD5 |
5fb87e2bb0b453779bf9cf294e0f7756
|
|
| BLAKE2b-256 |
a19169e4077bc142c723c9a4d4b052ba58ddee44d93fd76ec0d7ebf73dbf2bcf
|
File details
Details for the file discorebots-0.0.75-py3-none-any.whl.
File metadata
- Download URL: discorebots-0.0.75-py3-none-any.whl
- Upload date:
- Size: 10.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/3.10.1 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.8.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0c5c9781c41407a73ddd92c2e28f1903df0894945a33262c3c8e7e505504a101
|
|
| MD5 |
2cd08bc2968acc900a284e5042899516
|
|
| BLAKE2b-256 |
3fe842945336edc66283ca58de4206e2fd8a2fa892de9b19efdb04778dbea9cb
|