Skip to content

ValltDiscord/reactions-helper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

reactions-helper

reactions-helper is a JavaScript library that helps you to developer your own Discord Bot

Example Code:

const Discord = require("discord.js")
const client = new Discord.Client({ intents: new Discord.Intents(32767) });

client.on('ready', () => {
    console.log(`Logged in as ${client.user.tag}!`);
});

client.on('messageCreate', async msg => {
    if (!msg.guild || msg.author.bot) return;

    if (msg.channel.id == "id room") {
        const reactons_helper = require("./src")
        const emojis = reactons_helper.GetEmojis(msg.content)

        emojis.forEach(async emoji => {
            msg.reply(`${emoji.image}`)
        })
    }
});

client.login('token');

About

get emojis and stickers discord

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published