Disable the star citgizen incident poll
All checks were successful
Build and push / changes (push) Successful in 5s
Build and push / Lint-Python (push) Successful in 6s
Build and push / Build-and-Push-Docker (push) Successful in 1m20s
Build and push / sync-argocd-app (push) Successful in 3s

This commit is contained in:
Luke R 2024-06-14 12:13:49 -07:00
parent 749a578693
commit 5530b165c8
2 changed files with 2 additions and 2 deletions

View File

@ -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"

View File

@ -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")