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.x
v2.4.0
v2.3.3
v2.3.2
v2.3.1
v2.3.x
v2.3.0
v2.2.2
v2.2.1
v2.2.x
v2.2.0
v2.1.3
v2.1.2
v2.1.1
v2.1.x
v2.1.0
v2.0.1
v2.x
v2.0.x
v2.0.0
v2.0.0-rc.1
v2.0.0-beta.7
v2.0.0-beta.6
v2.0.0-beta.5
v2.0.0-beta.4
v2.0.0-beta.3
v2.0.0-beta.2
v2.0.0-beta.1
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__