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
AddGameCommand
AddGameCommand
Command
Reference
Object
Defined in:
groogy-bot/add_game_command.cr
Constructors
.new
Instance Method Summary
#execute
(bot, client, msg, match)
#has_permission?
(msg)
Instance methods inherited from class
Command
apply(bot, client)
apply
,
command : String
command
,
documentation : String
documentation
,
execute(bot, client, msg, match)
execute
,
has_permission?(msg)
has_permission?
,
pattern : Regex
pattern
Constructor methods inherited from class
Command
new(command : String, pattern : Regex, documentation : String)
new
Constructor Detail
def self.
new
#
[
View source
]
Instance Method Detail
def
execute
(bot, client, msg, match)
#
[
View source
]
def
has_permission?
(msg)
#
[
View source
]