Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
groogy-bot
master
AddCommandCommand
AddGameCommand
AddVoteSlotCommand
AvailableVotersCommand
Bot
ClaimVoteSlotCommand
Command
Configuration
CustomCommand
Data
FilibusterCommand
HelpCommand
HelpExplainCommand
NayCommand
PingCommand
Player
Playlist
RemoveCommandCommand
RemoveGameCommand
RemoveVoteSlotCommand
RequestSongCommand
Response
Song
SongCommand
SongQueue
StartGameCommand
StartMusicCommand
StartVoteCommand
StopGameCommand
StopMusicCommand
User
Vote
VoteGame
VotersCommand
VoteSlot
VoteStatusCommand
YayCommand
Built with Crystal 1.9.2
2023-10-07 16:25:14 UTC
class
SongQueue
SongQueue
Reference
Object
Defined in:
groogy-bot/song_queue.cr
Constructors
.new
(playlist : Playlist)
Instance Method Summary
#add_request
(search) : Song | Nil
#is_playing?
: Bool
#play_random
#play_request
#stop
#update
Constructor Detail
def self.
new
(playlist :
Playlist
)
#
[
View source
]
Instance Method Detail
def
add_request
(search) :
Song
| Nil
#
[
View source
]
def
is_playing?
: Bool
#
[
View source
]
def
play_random
#
[
View source
]
def
play_request
#
[
View source
]
def
stop
#
[
View source
]
def
update
#
[
View source
]