This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<body> | |
<header class="header"> | |
<div class="container"> | |
<figure class="avatar"> | |
<img src="https://scontent-sin6-1.xx.fbcdn.net/v/t1.0-9/15977755_10207841229656791_4781027181067511410_n.jpg?oh=3d09a537577b5d916689bc1b8a8d6d28&oe=5965881F" alt="" /> | |
</figure> | |
<h1>AgilBAKA</h1> | |
<span id="edit">Edit profile</span> | |
</div> | |
</header> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import request from "request"; | |
import fs from 'fs'; | |
var arr = ["discord", "emote", "betterdiscord", "code_braces", "puzzle", "palette", "close", "file", "file_upload", "file_document", "file_archive", | |
"file_code", "file_webcode", "file_image", "file_video", "file_table", "file_pdf", "file_music", "expand_more", "verified", "popout", "person", "user_profile", "security", | |
"apps", "link", "nitro", "server_boost", "subscriptions", "gift", "payment", "camera", "accessibility", "mic", "chat", "notifications", "keyboard", "language", | |
"windows", "linux", "videocam", "bugs", "games", "aspect_ratio", "history", "hypesquad", "exit" | |
]; | |
var arrle = arr.length; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//... | |
const GOOGLE_API_KEY = "CóCáiLồnĐịtConBàMày" | |
const snekfetch = require('snekfetch'); | |
client.on("message", async message => { | |
if (message.author.bot) return; // return if message was sent from bot | |
const emojiId = message.content.replace(/<a?:(.*?):+/g, ''); | |
let imageUrl = `https://cdn.discordapp.com/emojis/${emojiId}`; | |
if(message.content === imageUrl) return; // return if message only contains emojis |