more pylint fixes
This commit is contained in:
parent
fd55b375b4
commit
83ec43ee21
1 changed files with 3 additions and 3 deletions
6
main.py
6
main.py
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue