Explorar o código

use correct embed method

Kylie Jo Swistak %!s(int64=5) %!d(string=hai) anos
pai
achega
29199b763f
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      app/app_forms/fable_app.rb

+ 1 - 1
app/app_forms/fable_app.rb

@@ -29,7 +29,7 @@ class FableApplication < ApplicationForm
     reply = BotResponse.new(
       destination: ENV['FABLE_CH'],
       text: "Good News, <@#{fable.user_id}>! Your fable was published!",
-      embed: fable_embed(fable: fable, event: event)
+      embed: fable_embed(fable, event)
     )
 
     event.message.delete