aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorRapptz <[email protected]>2015-08-21 18:18:34 -0400
committerRapptz <[email protected]>2015-08-21 18:18:34 -0400
commit3e0f09d32c03de0916329c3b131ed1d46672bc02 (patch)
treea758fa3db70ecabc0e6e2e2435e5a9219a8876d7 /README.md
downloaddiscord.py-3e0f09d32c03de0916329c3b131ed1d46672bc02.tar.xz
discord.py-3e0f09d32c03de0916329c3b131ed1d46672bc02.zip
Initial commit
Diffstat (limited to 'README.md')
-rw-r--r--README.md48
1 files changed, 48 insertions, 0 deletions
diff --git a/README.md b/README.md
new file mode 100644
index 00000000..890d2401
--- /dev/null
+++ b/README.md
@@ -0,0 +1,48 @@
+# PyDiscord
+
+PyDiscord is an API wrapper for Discord written in Python.
+
+This was written to allow easier writing of bots or chat logs.
+
+## This module is alpha!
+
+The discord API is constantly changing and the wrapper API is as well. There will be no effort to keep backwards compatibility.
+
+## Quick Example
+
+```py
+import discord
+
+client = discord.Client()
+client.login('email', 'password')
+
+def on_message(message):
+ if message.content.startswith('!hello'):
+ client.send_message(message.channel, 'Hello was received!')
+
+def on_ready():
+ print('Logged in as')
+ print(client.user.name)
+ print(client.user.id)
+ print('------')
+
+client.run()
+```
+
+## Requirements
+
+- Python 2.7+ or Python 3.3+.
+- `ws4py` library
+- `requests` library
+
+Usually `pip` will handle these for you.
+
+## Related Projects
+
+- [discord.js](https://github.com/discord-js/discord.js)
+- [node-discord](https://github.com/izy521/node-discord)
+- [Discord.NET](https://github.com/RogueException/Discord.Net)
+- [DiscordSharp](https://github.com/Luigifan/DiscordSharp)
+- [Discord4J](https://github.com/knobody/Discord4J)