Metadata-Version: 2.4
Name: discordlib
Version: 0.0.1.8.1
Summary: Crude discord api library in python
Home-page: https://github.com/TheOnlyWalrus/DiscordLib
License: MIT
Keywords: DISCORD,PYTHON
Classifier: Development Status :: 2 - Pre-Alpha
Classifier: Topic :: Software Development :: Libraries
Classifier: Programming Language :: Python :: 3
Classifier: Natural Language :: English
Description-Content-Type: text/markdown
Requires-Dist: aiohttp
Requires-Dist: asyncio
Dynamic: classifier
Dynamic: description
Dynamic: description-content-type
Dynamic: home-page
Dynamic: keywords
Dynamic: license
Dynamic: requires-dist
Dynamic: summary

# DiscordLib

## Crude python discord library

Example Bot

```python
from discordlib import DiscordBot, Command

# In the future, token will be moved to bot.login
bot = DiscordBot('prefix', 'token')

# msg and args are passed through every command created
@bot.register_command
async def test(msg, *args):
    await msg.channel.send_message(msg.channel, 'Wooo it works!')

@bot.register_event
async def message_event(msg):
    # message_event gets passed a message object
    print(msg.author, msg.content)

bot.login()

```

[Official Support Discord](https://discord.gg/tk9usTP)
 
