aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Alex Sittampalam <[email protected]>2021-09-02 13:46:11 +0100
committerGravatar Alex Sittampalam <[email protected]>2021-09-02 16:37:26 +0100
commita44e7987f281a22308a7d741bfcea155dead7c50 (patch)
tree2cb01527de4d23956b703d73955130c3cc42e1b4
parentAdd patreon role configuration (diff)
Create `patreon.py` and add setup
Diffstat (limited to '')
-rw-r--r--bot/exts/info/patreon.py19
1 files changed, 19 insertions, 0 deletions
diff --git a/bot/exts/info/patreon.py b/bot/exts/info/patreon.py
new file mode 100644
index 000000000..55accf29e
--- /dev/null
+++ b/bot/exts/info/patreon.py
@@ -0,0 +1,19 @@
+import logging
+
+from discord.ext import commands
+
+from bot.bot import Bot
+
+log = logging.getLogger(__name__)
+
+
+class Patreon(commands.Cog):
+ """Cog that shows patreon supporters."""
+
+ def __init__(self, bot: Bot):
+ self.bot = bot
+
+
+def setup(bot: Bot) -> None:
+ """Load the patreon cog."""
+ bot.add_cog(Patreon(bot))