Dispy - package for creating bots
Project description
Dispy
Needs minimal 3.8 python version
Download stable version
# Windows
pip install --upgrade disspy
# Linux/MacOS
python3 -m pip install --upgrade disspy
Download dev version
git clone https://github.com/itttgg/dispy.git
cd dispy
pip install --upgrade .
Links
https://github.com/itttgg/dispy - GitHub repo
https://pypi.org/project/disspy - Project site on PyPi
https://dispydocs.herokuapp.com/ - Site with docs for package
Using
Creating and running bot
import disspy
bot = disspy.DisBot(token="YOUR_TOKEN")
bot.run()
bot.on("ready")
import disspy
bot = disspy.DisBot(token="YOUR_TOKEN")
@bot.on("ready")
async def on_ready():
print("Ready!")
bot.run()
bot.on("messagec")
import disspy
bot = disspy.DisBot(token="YOUR_TOKEN")
@bot.on("messagec")
async def on_messagec(message):
await message.channel.send("Test!")
bot.run()
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
disspy-0.2.1.tar.gz
(21.0 kB
view hashes)