fix player_list issue again
@@ -43,6 +43,9 @@ class Minecraft(commands.Cog):
return
player_list = jj.get('players_names', []) # list
+ if player_list is None:
+ player_list = []
+
players_online = jj['players_online'] # int
embed = discord.Embed(color=self.bot.cc, title=f'{self.bot.custom_emojis["online"]} {combined} is online')
