diff --git a/commands/interaction/slash/search/google.js b/commands/interaction/slash/search/google.js index 325819a..ae51b6c 100644 --- a/commands/interaction/slash/search/google.js +++ b/commands/interaction/slash/search/google.js @@ -121,7 +121,11 @@ function createSearchResultPage(context, result, doodle){ break; case SEARCH_CARD_TYPES.UNIT_CONVERTER: res = createEmbed("default", context, { - description: `### Unit Converter\n \n${smallPill(result.units[0])} ${icon("equals")} ${pill(result.units[1])}`, + author: { + name: result.query, + iconUrl: STATIC_ICONS.search_calculator + }, + description: `### Unit Converter\n${smallPill(result.units[0])} ​ ​ ​​${icon("arrow_right")} ​ ​ ​ ​${pill(result.units[1])}`, footer: renderFooter(context, doodle) }) break; diff --git a/commands/message/search/google.js b/commands/message/search/google.js index ccf6b09..d560428 100644 --- a/commands/message/search/google.js +++ b/commands/message/search/google.js @@ -122,7 +122,11 @@ function createSearchResultPage(context, result, doodle){ break; case SEARCH_CARD_TYPES.UNIT_CONVERTER: res = createEmbed("default", context, { - description: `### Unit Converter\n \n${smallPill(result.units[0])} ${icon("equals")} ${pill(result.units[1])}`, + author: { + name: result.query, + iconUrl: STATIC_ICONS.search_calculator + }, + description: `### Unit Converter\n${smallPill(result.units[0])} ​ ​ ​​${icon("arrow_right")} ​ ​ ​ ​${pill(result.units[1])}`, footer: renderFooter(context, doodle) }) break;