/datum/spacebee_extension_system
the main thing that processes and runs the commands
Vars | |
active_callbacks | a list of the form list(username = proc) or list(username = list(object, proc)), if an username has a callback assigned it's used instead of the basic command processing |
---|---|
commands | the list of all available commands indexed by their name |
Procs | |
paginated_send | paginates a message in a way that fits into Discord messages |
parse_arguments | parses arguments or returns null if unable |
parse_command_head | parses the name and the server key of the command (if any), returns list(name, server_key, the_rest) |
process_asay | called from world.dm from asay processing |
process_raw_command | processes and runs a string that's supposed to be a command (with arguments and such) |
register_callback | registers a callback for a given user (it overrides default command processing) |
reply | replies to a given user on Discord |
Var Details
active_callbacks
a list of the form list(username = proc) or list(username = list(object, proc)), if an username has a callback assigned it's used instead of the basic command processing
commands
the list of all available commands indexed by their name
Proc Details
paginated_send
paginates a message in a way that fits into Discord messages
parse_arguments
parses arguments or returns null if unable
parse_command_head
parses the name and the server key of the command (if any), returns list(name, server_key, the_rest)
process_asay
called from world.dm from asay processing
process_raw_command
processes and runs a string that's supposed to be a command (with arguments and such)
register_callback
registers a callback for a given user (it overrides default command processing)
reply
replies to a given user on Discord