mirror of
https://gitlab.com/bignutty/labscore.git
synced 2025-06-08 06:03:04 -04:00
improvements
This commit is contained in:
parent
f3cb7dea56
commit
561cecdfdc
3 changed files with 0 additions and 5 deletions
|
@ -135,7 +135,6 @@ module.exports = {
|
|||
|
||||
let res;
|
||||
try{
|
||||
console.log(toCodePoint(emoji[0]))
|
||||
res = await emojipedia(context, emoji[0], toCodePoint(emoji[0]))
|
||||
res = res.response.body
|
||||
}catch(e){
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -11,7 +11,6 @@ const { Components, Snowflake } = require("detritus-client/lib/utils");
|
|||
const { bold } = require("detritus-client/lib/utils/markup");
|
||||
|
||||
const onlyEmoji = require('emoji-aware').onlyEmoji;
|
||||
const ecache = require('./emoji.json')
|
||||
|
||||
function toCodePoint(unicodeSurrogates, sep) {
|
||||
var
|
||||
|
@ -112,7 +111,6 @@ module.exports = {
|
|||
|
||||
components.clear();
|
||||
if(newView.data.metadata.similar) for(const e of newView.data.metadata.similar.splice(0, 5)){
|
||||
if(!ecache.includes(e)) continue;
|
||||
components.addButton({
|
||||
customId: e,
|
||||
emoji: e,
|
||||
|
@ -127,7 +125,6 @@ module.exports = {
|
|||
})
|
||||
|
||||
if(res.data.metadata.similar) for(const e of res.data.metadata.similar.splice(0, 5)){
|
||||
if(!ecache.includes(e)) continue;
|
||||
components.addButton({
|
||||
customId: e,
|
||||
emoji: e,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue