diff options
author | 2023-05-17 12:23:29 +0530 | |
---|---|---|
committer | 2023-05-17 12:23:29 +0530 | |
commit | 7876744fedab9fbb22a160c8950ee22262570270 (patch) | |
tree | f7189b5f3e9c0947d71f86461f151e50092f6e2c /bot/bot.py | |
parent | nit (diff) | |
parent | Bump 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.py | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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: |