Skip to content

Instantly share code, notes, and snippets.

Ruqa Bot

A feature rich Discord Music bot

How to use?

-------------------------------------------------------------------------------------------------------------------------------------
| Command       Aliases                 Arguments                     Description                                                   |
-------------------------------------------------------------------------------------------------------------------------------------
| join          connect                 N/A                          Join the voice channel where you're connected                  |
| leave         disconnect/lost         N/A                          Leave the voice channel                                        |
#!/bin/sh
if [ ! mpv ]; then
echo -e "\033[0;91mPlease install mpv first in your system"
fi
help() {
echo "A small radio player script"
echo "Stations [1 to 6] (please select randomly)"
}
const fetch = require('node-fetch');
async function getImgur(apiKey, term) {
if (!apiKey) throw new Error('Requires API key.');
if (!term) throw new Error('`Requirres query name.');
try {
await fetch(`https://api.imgur.com/3/gallery/search/top/1/?q=${term}`, {
headers: {
Authorization: `Client-ID ${apiKey}`