Skip to content

1.3.0

Latest

Choose a tag to compare

@distantnative distantnative released this 23 Oct 19:48
11c7810

🎉 Features

  • New timeout parameter: the number of seconds to wait for Discord's answer:
Discord::submit(
  webhook: option('discord.webhook'),
  title: 'New sign-up',
  timeout: 3
);

🐛 Bug fixes

  • Parameters without content are left out of the request
  • Texts longer than Discord allows are shortened and end with ….
  • Fields without a value are skipped, as Discord rejects them.
  • Mentions in content, like @everyone, @here or <@user-id>, no longer ping anyone.