dev #4
4
bot.py
4
bot.py
@ -67,8 +67,8 @@ class DiscordBot(commands.Bot):
|
||||
async def get_ingame_channel(self) -> TextChannel:
|
||||
"""
|
||||
"""
|
||||
channel = self.bot.get_channel(self.bot.in_game_channel_id)
|
||||
return channel or await self.bot.fetch_channel(self.bot.in_game_channel_id)
|
||||
channel = self.get_channel(self.in_game_channel_id)
|
||||
return channel or await self.fetch_channel(self.in_game_channel_id)
|
||||
|
||||
|
||||
def get_bot_token() -> str:
|
||||
|
Reference in New Issue
Block a user