Fixed one lint error

This commit is contained in:
Medzik 2021-07-15 11:38:56 +02:00
parent c77de68966
commit 87933a3f92
1 changed files with 5 additions and 1 deletions

View File

@ -27,7 +27,7 @@ func API(link string) {
return
}
c.SendMsg(s, disgord.Embed{
_, err = c.SendMsg(s, disgord.Embed{
Title: link,
Timestamp: disgord.Time{
Time: time.Now().UTC(),
@ -37,4 +37,8 @@ func API(link string) {
URL: link,
},
})
if common.CheckErr(err, "send msg") {
return
}
}