Added pre-commit

This commit is contained in:
2021-11-06 00:04:57 +01:00
parent f8e72443f4
commit 66b8ff5f90
13 changed files with 275 additions and 69 deletions
+1 -1
View File
@@ -39,4 +39,4 @@ class EmbedGenerator:
em.set_footer(text=f"Requested by: {ctx.author}", icon_url=avatar)
if kwargs.get("no_send", False):
return em
return await ctx.send(embed=em, **kwargs)
return await ctx.send(embed=em, **kwargs)
+5 -1
View File
@@ -1,5 +1,9 @@
from typing import Dict
from typing import List
from typing import Optional
from aioredis import Redis
from typing import Dict, List, Optional
from bot import redis_prefix
-1
View File
@@ -2,7 +2,6 @@
# Modified work Copyright (c) 2017 Perry Fraser
#
# Licensed under the MIT License. https://opensource.org/licenses/MIT
# Stolen line for line from paginator.py in R. Danny's code
# Added formatting and lots of blocking of inspections
import asyncio