This repository was archived by the owner on Dec 22, 2025. It is now read-only.

Description
Something along the lines of this, perhaps?
import revolt
from revolt.ext import commands
class TestCog(commands.Cog):
@commands.command()
async def ping(self, ctx: commands.Context):
await ctx.send("pong")
class Client(commands.CommandsClient):
async def get_prefix(self, message: revolt.Message):
return "!"
async def main():
async with revolt.utils.client_session() as session:
client = Client(session, "BOT TOKEN HERE")
client.add_cog(TestCog()) # initialize your custom cog
await client.start()
asyncio.run(main())