more pylint fixes

This commit is contained in:
SeaswimmerTheFsh 2023-06-19 17:15:19 -04:00
parent fd55b375b4
commit 83ec43ee21

View file

@ -1,4 +1,4 @@
# pylint: disable=missing-module-docstring
# pylint: disable=missing-module-docstring, missing-function-docstring, missing-class-docstring
import asyncio
import os
from dotenv import load_dotenv
@ -12,10 +12,10 @@ api_url = os.getenv('API_URL')
prefix = os.getenv('PREFIX')
class Client(commands.CommandsClient):
# This class contains all of the commands the bot uses.
# This class contains all of the commands the bot uses.
async def get_prefix(self, message: revolt.Message):
return prefix
@commands.command()
async def ping(self, ctx: commands.Context):
# Checks if the bot is running.