Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions .env.template
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,7 @@ API_PRIVATE_KEY=
API_STATIC_TOKEN=
BASE_API_URL=
PANEL_API_URL=
# MC API
MC_API_URL=
MC_API_KEY=

# Cog toggles
# TRUE or FALSE — controls the Reminders cog
REMINDERS_ENABLED=TRUE
Expand Down
15 changes: 0 additions & 15 deletions cogs/Configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@
WhitelistVehiclesManagement,
PriorityRequestConfiguration,
)
from ui.MapleCounty import MapleCountyConfiguration
from utils.paginators import CustomPage, SelectPagination
from utils.utils import require_settings, generator, log_command_usage

Expand Down Expand Up @@ -985,12 +984,6 @@ async def _config(self, ctx: commands.Context):
],
)

maple_county_configuration = MapleCountyConfiguration(
bot,
ctx.author.id,
settings.get("MC", {})
)

pages = []

for index, view in enumerate(
Expand All @@ -1006,7 +999,6 @@ async def _config(self, ctx: commands.Context):
erlc_view,
erm_command_log_view,
priority_requests,
maple_county_configuration,
]
):
corresponding_embeds = [
Expand Down Expand Up @@ -1121,13 +1113,6 @@ async def _config(self, ctx: commands.Context):
"**Priority Channel:** This channel will be where priority requests are submitted, and where the message advising staff in regards to the priority request will be sent."
),
),
discord.Embed(
title="Maple County Integration",
color=blank_color,
description=(
"**What is the Maple County Integration?**\nThe Maple County Integration allows for ERM to communicate with the Maple County APIs, and your Maple County server. In particular, these configurations allow for configuration of various Maple County-specific supported features and settings.\n\n"
)
)
]
embed = corresponding_embeds[index]
page = CustomPage()
Expand Down
Loading