Browse Source

properly fixed up documentation for deprecation

tags/v2.2.0
Roxie Gibson 5 years ago
parent
commit
c5bbd7cc06
2 changed files with 3 additions and 7 deletions
  1. +2
    -6
      docs/trivia.md
  2. +1
    -1
      roxbot/cogs/trivia.py

+ 2
- 6
docs/trivia.md View File

@@ -33,13 +33,9 @@ Yes! Trivia is best with friends. How else would friendships come to their untim

No problem! Just put `-s or --solo` anywhere after `;trivia start`

## I can't read the questions on mobile!
## Can I have a short solo game?

Sadly this is an issue with Discord on mobile. To get around this, Roxbot Trivia has a mobile compatible version. Just put `-m or --mobile` anywhere after `;trivia start`

## Can I have a mobile compatible short solo game?

Yes, you can use any of the three arguments at once. The Trivia command takes commands just like a cli. Example: `;tr start -ms` or `;tr start --length long --mobile`
Yes, you can use both arguments at once. The Trivia command takes commands just like a cli. Example: `;tr start -sl short` or `;tr start --solo --length long`

## Disclaimer


+ 1
- 1
roxbot/cogs/trivia.py View File

@@ -518,7 +518,7 @@ class Trivia(commands.Cog):
embed.add_field(name="Can I have shorter or longer games?", value="Yes! You can change the length of the game by using the argument `-l or --length` adding short (5 questions), medium (10), or long (15) at the end. `{}trivia start --length short`. The default is medium.".format(self.bot.command_prefix))
embed.add_field(name="Can I play with friends?", value="Yes! Trivia is best with friends. How else would friendships come to their untimely demise? You can only join a game during the 20 second waiting period after a game is started. Just type `{0}trivia join` and you're in! You can leave a game at anytime (even if its just you) by doing `{0}trivia leave`. If no players are in a game, the game will end and no one will win ;-;".format(self.bot.command_prefix))
embed.add_field(name="What if I don't want anyone to join my solo game? Waiting is boring!", value="No problem! Just put `-s or --solo` anywhere after `{}trivia start`".format(self.bot.command_prefix))
embed.add_field(name="I can't read the questions on mobile!", value="Sadly this is an issue with Discord on mobile. To get around this, Roxbot Trivia has a mobile compatible version. Just put `-m or --mobile` anywhere after `{}trivia start`".format(self.bot.command_prefix))
embed.add_field(name="Can I have a short solo game?", value="Yes, you can use both arguments at once. The Trivia command takes commands just like a cli. Example: `;tr start -sl short` or `;tr start --solo --length long`")
embed.set_footer(text="Roxbot Trivia uses the Open Trivia DB, made and maintained by Pixeltail Games LLC. OpenTDB is licensed under the [CC BY-SA 4.0](https://creativecommons.org/licenses/by-sa/4.0/) Find out more at [https://opentdb.com/](https://opentdb.com/)")
embed.set_image(url="https://i.imgur.com/yhRVl9e.png")
return await ctx.send(embed=embed)

Loading…
Cancel
Save