aboutsummaryrefslogtreecommitdiffstats
path: root/bot/exts/evergreen/githubinfo.py
diff options
context:
space:
mode:
authorGravatar ToxicKidz <[email protected]>2021-05-05 14:20:40 -0400
committerGravatar ToxicKidz <[email protected]>2021-05-05 14:20:40 -0400
commit780aaeb5c272f7a9fd9fe9e8cdc1c041beb90a25 (patch)
tree84e50eb8eb80c40d0e0e5177046c20219eccdb04 /bot/exts/evergreen/githubinfo.py
parentMerge branch 'spring-cleanup' of https://github.com/ToxicKidz/sir-lancebot in... (diff)
chore: Apply anand's suggested changes
Diffstat (limited to 'bot/exts/evergreen/githubinfo.py')
-rw-r--r--bot/exts/evergreen/githubinfo.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/bot/exts/evergreen/githubinfo.py b/bot/exts/evergreen/githubinfo.py
index fe126aa2..27e607e5 100644
--- a/bot/exts/evergreen/githubinfo.py
+++ b/bot/exts/evergreen/githubinfo.py
@@ -5,7 +5,6 @@ from urllib.parse import quote
import discord
from discord.ext import commands
-from discord.ext.commands.cooldowns import BucketType
from bot.bot import Bot
from bot.constants import Colours, NEGATIVE_REPLIES
@@ -28,7 +27,7 @@ class GithubInfo(commands.Cog):
return await r.json()
@commands.group(name="github", aliases=("gh", "git"))
- @commands.cooldown(1, 10, BucketType.user)
+ @commands.cooldown(1, 10, commands.BucketType.user)
async def github_group(self, ctx: commands.Context) -> None:
"""Commands for finding information related to GitHub."""
if ctx.invoked_subcommand is None: