text: from typing import Tuple
  import discord
  import datetime
  from . import static, formatting
  
  
  class RoEmbed(discord.Embed):
      def __init__(
          self,
          title: str,
          description: str = None,
          color: int = None,
          icon_url: str = None,
          url: str = None,
      ):
          super(RoEmbed, self).__init__(
              colour=color if color else static.ColorEmbedDefault
          )
  
          self.description = description if description else ""
          # Author replaces our title
          self.set_author(
              name=title,
              icon_url=static.AppIcon if icon_url is None else icon_url,
              url=static.GitHubRepo if url is None else url,
          )
  
          # Footer contains some eye candy and timestamp
          self.set_footer(
              text=f"{static.GitHubRepoShort} | {formatting.format_date(datetime.datetime.utcnow())}",
              icon_url=static.GitHubIcon,
          )
  
      def add_fields(self, *fields: Tuple[str, str]):
          for name, value in fields:
              self.add_field(name=name, value=value, inline=False)
  