Contents Menu Expand Light mode Dark mode Auto light/dark mode
Pycord v2.4 Documentation
Logo
Pycord v2.4 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
  v: stable
Versions
master
stable
v2.4.1
v2.4.0
v2.3.3
v2.3.2
v2.3.1
v2.3.0
v2.2.2
v2.2.1
v2.2.0
v2.1.3
v2.1.2
v2.1.1
v2.1.0
v2.0.1
v2.0.0
searchscore
Downloads
On Read the Docs
Project Home
Builds
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__