Improved linting and removed unused imports

This commit is contained in:
Profitroll
2023-02-17 22:59:03 +01:00
parent 807e629ae7
commit b766d0c52c
8 changed files with 31 additions and 157 deletions

View File

@@ -3,7 +3,7 @@ from classes.poster_client import PosterClient
from pyrogram.types import BotCommand, BotCommandScopeChat
from modules.utils import configGet, locale
async def register_commands(app: PosterClient):
async def register_commands(app: PosterClient) -> None:
if configGet("submit", "mode"):
# Registering user commands