Though this library is incomplete yet, contributions are very appreciated!
For now, you can only install the dev branch which is constantly updated.
pip install -U https://github.com/itsVale/Shitcord/archive/dev.zip
Shitcord already features the REST API and also the Discord Gateway. Though the lib is very incomplete at this moment what you can see from the code below.
import shitcord
client = shitcord.Client()
@client.on('message')
def on_message(event):
content = event['content']
channel = event['channel_id']
if content.startswith('!ping'):
client.api.create_message(channel, 'Pong!')
client.start('Token')
Need help with something or just want to hang out with more or less cool guys? Join our cool Discord server!