Simple wrapper for the Neirogenius API
Project description
NeirogeniusPY
NeirogeniusPY is a Python wrapper for the Neirogenius API.
Neurogenius is a Discord bot created by @Pelfox that entertains people. It generates funny sentences using words from server members' messages.
Installation
- Using PyPi
pip install neirogenius
Example usage
# Import the API class.
from neirogenius import API
# Create an instance of the API class.
api = API()
# Get the ID of the first guild.
guild = api.get_statistic().guilds[0].name # Some name.
# Get the first message.
message = api.get_messages(677481923995500566).messages[0] # Instance of Message class.
# Print message content.
print(message.content)
License
This project is licensed under the Apache License Version 2.0.
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
neirogenius-1.1.0.tar.gz
(8.1 kB
view hashes)