diff options
Diffstat (limited to 'lib/models/channel.ml')
| -rw-r--r-- | lib/models/channel.ml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/models/channel.ml b/lib/models/channel.ml index c3524ef..972f888 100644 --- a/lib/models/channel.ml +++ b/lib/models/channel.ml @@ -11,7 +11,7 @@ let say ~content ch = let send_message ?embed ?content ?file ?(tts=false) ch = let embed = match embed with - | Some e -> e + | Some e -> Embed.to_yojson e | None -> `Null in let content = match content with | Some c -> `String c |