瀏覽代碼

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