Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ccauvang/emoji-progressbar
emoji progressbar
https://github.com/ccauvang/emoji-progressbar
bar bot bruh discord discord-bot discord-js emoji emoji-bar emoji-progress emoji-progress-bar javascript lmao lmfao progress progress-bar
Last synced: about 1 month ago
JSON representation
emoji progressbar
- Host: GitHub
- URL: https://github.com/ccauvang/emoji-progressbar
- Owner: ccauvang
- License: mit
- Created: 2022-11-06T23:11:12.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-07-21T00:58:40.000Z (over 1 year ago)
- Last Synced: 2024-11-07T13:57:01.007Z (about 2 months ago)
- Topics: bar, bot, bruh, discord, discord-bot, discord-js, emoji, emoji-bar, emoji-progress, emoji-progress-bar, javascript, lmao, lmfao, progress, progress-bar
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/emoji-progressbar?activeTab=readme
- Size: 47.9 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Emoji-ProgressBar
#English:A simple Javascript code to easily create emoji progress bar for your discord bot.
#Vietnamese:
code Javascript đơn giản dễ dàng để tạo emoji progress bar cho bot discord của bạn.
#French: (gg translate)
code Javascript simple pour créer facilement une barre de progression emoji pour votre bot discord.
#Japanese: (gg translate)
Discord ボットの絵文字プログレス バーを簡単に作成するためのシンプルな Javascript コード。
## How to use it
```javascript
import { emojibar } from 'emoji-progressbar';
const emojibar = require("emoji-progressbar");
var progressbar = emojibar(fullStart, fullBar, fullEnd, emptyStart, emptyBar, emptyEnd, value, maxValue, size);//v2
import { emojibarv2 } from 'emoji-progressbar';
const emojibarv2 = require("emoji-progressbar");
var progressbar = emojibarv2(Bar1empty, Bar1mid, Bar1full, Bar2empty, Bar2mid, Bar2high, Bar2full, Bar3empty, Bar3mid, Bar3full, value, maxValue, size);
```## Code example
```js
//emojibar
console.log(emojibar("🇻🇳", "🐸", "💀", "🗿", "👌", "🙏", 10, 20, 5));
//return 🇻🇳🐸🐸👌🙏
console.log(emojibar("🇻🇳", "🐸", "💀", "🗿", "👌", "🙏", 200, 200, 5));
//return 🇻🇳🐸🐸🐸💀
console.log(emojibar("🇻🇳", "🐸", "💀", "🗿", "👌", "🙏", 0, 200, 5));
//return 🗿👌👌👌🙏
//----//
//emojibarv2
console.log(emojibarv2('1️⃣','2️⃣','3️⃣','4️⃣','5️⃣','6️⃣','7️⃣','8️⃣','9️⃣','🔟', 50, 100, 6));
//return 3️⃣6️⃣4️⃣4️⃣4️⃣8️⃣
console.log(emojibarv2('1️⃣','2️⃣','3️⃣','4️⃣','5️⃣','6️⃣','7️⃣','8️⃣','9️⃣','🔟', 90, 100, 6));
//return 3️⃣7️⃣7️⃣7️⃣7️⃣9️⃣
```
## Emoji discord | example image