Skip to content

Events#

Event ABC's and Events.

The session abstract classes and hikari events.

OngakuEvent #

Bases: hikari.Event, abc.ABC

Ongaku Event.

The base ongaku event, that adds the client and session to all events.

client property #

client: Client

The ongaku client attached to the event.

session property #

session: Session

The session attached to the event.

TrackEndReasonType #

Bases: str, enum.Enum

Track end reason type.

The track end reason type for the track that was just playing.

Lavalink Reference

FINISHED class-attribute instance-attribute #

FINISHED = 'finished'

The track finished playing.

LOADFAILED class-attribute instance-attribute #

LOADFAILED = 'loadFailed'

The track failed to load.

STOPPED class-attribute instance-attribute #

STOPPED = 'stopped'

The track was stopped.

REPLACED class-attribute instance-attribute #

REPLACED = 'replaced'

The track was replaced.

CLEANUP class-attribute instance-attribute #

CLEANUP = 'cleanup'

The track was cleaned up.