mirror of
https://gitlab.com/bignutty/labscore.git
synced 2025-06-08 06:03:04 -04:00
change embed type to warning
This commit is contained in:
parent
e430254ffa
commit
a01defb1b0
2 changed files with 2 additions and 2 deletions
|
@ -62,7 +62,7 @@ module.exports = {
|
||||||
let search = await reverseImageSearch(context, attachment)
|
let search = await reverseImageSearch(context, attachment)
|
||||||
search = search.response
|
search = search.response
|
||||||
|
|
||||||
if (search.body.status == 2) return editOrReply(context, createEmbed("error", context, search.body.message))
|
if (search.body.status == 2) return editOrReply(context, createEmbed("warning", context, search.body.message))
|
||||||
|
|
||||||
let pages = []
|
let pages = []
|
||||||
for (const res of search.body.results) {
|
for (const res of search.body.results) {
|
||||||
|
|
|
@ -53,7 +53,7 @@ module.exports = {
|
||||||
let search = await reverseImageSearch(context, image)
|
let search = await reverseImageSearch(context, image)
|
||||||
search = search.response
|
search = search.response
|
||||||
|
|
||||||
if (search.body.status == 2) return editOrReply(context, createEmbed("error", context, search.body.message))
|
if (search.body.status == 2) return editOrReply(context, createEmbed("warning", context, search.body.message))
|
||||||
|
|
||||||
let pages = []
|
let pages = []
|
||||||
for (const res of search.body.results) {
|
for (const res of search.body.results) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue