Skip to content

Latest commit

 

History

History
28 lines (20 loc) · 391 Bytes

usdmentiontype.md

File metadata and controls

28 lines (20 loc) · 391 Bytes
description
Uses an argument to determine the type of the mention.

$mentionType

This function returns what type of mention the given argument is.

Raw usage: $mentionType[mention argument]

Mention types:

  • user
  • role
  • channel
  • none

Example command:

bot.command({
name: "mention",
code: `
Mention type in your message: $mentionType[$message]
`
})