Skip to content

dskprt/fastcord

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

60 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.