Prechádzať zdrojové kódy

use correct embed method

Kylie Jo Swistak 5 rokov pred
rodič
commit
29199b763f
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  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(
     reply = BotResponse.new(
       destination: ENV['FABLE_CH'],
       destination: ENV['FABLE_CH'],
       text: "Good News, <@#{fable.user_id}>! Your fable was published!",
       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
     event.message.delete