File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3737from .make_applicant import MakeApplicantContextCommandsCog , MakeApplicantSlashCommandCog
3838from .make_member import MakeMemberCommandCog , MemberCountCommandCog
3939from .ping import PingCommandCog
40- from .remind_me import ClearRemindersBacklogTaskCog , RemindMeCommandCog
4140from .send_get_roles_reminders import SendGetRolesRemindersTaskCog
4241from .send_introduction_reminders import SendIntroductionRemindersTaskCog
4342from .source import SourceCommandCog
7877 "ManualModerationCog" ,
7978 "MemberCountCommandCog" ,
8079 "PingCommandCog" ,
81- "RemindMeCommandCog" ,
8280 "SendGetRolesRemindersTaskCog" ,
8381 "SendIntroductionRemindersTaskCog" ,
8482 "SourceCommandCog" ,
@@ -98,7 +96,6 @@ def setup(bot: "TeXBot") -> None:
9896 AnnualRolesResetCommandCog ,
9997 AnnualYearChannelsIncrementCommandCog ,
10098 ArchiveCommandsCog ,
101- ClearRemindersBacklogTaskCog ,
10299 CommandErrorCog ,
103100 CommitteeActionsTrackingSlashCommandsCog ,
104101 CommitteeActionsTrackingContextCommandCog ,
@@ -119,7 +116,6 @@ def setup(bot: "TeXBot") -> None:
119116 ManualModerationCog ,
120117 MemberCountCommandCog ,
121118 PingCommandCog ,
122- RemindMeCommandCog ,
123119 SendGetRolesRemindersTaskCog ,
124120 SendIntroductionRemindersTaskCog ,
125121 SourceCommandCog ,
Original file line number Diff line number Diff line change 77from db .core .models import (
88 AssignedCommitteeAction ,
99 DiscordMemberStrikes ,
10- DiscordReminder ,
1110 GroupMadeMember ,
1211 SentGetRolesReminderMember ,
1312 SentOneOffIntroductionReminderMember ,
@@ -50,20 +49,6 @@ async def _delete_all(
5049 f"All { delete_model_instances_name_plural } deleted successfully." , ephemeral = True
5150 )
5251
53- @delete_all .command (
54- name = "reminders" , description = "Deletes all Reminders from the backend database."
55- )
56- @CommandChecks .check_interaction_user_has_committee_role
57- @CommandChecks .check_interaction_user_in_main_guild
58- async def delete_all_reminders (self , ctx : "TeXBotApplicationContext" ) -> None :
59- """
60- Definition & callback response of the "delete_all_reminders" command.
61-
62- The "delete_all_reminders" command uses the _delete_all() function
63- to delete all `DiscordReminder` instance objects stored in the database.
64- """
65- await self ._delete_all (ctx , delete_model = DiscordReminder )
66-
6752 @delete_all .command (
6853 name = "group-made-members" ,
6954 description = "Deletes all Group Made Members from the backend database." ,
You can’t perform that action at this time.
0 commit comments