semvec/pypi-packages huggingface dataset:
pynepcord 1.0.1
Python SDK for the NeppedCord API
License: MIT

# PyNepCord - NeppedAPI Python Library
PyNepCord is easy-to-use library that uses [NeppedAPI](https://api-docs.neppedcord.top). 
 
Check the `Docs` directory for getting started guide, usage examples and API reference.

# Basic usage
```python
#!/usr/bin/python
# -*- coding: utf-8 -*-

from pynepcord.base import ImageSession


if __name__ == '__main__':
    key = 'your-api-token'
    session = ImageSession(key) # Create a session to get images
    image = session.get_image('happy') # get the image by the 'happy' category
    print(image.url) # display the URL of the picture in the terminal
```

# async/await
```python
#!/usr/bin/python
# -*- coding: utf-8 -*-

import asyncio
from pynepcord.aio import ImageSession
# pynepcord.base - the non-async version that uses `requests`.
# pynepcord.aio - same, but uses `aiohttp` and async/await syntax.


async def main():
    key = 'your-api-token'
    session = ImageSession(key)
    image = await session.get_image('happy')
    print(image.url)

if __name__ == '__main__':
    asyncio.run(main())
```

# License

```
MIT License

Copyright (c) 2020 NellyD3v

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
```
ext-reactions 0.2.0
discord.py extension that adds reaction commands
License: MIT
Requires Python: >=3.6.4

# Reaction Commands Extension
Extension to discord.py Bot that adds reaction based commands.


I'll finish this eventually and ~~document it somewhere maybe~~.

[![Documentation Status](https://readthedocs.org/projects/extreactions/badge/?version=latest)](https://extreactions.readthedocs.io/en/latest/?badge=latest)
[Nice, docs are here](https://extreactions.readthedocs.io/en/latest/) 😄

[![PYPI](https://img.shields.io/pypi/v/ext-reactions)](https://pypi.org/project/ext-reactions/) 😄

[![Github](https://img.shields.io/github/last-commit/z03h/ext-reactions)](https://github.com/z03h/ext-reactions) 😄

```python
# install with pip
python3 -m pip install ext-reactions
# or windows
py -3 -m pip install ext-reactions

# developement install
python3 -m pip install -U git+https://github.com/z03h/ext-reactions@master
# or windows
py -3 -m pip install -U git+https://github.com/z03h/ext-reactions@master
```
___
Example code

```python
import asyncio

import discord
from discord.ext import commands, reactioncommands

intents = discord.Intents.default()
intents.members = True


bot = reactioncommands.ReactionBot(command_prefix='!',
                                   prefix_emoji='🤔',
                                   listening_emoji='👀',
                                   intents=intents)

@bot.reaction_command('🏓')
async def ping(ctx):
    await ctx.send('Pong!')

with open('definitely-not-my-token', 'r') as f:
    token = f.read()

bot.run(token)
```
___

Why would you use this?

You wouldn't, but you can use/subclass `ReactionBot` and it should behave
like a normal `ext.commands.Bot`.

~~You can make Bot commands without message intent, so it has that going for it~~