diff options
| author | 2021-05-05 14:20:40 -0400 | |
|---|---|---|
| committer | 2021-05-05 14:20:40 -0400 | |
| commit | 780aaeb5c272f7a9fd9fe9e8cdc1c041beb90a25 (patch) | |
| tree | 84e50eb8eb80c40d0e0e5177046c20219eccdb04 /bot/exts/evergreen/githubinfo.py | |
| parent | Merge 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.py | 3 |
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: |