0.2.0 • Published 5 years ago

discord-get v0.2.0

Weekly downloads
-
License
MIT
Repository
-
Last release
5 years ago

This module has the function to get Discord ID from messages removing <@ and > from the mention

Commands and your results using var discordid = require('discord-get');:

  • discordid.mention('<@123456789>'); the result is getMentionID if ocurred a error the getErr code is 1
  • discordid.channel('<#123456789>'); the result is getChannelID if ocurred a error the getErr code is 2
  • discordid.role('<@&123456789>'); the result is getRoleID if ocurred a error the geterr getErr code is 3
  • discordid.mentionReverse('123456789'); the result is getMentionMessage
  • discordid.channelReverse('123456789'); the result is getChannelMessage
  • discordid.roleReverse('123456789'); the result is getRoleMessage
0.2.0

5 years ago

0.1.8

5 years ago

0.1.7

5 years ago

0.1.6

5 years ago

0.1.5

5 years ago

0.1.4

5 years ago

0.1.3

5 years ago

0.1.2

5 years ago

0.1.1

5 years ago

0.1.0

5 years ago