fastcord

another discord api wrapper for writing bots


Keywords
api, discord, websocket-client
License
MIT
Install
pip install fastcord==0.3.1

Documentation

fastcord
PyPI version
just another discord api wrapper for writing bots

Website | Documentation

Installing

Python 3.6 or higher is required.

python -m pip install fastcord

To install the latest development version (might not be stable):

git clone https://github.com/dskprt/fastcord.git
cd fastcord
python -m pip install .

Simple bot

import fastcord

bot = fastcord.Fastcord("TOKEN")

@bot.on_event("message")
def on_message(msg):
    if msg.content == "!ping":
        msg.channel.send("Pong!")

bot.run()

More examples are available in the examples directory.