Metadata-Version: 2.1
Name: DisCode.py
Version: 1.0.0
Summary: Asynchronous Python API wrapper for the Discord Gateway API and Discord REST API.
Home-page: https://github.com/thefargg/discode
Author: TheFarGG
Maintainer: TheFarGG
License: MIT
Keywords: Discode,discode,Discord,discord
Platform: UNKNOWN
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Operating System :: OS Independent
Classifier: Topic :: Internet
Classifier: Topic :: Utilities
Requires-Python: >=3.7.0
Description-Content-Type: text/markdown
Requires-Dist: aiohttp
Requires-Dist: websockets
Provides-Extra: docs
Requires-Dist: sphinx ; extra == 'docs'
Requires-Dist: groundwork-sphinx-theme ; extra == 'docs'

# DisCode
DisCode is an asynchronous Python API wrapper for the Discord REST and Gateway API. This project was inspired by [Discord.py](https://github.com/rapptz/discord.py) 

### Basic Example Usage
```py
import discode

client = discode.Client()
# You can specify an event loop
# in the parameters of discode.Client

# the coroutine under the decorator
# can have any name you wish to use
@client.on_event("ready")
async def ready():
    print(f"{client.user} is ready!")

@client.on_event("message")
async def message(message: discode.Message):
    print(message.content)

client.start("YOUR-TOKEN-HERE")
```

