New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

Tinycord

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

Tinycord

Easy and flexible Discord wrapper built on aiohttp

pipPyPI
Version
0.3.0
Maintainers
1

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

HELP!

Discord

Tinycord Server

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts