docs: def warning_max_changed(channel, max_warnings):
      """
      Creates an embed UI containing an error message
  
      Args:
          channel (discord.Channel): The Discord channel to bind the embed to
          max_warnings (int): The new maximum warnings
  
      Returns:
          ui (ui_embed.UI): The embed UI object
      """
  
      # Create embed UI object
      gui = ui_embed.UI(
          channel,
          "Maximum Warnings Changed",
          "Users must now have {} warnings to be banned "
          "(this won't ban existing users with warnings)".format(max_warnings),
          modulename=modulename
      )
  
      return gui