Skip to main content

Support Alconna for Avilla

Project description

Alconna-Avilla

Support Alconna for Avilla

示例

from creart import it
from arclet.alconna import Alconna
from arclet.alconna.avilla import Alc
from graia.broadcast import Broadcast
from avilla.core import MessageReceived, Relationship, Avilla

bcc = it(Broadcast)
avilla = Avilla(...)


@bcc.receiver(MessageReceived, dispatchers=[Alc(Alconna(...))])
async def _(rs: Relationship, event: MessageReceived):
    ...

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

arclet-alconna-avilla-0.1.2.tar.gz (4.0 kB view hashes)

Uploaded Source

Built Distribution

arclet_alconna_avilla-0.1.2-py3-none-any.whl (5.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page