reformat
This commit is contained in:
1 parent
783b38e28d
commit
32ee918415
10 files changed
+88
-71
No files matched your search
+2
-2
@@ -7,6 +7,7 @@ import aiohttp
|
||||
import discord
|
||||
import jishaku
|
||||
from discord.ext.commands import Bot, Context
|
||||
|
||||
from utils.paginator import Paginator, WebhookPaginator
|
||||
|
||||
OWNER = json.load(open("store/cfg.json"))["ReplOwners"]
|
||||
@@ -18,7 +19,7 @@ class CustomCtx(Context):
|
||||
self.Paginator = Paginator
|
||||
self.WebhookPaginator = WebhookPaginator
|
||||
self.session = aiohttp.ClientSession(loop=self.bot.loop)
|
||||
|
||||
|
||||
async def paginate(
|
||||
self,
|
||||
pages: List[discord.Embed | str],
|
||||
@@ -28,7 +29,6 @@ class CustomCtx(Context):
|
||||
await self.Paginator(pages=pages, pagetype=pagetype).start(ctx=self, **kwargs)
|
||||
|
||||
|
||||
|
||||
class Brahmos(Bot):
|
||||
"""
|
||||
Custom bot class
|
||||
|
||||
Reference in new issue
Block a user