Skip to content

CutieCat6778/mention-converter

Repository files navigation

Mention-converter

It is library that support Discord.js community! It will help you guys to convert those string that includes discord mentions string form to a simple ID!

How to install it

You can simple install with this command here

npm install mention-converter

How to do it?

Detailed

const converter = require('mention-converter');
const result = converter('<@!123456789>', {detail: true})
// {"id": "123456789", detail: {type: "user", mobile: false}}

Simpled

const converter = require('mention-converter');
const result = converter('<@!123456789>')
// 123456789

Discord bot click here

My github profile click here

Personal profile click here