semvec/pypi-packages huggingface dataset:
discwrappy 0.5
A Python wrapper for the Discord API
Keywords: Discord,API,wrapper,python,library

# DiscWrappy
A Python wrapper for the Discord bot API

# Docs
### **Initialization:**
```py
import discwrappy

client = discwrappy.Client()

...

client.run(TOKEN)
```

### **Functions:**
**`@Client.on() - decorator`:**
  * **Params:**
    * **[event_type](./event_types.md) -** The type of event you're waiting for
  * **Function:**
    * Creates a "listener" which waits for the given event and triggers your function
> ```py
> @client.on("READY")
> def onReady(ready):
>     print("bot online")
> ```

**`Message.send() - function`:**
  * **Params:**
    * **message (dict) -** The Mesage you want to send
  * **Function:**
    * Sends the given dict to the message's channel
> ```py
> @client.on("MESSAGE_CREATE")
> def printMessageContent(message):
>     message.send({ "content": message.content})
> ```

**`discwrappy.Message() - class`:**
  * **Params:**
    * **message (dict) -** The default Discord message dict
  * **Function:**
    * Turns given message dict into a "proper object" (keys can be access with dot notation), converts numeric ids to ints, and gives the message send functions

**`discwrappy.User() - class`:**
  * **Params:**
    * **user (dict) -** The default Discord user dict
  * **Function:**
    * Turns given user dict into a "proper object" (keys can be access with dot notation) and converts numeric ids to ints

**`discwrappy.GuildMember() - class`:**
  * **Params:**
    * **user (dict) -** The default Discord guild member dict
  * **Function:**
    * Turns given guild member dict into a "proper object" (keys can be access with dot notation)
pytest-embrace 4.0.0
💝  Dataclasses-as-tests. Describe the runtime once and multiply coverage with no boilerplate.
Requires Python: >=3.8,<4.0

[![PyPI version](https://badge.fury.io/py/pytest-embrace.svg)](https://badge.fury.io/py/pytest-embrace) [![PyPI pyversions](https://img.shields.io/pypi/pyversions/pytest-embrace.svg)](https://pypi.python.org/pypi/pytest-embrace/) ![CI](https://github.com/ainsleymcgrath/pytest-embrace/actions/workflows/ci.yml/badge.svg)

![logotype](https://raw.githubusercontent.com/ainsleymcgrath/pytest-embrace/master/docs/logotype.svg)

The `pytest-embrace` plugin enables judicious, repeatable, lucid unit testing using.

Check out [the docs](https://ainsleymcgrath.github.io/pytest-embrace/) for more.