mirror of
https://gitlab.com/bignutty/labscore.git
synced 2025-06-09 22:53:06 -04:00
fix message
This commit is contained in:
parent
4a2415d8ad
commit
4eaf25ba94
1 changed files with 2 additions and 0 deletions
|
@ -48,6 +48,8 @@ module.exports = {
|
||||||
let search = await dictionary(context, args.query)
|
let search = await dictionary(context, args.query)
|
||||||
search = search.response
|
search = search.response
|
||||||
|
|
||||||
|
if(search.body.status == 1) 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){
|
||||||
pages.push(createDictionaryPage(context, res))
|
pages.push(createDictionaryPage(context, res))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue