Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.
/ TinyCord Public archive

🏮 TinyCord Easy and flexible discord wrapper for building discord bots

License

Notifications You must be signed in to change notification settings

HazemMeqdad/TinyCord

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TinyCord 🏮

Easy and flexible Discord wrapper built on aiohttp

Thanks to Pincer because we did take a lot of ideas and things from it <3




Example

import tinycord

client = tinycord.Client(
    "Token", intents=[tinycord.Intents.all()]
)

@client.event
async def on_message(message: tinycord.Message):
    print(message.content)

@client.lisnten(tinycord.Events.messageUpdate)
async def update_message(before: tinycord.Message, after: tinycord.Message):
    print(f'{before.content} -> {after.content}')
    

client.connect()

Auto Shard Example

import tinycord

client = tinycord.Client(
    "Token", intents=[tinycord.Intents.all()]
)

@client.event
async def on_message(message: tinycord.Message):
    print(message.content)

@client.lisnten(tinycord.Events.messageUpdate)
async def update_message(before: tinycord.Message, after: tinycord.Message):
    print(f'{before.content} -> {after.content}')
    

client.connect_autosharded()

Plugin

import tinycord

plugin = tinycord.Plugin('test')

@plugin.event
async def on_ready(shard):
    print(f'{shard} is ready!')

Docs

first let's finish the lib LOL.

Discord

Tinycord Server

Note

Right Now the lib is in huge development we want to add more things to it like interactions and good event handling

Maintainers

About

🏮 TinyCord Easy and flexible discord wrapper for building discord bots

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages