From 8dc67337aaddbd3d9a96069f4573599574c59f3a Mon Sep 17 00:00:00 2001 From: Luke Robles Date: Fri, 14 Jun 2024 12:13:49 -0700 Subject: [PATCH] Disable the star citgizen incident poll --- app/cogs/star_citizen.py | 2 +- scratchpad/get_warframe_mods.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/cogs/star_citizen.py b/app/cogs/star_citizen.py index 4c5cfa33..2d8b4e2e 100755 --- a/app/cogs/star_citizen.py +++ b/app/cogs/star_citizen.py @@ -18,7 +18,7 @@ else: class StarCitizen(commands.Cog): def __init__(self, bot): self.bot: commands.Bot = bot - self.poll_status_page.start() + # self.poll_status_page.start() starcitizen = discord.SlashCommandGroup( "starcitizen", "StarCitizen related commands" diff --git a/scratchpad/get_warframe_mods.py b/scratchpad/get_warframe_mods.py index 4ed61b23..151af84d 100755 --- a/scratchpad/get_warframe_mods.py +++ b/scratchpad/get_warframe_mods.py @@ -7,7 +7,7 @@ import queue def get_all_mods(letter, q: queue.Queue): all_mods = [] # Step through the alphabet, and query each page - url = "https://warframe.fandom.com/wiki/Category:Mods?from=%s" % letter + url = f"https://warframe.fandom.com/wiki/Category:Mods?from={letter}" response = requests.get(url) soup = BeautifulSoup(response.text, "html.parser")