diff --git a/exts/Banking.py b/exts/Banking.py new file mode 100644 index 0000000..7779d16 --- /dev/null +++ b/exts/Banking.py @@ -0,0 +1,18 @@ +import datetime +import random +from typing import List, Literal, Optional + +import discord +from botclass import CustomCtx, Brahmos +from discord.ext import commands +import pnwkit + + +class Banking(commands.Cog): + def __init__(self, bot: Brahmos): + self.bot = bot + + + +async def setup(bot: Brahmos): + await bot.add_cog(Banking(bot)) diff --git a/exts/REPL.py b/exts/REPL.py index baa8176..eb3a4cd 100644 --- a/exts/REPL.py +++ b/exts/REPL.py @@ -99,7 +99,8 @@ class REPL(commands.Cog): return pgn = Paginator(pages=pages, pagetype="text") - await pgn.start(ctx=ctx) + if pages: + await pgn.start(ctx=ctx) @commands.command(hidden=True) @commands.is_owner() diff --git a/requirements.txt b/requirements.txt index 901d1ef..5fe13ee 100644 --- a/requirements.txt +++ b/requirements.txt @@ -4,4 +4,5 @@ uvloop jishaku pytz psutil -python-logging-discord-handler \ No newline at end of file +python-logging-discord-handler +pnwkit-py \ No newline at end of file