Open loljoho opened 5 years ago
Related: https://github.com/tannn/TriviaTime/issues/294
Registered users only: add edit delete stop report showreport showround showquestion listreports
TriviaMod only: acceptedit acceptdelete acceptnew rmedit rmnew rmdelete rmreport authweb shownew showedit showdelete listedits listdeletes listnew restorequestion
TriviaAdmin only: clearpoints transferpoints givepoints
Owner only: addfile
General
report [channel] <round> <report text>
- Provide a report for a bad question. Be sure to include the round number and the problem(s). To edit the question, input a regex substitution for the report text. To delete the question, input 'delete' for the report text. Any other report text will be treated as a regular report. Channel is a optional parameter which is only needed when reporting outside of the channel.info [<channel>]
- Get TriviaTime information, how many questions/users in database, time, etc. Channel is only required when using the command outside of a channel.ping
- Check your ping time to the bot. The client must respond correctly to pings. """time
- Figure out what time/day it is on the server.Trivia Control
next
- Skip to the next question immediately. This can only be used by a user with a certain streak, set in the config.repeat
- Repeat the current question.skip
- Skip the current question and start the next. Rate-limited. Requires a certain percentage of active players to skip. """start
- Begins a round of Trivia inside the current channel.stop
- Stops the current Trivia round.Stats & Scores
day [<channel>] [<number>]
- Displays the top scores of the day. Parameter is optional, display up to that number. (eg 20 - display 11-20). Channel is only required when using the command outside of a channel.me [<channel>]
- Get your rank, score & questions asked for day, month, year. Channel is only required when using the command outside of a channel.stats [<channel>] <username>
- Show a player's rank, score & questions asked for day, month, and year. Channel is only required when using the command outside of a channel.month [<channel>] [<number>]
- Displays the top ten scores of the month. Parameter is optional, display up to that number. (eg 20 - display 11-20). Channel is only required when using the command outside of a channel.week [<channel>] [<number>]
- Displays the top scores of the week. Parameter is optional, display up to that number. (eg 20 - display 11-20). Channel is only required when using the command outside of a channel.year [<channel>] [<number>]
- Displays the top scores of the year. Parameter is optional, display up to that number. (eg 20 - display 11-20). Channel is only required when using the command outside of a channel.Reports & Edits
List/View
listdeletes [<channel>] [<page>]
- List questions pending deletion. Channel is only required when using the command outside of a channel.listalledits [<channel>] [<page>]
- List all edits pending approval (even your own). Channel is only required when using the command outside of a channel.listmyedits [<channel>] [<page>]
- List only your own edits pending approval. Channel is only required when using the command outside of a channel.listedits [<channel>] [<page>]
- List edits pending approval (by default does not include your own edits). Channel is only required when using the command outside of a channel.listreports [<channel>] [<page>]
- List reports pending edit. Channel is only required when using the command outside of a channel.listnew [<channel>] [<page>]
- List questions awaiting approval. Channel is only required when using the command outside of a channel.showdelete [<channel>] [<temp question #>]
- Show a deleteion request pending approval. Channel is only required when using the command outside of a channel.showquestion [<channel>] <num>
- Search question database for question at line number. Channel is only necessary when editing from outside of the channel.showround [<channel>] <round>
- Show what question was asked during gameplay. Channel is only necessary when editing from outside of the channel.showreport [<channel>] [<report num>]
- Shows report information, if number is provided one record is shown, otherwise the last 3 are. Channel is only necessary when editing from outside of the channel.showedit [<channel>] [<edit num>]
- Show top 3 edits, or provide edit num to view one. Channel is only required when using the command outside of a channel.shownew [<channel>] [<temp question #>]
- Show questions awaiting approval Channel is only required when using the command outside of a channel.Accept/Deny
acceptdelete [<channel>] <num>
- Accept a question deletion. Channel is only required when using the command outside of a channel.acceptedit [<channel>] <num>
- Accept a question edit, and remove edit. Channel is only required when using the command outside of a channel.acceptnew [<channel>] <num>
- Accept a new question, and add it to the database. Channel is only required when using the command outside of a channel.rmedit [<channel>] <int>
- Deny a question edit. Channel is only required when using the command outside of a channel.rmdelete [<channel>] <int>
- Deny a deletion request. Channel is only required when using the command outside of a channel.rmreport [<channel>] <report num>
- Delete a report. Channel is only required when using the command outside of a channel.rmnew [<channel>] <int>
- Deny a new question. Channel is only required when using the command outside of a channel.Miscellaneous
add [<channel>] <question text>
- Adds a question to the database. Channel is only required when using the command outside of a channel.delete [<channel>] [<type "R" or "Q">] <question id> [<reason>]
- Deletes a question from the database. Type decides whether to delete by round number (r), or question number (q) (default round). Channel is only required when using the command outside of a channel.edit [<channel>] <question number> <corrected text>
- Correct a question by providing the question number and the corrected text. Channel is only required when using the command outside of a channel.restorequestion [<channel>] <Question num>
- Restore a deleted question. Channel is only required when using the command outside of a channel.Administration
addfile [<filename>]
- Add a file of questions to the question database, filename defaults to configured question file.authweb [<channel>]
- This registers triviamods and triviaadmins on the website. Use this command again if the account password has changed.clearpoints [<channel>] <username>
- Deletes all of a users points, and removes all their records. Channel is only required when using the command outside of a channel.givepoints [<channel>] <username> <points> [<daysAgo>]
- Give a user points, last argument is optional amount of days in past to add records. Channel is only required when using the command outside of a channel.