Skip to content

Commit

Permalink
Update meeting time, remove verification prep message, add Fall 2024 …
Browse files Browse the repository at this point in the history
…semester
  • Loading branch information
cbrxyz committed Aug 26, 2024
1 parent 14221b1 commit 125c2a8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 19 deletions.
1 change: 1 addition & 0 deletions src/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
(datetime.date(2023, 8, 23), datetime.date(2023, 12, 6)),
(datetime.date(2024, 1, 8), datetime.date(2024, 4, 28)),
(datetime.date(2024, 5, 20), datetime.date(2024, 8, 4)),
(datetime.date(2024, 8, 22), datetime.date(2024, 12, 4)),
]
SCHWARTZ_EMAIL = "ems@ufl.edu"

Expand Down
20 changes: 1 addition & 19 deletions src/leaders.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,13 @@
from .github import GitHubInviteView
from .tasks import run_on_weekday
from .utils import is_active, make_and
from .verification import StartEmailVerificationView
from .views import MILBotView

if TYPE_CHECKING:
from .bot import MILBot


MEETING_TIME = datetime.time(16, 30, 0)
MEETING_TIME = datetime.time(17, 0, 0)
MEETING_DAY = calendar.MONDAY


Expand Down Expand Up @@ -280,23 +279,6 @@ def _away_cooldown_check(
return False
return True

@commands.command()
@commands.is_owner()
async def prepverify(self, ctx: commands.Context):
# Embed to allow current members to verify themselves with their email
# address. A recent security measure we implemented recently.
start_date = datetime.datetime(2024, 4, 16, 0, 0, 0)
end_date = datetime.datetime(2024, 5, 13, 0, 0, 0)
embed = discord.Embed(
title="Required Server Verification",
description=f"* Starting on {discord.utils.format_dt(start_date, 'D')}, all members will need to authenticate themselves with their `ufl.edu` email address in order to maintain access to the server, for security purposes. This authentication process is short, and will only need to be completed once. You must use the `ufl.edu` email belonging to you.\n* {self.bot.alumni_role.mention} are exempt from this process. If you do not have a `ufl.edu` email address, please reach out to {self.bot.leaders_role.mention} or Dr. Schwartz for assistance.\n* All members with unauthenticated email addresses will be **removed from the server** on the first day of Summer 2024 ({discord.utils.format_dt(end_date, 'D')}).",
color=discord.Color.brand_green(),
)
await ctx.send(
embed=embed,
view=StartEmailVerificationView(self.bot),
)

@commands.command()
@commands.is_owner()
async def prepanonymous(self, ctx: commands.Context):
Expand Down

0 comments on commit 125c2a8

Please sign in to comment.