Disable the star citgizen incident poll
This commit is contained in:
parent
59d8d28f08
commit
8dc67337aa
@ -18,7 +18,7 @@ else:
|
|||||||
class StarCitizen(commands.Cog):
|
class StarCitizen(commands.Cog):
|
||||||
def __init__(self, bot):
|
def __init__(self, bot):
|
||||||
self.bot: commands.Bot = bot
|
self.bot: commands.Bot = bot
|
||||||
self.poll_status_page.start()
|
# self.poll_status_page.start()
|
||||||
|
|
||||||
starcitizen = discord.SlashCommandGroup(
|
starcitizen = discord.SlashCommandGroup(
|
||||||
"starcitizen", "StarCitizen related commands"
|
"starcitizen", "StarCitizen related commands"
|
||||||
|
@ -7,7 +7,7 @@ import queue
|
|||||||
def get_all_mods(letter, q: queue.Queue):
|
def get_all_mods(letter, q: queue.Queue):
|
||||||
all_mods = []
|
all_mods = []
|
||||||
# Step through the alphabet, and query each page
|
# 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)
|
response = requests.get(url)
|
||||||
soup = BeautifulSoup(response.text, "html.parser")
|
soup = BeautifulSoup(response.text, "html.parser")
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user