visual correction

This commit is contained in:
Amazed 2020-09-01 01:32:12 +02:00
parent ab5afd7d23
commit d4b1586072

View File

@ -202,7 +202,7 @@ class WynncraftCog(commands.Cog):
s = ":green_circle: **%s** connecté sur %s" % (online_player["data"][0]["username"], online_player["data"][0]["meta"]["location"]["server"]) s = ":green_circle: **%s** connecté sur %s" % (online_player["data"][0]["username"], online_player["data"][0]["meta"]["location"]["server"])
full_text += s + "\n" full_text += s + "\n"
if not online_players: if not online_players:
full_text = "Personne n'est connecté :disappointed_relieved:" full_text = "Personne n'est connecté :disappointed_relieved:\n"
full_text += "\n*Dernière mise à jour: %s*" % datetime.datetime.now().strftime("%d-%m-%Y %H:%M:%S") full_text += "\n*Dernière mise à jour: %s*" % datetime.datetime.now().strftime("%d-%m-%Y %H:%M:%S")
online_channel = self.bot.get_channel(750100968766701708) online_channel = self.bot.get_channel(750100968766701708)
update_msg = await online_channel.fetch_message(await self.config.guild(guild).update_msg()) update_msg = await online_channel.fetch_message(await self.config.guild(guild).update_msg())