more ruff fixes
Some checks failed
Build and push / changes (push) Successful in 5s
Build and push / Lint-Python (push) Failing after 7s
Build and push / Build-and-Push-Docker (push) Has been skipped
Build and push / sync-argocd-app (push) Has been skipped

This commit is contained in:
Luke Robles 2024-10-17 19:20:42 -07:00
parent 39f0f7091a
commit ba12172b18
2 changed files with 4 additions and 5 deletions

View File

@ -1,8 +1,11 @@
from datetime import datetime
from datetime import timezone
from discord.ext import commands from discord.ext import commands
import core_utils import core_utils
import discord import discord
import os import os
import random import random
import requests
import tarkov import tarkov
@ -31,11 +34,6 @@ class Tarkov(commands.Cog):
description="Time until trader resets", description="Time until trader resets",
) )
async def trader_resets(self, ctx: commands.Context): async def trader_resets(self, ctx: commands.Context):
import requests
from datetime import datetime
from datetime import timezone
await ctx.defer() await ctx.defer()
# Define the target date and time # Define the target date and time
embed = discord.Embed( embed = discord.Embed(

View File

@ -1,6 +1,7 @@
import requests import requests
import discord import discord
import os import os
import json
my_guilds = [826547484632678450, 152921472304676865] my_guilds = [826547484632678450, 152921472304676865]
my_id = 144986109804412928 my_id = 144986109804412928