소스 검색

use correct embed method

Kylie Jo Swistak 5 년 전
부모
커밋
29199b763f
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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