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 asyncio
|
||||||
import os
|
import os
|
||||||
from dotenv import load_dotenv
|
from dotenv import load_dotenv
|
||||||
|
@ -12,10 +12,10 @@ api_url = os.getenv('API_URL')
|
||||||
prefix = os.getenv('PREFIX')
|
prefix = os.getenv('PREFIX')
|
||||||
|
|
||||||
class Client(commands.CommandsClient):
|
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):
|
async def get_prefix(self, message: revolt.Message):
|
||||||
return prefix
|
return prefix
|
||||||
|
|
||||||
@commands.command()
|
@commands.command()
|
||||||
async def ping(self, ctx: commands.Context):
|
async def ping(self, ctx: commands.Context):
|
||||||
# Checks if the bot is running.
|
# Checks if the bot is running.
|
||||||
|
|
Loading…
Reference in a new issue