From 073eaf98ea1d76c7e45f18875d2d8e0098944a35 Mon Sep 17 00:00:00 2001 From: Cameron Brown Date: Fri, 3 May 2024 12:45:52 -0400 Subject: [PATCH] Away view should be persistent --- src/bot.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/bot.py b/src/bot.py index 38b10c8..e2eeb55 100644 --- a/src/bot.py +++ b/src/bot.py @@ -32,6 +32,7 @@ ) from .exceptions import MILBotErrorHandler, ResourceNotFound from .github import GitHub, GitHubInviteView +from .leaders import AwayView from .projects import SoftwareProjectsView from .reports import ReportsCog, ReportsView from .roles import MechanicalRolesView, SummerRolesView, TeamRolesView @@ -234,6 +235,7 @@ async def setup_hook(self) -> None: self.add_view(StartEmailVerificationView(self)) self.add_view(AnonymousReportView(self)) self.add_view(GitHubInviteView(self)) + self.add_view(AwayView(self)) agcm = gspread_asyncio.AsyncioGspreadClientManager(get_creds) self.agc = await agcm.authorize()