Skip to content

Latest commit

 

History

History
42 lines (25 loc) · 2.09 KB

README.md

File metadata and controls

42 lines (25 loc) · 2.09 KB

QuantumDice Discord Bot

GitHub License  Python Version  Last Release  GitHub release  CodeFactor  visitors 

It rolls a virtual dice with any number of faces. For this purpose, the IBM Quantum API via qRNG and the secrets module is used.

Invite this bot here

Commands

Roll Dice

It rolls count times a virtual dice with a certain number of faces. The sum of all dice rolls is multiplied by the optional factor. The optional mode can be min or max. The mode min returns only the lowest roll and max only the highest roll.

-roll [count]d[faces]*[factor] [mode]

Use -qroll to generate random integers with the IBM quantum computer and -roll to use the secrets module.

Some examples:

  • -roll 2d6 -> Roll: [5, 3] Result: 8
  • -roll 3d10*4 -> Roll: [4, 8, 5] Result: 68
  • -qroll 2d40*3 min -> Min Roll: 2 Result: 6
  • -roll 3d20 max -> Max Roll: 17 Result: 17

Help

It shows the help.

-help

Info

It shows the info including the bot invite and the GitHub repository.

-info