API Reference#

The full discord.io API Reference.

Version Specific Details#

There is currently 2 ways to get version info

The easiest is via __version__

discord.__version__#

A string representation of the version. e.g. '0.3.0'.

And second is by using version_info

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’.