class Worker::AudioPlayersStorage

Overview

Handle audio players

Defined in:

worker/audio_players_storage.cr

Constant Summary

Log = Worker::Log.for("audio_players_storage")

Constructors

Instance Method Summary

Constructor Detail

def self.new(worker : Worker) #

[View source]

Instance Method Detail

def active_count : Int32 #

[View source]
def audio_player(server_id : UInt64, channel_id : UInt64 | Nil = nil) : AudioPlayer #

[View source]
def stop_all : Nil #

[View source]