Contents Menu Expand Light mode Dark mode Auto light/dark mode
anubis 2.0.0 documentation
anubis 2.0.0 documentation
  • API Reference
    • bot
      • bot.exts
        • bot.exts.core
          • bot.exts.core.error_handler
          • bot.exts.core.log
          • bot.exts.core.ping
        • bot.exts.filters
          • bot.exts.filters.webhook_remover
        • bot.exts.fun
          • bot.exts.fun.dice
          • bot.exts.fun.typeracer
          • bot.exts.fun.uwu
        • bot.exts.info
          • bot.exts.info.code_snippets
          • bot.exts.info.github
        • bot.exts.utilities
          • bot.exts.utilities.snekbox
            • bot.exts.utilities.snekbox._cog
            • bot.exts.utilities.snekbox._eval
            • bot.exts.utilities.snekbox._io
          • bot.exts.utilities.internal
      • bot.orm
        • bot.orm.models
      • bot.utils
        • bot.utils.commands
        • bot.utils.exceptions
        • bot.utils.extensions
        • bot.utils.function
        • bot.utils.helpers
        • bot.utils.lock
        • bot.utils.messages
        • bot.utils.services
      • bot.__main__
      • bot.bot
      • bot.constants
      • bot.log

Other:

  • Changelog
Back to top

bot.exts.fun.dice#

Dice rolling.

Module Contents#

Classes#

Dice

Roll dice.

Functions#

setup(→ None)

Load the Ping cog.

class bot.exts.fun.dice.Dice(bot: bot.bot.Bot)[source]#

Bases: discord.ext.commands.Cog

Roll dice.

async roll(interaction: discord.Interaction, number_of_dice: int, number_of_sides: int) → None[source]#

Roll dice.

async bot.exts.fun.dice.setup(bot: bot.bot.Bot) → None[source]#

Load the Ping cog.

Next
bot.exts.fun.typeracer
Previous
bot.exts.fun
Copyright © Let's build a ...
Made with Sphinx and @pradyunsg's Furo
On this page
  • bot.exts.fun.dice
    • Module Contents
      • Classes
      • Functions
        • Dice
          • Dice.roll()
        • setup()