aboutsummaryrefslogtreecommitdiffstats
path: root/bot/bot.py
diff options
context:
space:
mode:
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: