aboutsummaryrefslogtreecommitdiffstats
path: root/bot/exts
diff options
context:
space:
mode:
authorGravatar Anubhav <[email protected]>2020-09-22 22:02:39 +0530
committerGravatar GitHub <[email protected]>2020-09-22 22:02:39 +0530
commita9916fd972a961be21f8ea641df7834840647a2e (patch)
tree82d2d9d11e4711fbc9397e8d57dd88ff4baf6e50 /bot/exts
parentchanged List[str]->Optional[List[str]] (diff)
Changed WikipediaCog-> Wikipedia
Change this becuase this causing issue in help command
Diffstat (limited to 'bot/exts')
-rw-r--r--bot/exts/evergreen/wikipedia.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bot/exts/evergreen/wikipedia.py b/bot/exts/evergreen/wikipedia.py
index f8711f90..f0fe494e 100644
--- a/bot/exts/evergreen/wikipedia.py
+++ b/bot/exts/evergreen/wikipedia.py
@@ -15,7 +15,7 @@ SEARCH_API = "https://en.wikipedia.org/w/api.php?action=query&list=search&srsear
WIKIPEDIA_URL = "https://en.wikipedia.org/wiki/{title}"
-class WikipediaCog(commands.Cog):
+class Wikipedia(commands.Cog):
"""Get info from wikipedia."""
def __init__(self, bot: commands.Bot):
@@ -111,4 +111,4 @@ class WikipediaCog(commands.Cog):
def setup(bot: commands.Bot) -> None:
"""Wikipedia Cog load."""
- bot.add_cog(WikipediaCog(bot))
+ bot.add_cog(Wikipedia(bot))