aboutsummaryrefslogtreecommitdiffstats
path: root/bot/bot.py
diff options
context:
space:
mode:
authorGravatar Rohan Reddy Alleti <[email protected]>2023-05-17 12:23:29 +0530
committerGravatar GitHub <[email protected]>2023-05-17 12:23:29 +0530
commit7876744fedab9fbb22a160c8950ee22262570270 (patch)
treef7189b5f3e9c0947d71f86461f151e50092f6e2c /bot/bot.py
parentnit (diff)
parentBump sentry-sdk from 1.22.2 to 1.23.0 (#1277) (diff)
Merge branch 'main' into undeprecate-bookmark
Diffstat (limited to 'bot/bot.py')
-rw-r--r--bot/bot.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/bot/bot.py b/bot/bot.py
index da19bdd9..0b20ac54 100644
--- a/bot/bot.py
+++ b/bot/bot.py
@@ -1,5 +1,4 @@
import logging
-from typing import Optional
import discord
from discord import DiscordException, Embed
@@ -26,7 +25,7 @@ class Bot(BotBase):
name = constants.Client.name
@property
- def member(self) -> Optional[discord.Member]:
+ def member(self) -> discord.Member | None:
"""Retrieves the guild member object for the bot."""
guild = self.get_guild(constants.Client.guild)
if not guild: