module RaspbergReport
RaspbergReport โ unified help and shared error formatting for !raspberg.
Constants
- TAG
Public Instance Methods
Source
# File lib/raspberg_report.rb, line 12 def format_error(message) IrcReply.error(tag: TAG, message: message) end
Source
# File lib/raspberg_report.rb, line 16 def format_help IrcReply.card( tag: TAG, title: "Raspberg Apps", body_lines: help_lines, footer_parts: ["classic VB utilities ยท IRC port"] ) end
Source
# File lib/raspberg_report.rb, line 25 def help_lines RaspbergPasswordReport.help_lines + [ "", "!raspberg serial <name> โ Key Generator / MFC registration serial", "!raspberg serial verify <name> <serial>", "!raspberg filenamer <prefix> <start> <ext> -- <file> [file...]", "!raspberg uptime โ current host session (VB-style)", "!raspberg uptime stats โ highest / last / total / reboots", "!raspberg bootlog [list [n]] โ host boot log", "!raspberg bootlog clear", "!raspberg address list [A-Z] โ your contacts (per nick)", "!raspberg address show <name>", "!raspberg address add <name> | <phone> | <address>", "!raspberg address del <name>", "System Locker โ Windows-only (not available on IRC)" ] end