Contents Menu Expand Light mode Dark mode Auto light/dark mode
Pycord v0.1 Documentation
Logo
Pycord v0.1 Documentation
  • API Reference
    • Version Related Info
    • Client Objects
    • Application Commands
    • Cogs
    • Application Info
    • Voice Related
    • Event Reference
    • Utility Functions
    • Enumerations
    • Async Iterator
    • Audit Log Data
    • Webhook Support
    • Abstract Base Classes
    • Discord Models
    • Data Classes
    • Bot UI Kit
    • Sinks
    • Exceptions

Extensions

  • discord.ext.commands
    • Commands
    • Cogs
    • Extensions
    • API Reference
  • discord.ext.tasks
  • discord.ext.pages
  • discord.ext.bridge
    • API Reference

Meta

  • Changelog
  • Version Guarantees
  • Migrating to v1.0
  • Migrating to v2.0
Back to top
Edit this page

Version Related Info#

There are two main ways to query version information about the library. For guarantees, check Version Guarantees.

discord.version_info#

A named tuple that is similar to sys.version_info.

Just like sys.version_info the valid values for releaselevel are 'alpha', 'beta', 'candidate' and 'final'.

discord.__version__#

A string representation of the version. e.g. '1.0.0rc1'. This is based off of PEP 440.

Next
Client Objects
Previous
API Reference
Copyright © 2015-2021, Rapptz & 2021-present, Pycord Development
Made with Sphinx and @pradyunsg's Furo
On this page
  • Version Related Info
    • version_info
    • __version__