A Python wrapper for the Nertivia API
Project description
Nertivia4PY
A Python wrapper for the Nertivia API.
Support Nertivia server : https://nertivia.net/i/nertivia4py
Install
pip install nertivia4py
Example
import nertivia4py token = "TOKEN_HERE" prefix = "!" bot = nertivia4py.Bot(prefix) @bot.event def on_success(event): print("Connected!") @bot.command(name="ping", description="Ping command.") def ping_command(message, args): message.reply("Pong!") bot.run(token)For more examples, take a look at the examples folder in the github repo.
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
nertivia4py-1.0.6.tar.gz
(12.2 kB
view hashes)