This file contains hidden or 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 React, { useRef, useEffect } from "react"; | |
import { SpanPropsWithoutRef } from "react-html-props"; | |
import assert from "assert"; | |
import twemoji from "twemoji"; | |
export interface EmojiProps extends SpanPropsWithoutRef { | |
symbol: string; | |
} | |
export const Emoji = ({ symbol, "aria-label": ariaLabel, ...props }: EmojiProps) => { |
This file contains hidden or 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
/* | |
This allows you to get your Discord token via the Discord console. | |
Why this method? | |
- Simpler, just copy paste the function and call it, no need to monitor and manually look for headers | |
- More accurate | |
- More visually appealing | |
This code is licensed under The Unlicense. For more information please visit https://unlicense.org/ |
This file contains hidden or 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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Twemoji Tutorial</title> | |
<!-- This retrieves the latest Twemoji script --> | |
<script src="https://twemoji.maxcdn.com/v/latest/twemoji.min.js" crossorigin="anonymous"></script> | |
This file contains hidden or 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
""" | |
This was created by Armster15 and is offically | |
licensed under the Unlicense. | |
For information about the license and to view its | |
contents, please visit https://unlicense.org/ | |
WHAT IS THIS? | |
============= | |
This is for getting the number of characters |
NewerOlder