discord-emoji-mention
v1.0.1
Published
use for mention role channel and emojis
Downloads
4
Readme
Discord-Emoji-Mention
this api help to mention Emojis,Roles,Channels
api support v11,v12 also v13 in Discord.js
Emoji Mention
const mention = require("discord-emoji-mention");
mention.emoji(<Server Emojis Array>,<Message>)
/* Example */
mention.emoji(message.guild.cache.emojis.map(e => e), args.join(" "))
Role Mention
const mention = require("discord-emoji-mention");
mention.role(<server Role Array>,<message>);
Channel Mention
const mention = require("discord-emoji-mention");
mention.channel(<server Channel Array>,<message>);
Example-
Role
message="{&[Role_name]}"
output- Name boy
Channel
message="{#[channel_name]}"
output- #Test channel
Emoji
message="{:[emoji_name]}"
output- 😝(also support Nitro Emojis)