slchat.py is an API wrapper for SLChat, written in Python.
import slchat
import asyncio
client = slchat.Bot(prefix="!")
@client.command()
async def ping(ctx):
await ctx.send("Pong")
asyncio.run(client.run("token", "bot_id"))| Name | Name | Last commit date | ||
|---|---|---|---|---|
slchat.py is an API wrapper for SLChat, written in Python.
import slchat
import asyncio
client = slchat.Bot(prefix="!")
@client.command()
async def ping(ctx):
await ctx.send("Pong")
asyncio.run(client.run("token", "bot_id"))