Improved linting and removed unused imports
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user