Contents Menu Expand Light mode Dark mode Auto light/dark mode
Lightbulb 2.3.3 documentation
Lightbulb 2.3.3 documentation
  • Getting Started
  • Guides
    • Application Commands
    • Creating Command Groups
    • Creating Commands
    • Implementing a Custom Help Command
    • Error Handling
    • Extensions
    • Plugins
  • API Reference
    • App API Reference
    • Buckets API Reference
    • Checks API Reference
    • Commands API Reference
    • Context API Reference
    • Converters API Reference
    • Cooldowns API Reference
    • Cooldown Algorithms API Reference
    • Decorators API Reference
    • Errors API Reference
    • Events API Reference
    • Help Command API Reference
    • Parser API Reference
    • Plugins API Reference
    • Utils API Reference
  • Changelog
    • Version 2 Changelog
    • Version 1 Changelog
    • Pre-Release Changelog
  • Extension Libraries
  • Hikari Basics
    • API Requests
    • Cache
    • Components
    • Embeds
    • Intents
  v: latest
Versions
latest
v1.5.2
development
Downloads
On Read the Docs
Project Home
Builds
Back to top
Edit this page

Parser API Reference#

class lightbulb.parser.BaseParser(context: Context, buffer: str | None = None, options: List[OptionLike] | None = None)[source]#
class lightbulb.parser.Parser(context: Context, buffer: str | None = None, options: List[OptionLike] | None = None)[source]#
get_word() → str[source]#

Gets the next word, will return an empty string if EOF.

Next
Plugins API Reference
Previous
Help Command API Reference
Copyright © 2020-present, tandemdude
Made with Sphinx and @pradyunsg's Furo
On this page
  • Parser API Reference
    • BaseParser
    • Parser
      • Parser.get_word()