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 details)
File details
Details for the file neirogenius-1.1.0.tar.gz.
File metadata
- Download URL: neirogenius-1.1.0.tar.gz
- Upload date:
- Size: 8.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.10.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a00836352584534bb5c6b17b9f0ad73991638cfce072b064aa1015b7e1cb4d50
|
|
| MD5 |
8e290200cd67d8e7509fd41c7baea782
|
|
| BLAKE2b-256 |
a46c005acc0669bc0945e666d669672fe750e1505b16a1ba7bf3dd254b3500ea
|