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.utils.commands#

Command utils.

Module Contents#

Functions#

get_command_suggestions(→ list[str])

Get similar command names.

bot.utils.commands.get_command_suggestions(all_commands: list[str], query: str, *, cutoff: int = 60, limit: int = 3) → list[str][source]#

Get similar command names.

Next
bot.utils.exceptions
Previous
bot.utils
Copyright © Let's build a ...
Made with Sphinx and @pradyunsg's Furo
On this page
  • bot.utils.commands
    • Module Contents
      • Functions
        • get_command_suggestions()