pylint fixes

This commit is contained in:
SeaswimmerTheFsh 2023-06-20 20:09:08 -04:00
parent 272b03946d
commit 89936460af
2 changed files with 0 additions and 7 deletions

View file

@ -74,12 +74,6 @@ class Client(commands.CommandsClient):
else: else:
await ctx.message.reply(f"The prefix is currently set to `{prefix}`.") await ctx.message.reply(f"The prefix is currently set to `{prefix}`.")
@commands.command()
async def temptimeout(self, ctx: commands.Context):
target = Client.get_server(self, "01G9FHH3F20QHBERQ6FT3RT5Y2").get_member("01H37XQF4WMV6HRGYTA03YMSDZ")
duration = Moderation.parse_timedelta(self, "1 minute")
await target.timeout(duration)
async def main(): async def main():
# This function logs into the bot user. # This function logs into the bot user.
async with aiohttp.ClientSession() as session: async with aiohttp.ClientSession() as session:

View file

@ -1,5 +1,4 @@
import os import os
from datetime import timedelta
import dotenv import dotenv
import mysql.connector import mysql.connector
import revolt import revolt