We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 30301f1 commit 436838dCopy full SHA for 436838d
plugin/thesaurus/chat.go
@@ -188,10 +188,10 @@ func init() {
188
r.Header.Set("Authorization", alpacatoken)
189
return nil
190
}, bytes.NewReader(binary.NewWriterF(func(writer *binary.Writer) {
191
- _ = json.NewEncoder(writer).Encode(&alpacamsg{
+ _ = json.NewEncoder(writer).Encode(&[]alpacamsg{{
192
Name: ctx.CardOrNickName(ctx.Event.UserID),
193
Message: msg,
194
- })
+ }})
195
})))
196
if err != nil {
197
logrus.Warnln("[chat] 🦙 err:", err)
0 commit comments