aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRapptz <[email protected]>2021-04-10 15:49:39 -0400
committerRapptz <[email protected]>2021-04-15 09:00:09 -0400
commit28934001b29aca294529ad67716d3b286181671f (patch)
tree4aac761c84aa9214358175a67928cd0d62b92800
parentRemove current module reference in commands API docs (diff)
downloaddiscord.py-28934001b29aca294529ad67716d3b286181671f.tar.xz
discord.py-28934001b29aca294529ad67716d3b286181671f.zip
Bring back discord module in discord.ext.commands documentation
-rw-r--r--docs/ext/commands/api.rst5
1 files changed, 4 insertions, 1 deletions
diff --git a/docs/ext/commands/api.rst b/docs/ext/commands/api.rst
index 1ffbc5de..a7d7ae1f 100644
--- a/docs/ext/commands/api.rst
+++ b/docs/ext/commands/api.rst
@@ -1,3 +1,5 @@
+.. currentmodule:: discord
+
API Reference
===============
@@ -174,7 +176,8 @@ Paginator
Enums
------
-.. class:: discord.ext.commands.BucketType
+.. class:: BucketType
+ :module: discord.ext.commands
Specifies a type of bucket for, e.g. a cooldown.