diff --git a/lib/discordrb/webhooks/client.rb b/lib/discordrb/webhooks/client.rb
index <HASH>..<HASH> 100644
--- a/lib/discordrb/webhooks/client.rb
+++ b/lib/discordrb/webhooks/client.rb
@@ -8,6 +8,11 @@ module Discordrb::Webhooks
     # @param token [String] The webhook's authorisation token. Will only be used
     #   if `url` is not set.
     def initialize(url: nil, id: nil, token: nil)
+      @url = if url
+               url
+             else
+               generate_url(id, token)
+             end
     end
 
     private
:anchor: Use generate_url to obtain a URL if none is given