discord suggestion
$ npm install discord-suggestion-mmc
discord suggestion
$ npm install discord-suggestion-mmc
discord suggestion
const discord = require("discord.js"); // require discord package
let client = new discord.Client(); //setup Discord client
const Suggestion = require("discord-suggestion-mmc"); // require discord Suggestion package
let sugClient = new Suggestion.Client(client);// setup suggestion Client by discord client
let myEmbed = new discord.MessageEmbed().setDescription("Suggestion : <{message}>")
sugClient.setOptions("textToEmbed", {
ChannelId: "Your Channel Id",// Suggestion
Embed: myEmbed, // Embed Will send
// reactions: ["My Reaction Id", "My Reaction Id"] // To add reactions to the messages
});
client.on("message", sugClient.messageEvent); // setup message event
client.login("BOT_TOKEN"); // Login your bot
discord suggestion
const discord = require("discord.js"); // require discord package
let client = new discord.Client(); //setup Discord client
const Suggestion = require("discord-suggestion-mmc"); // require discord Suggestion package
let sugClient = new Suggestion.Client(client);// setup suggestion Client by discord client
let myEmbed = new discord.MessageEmbed()
sugClient.setOptions("EmbedInfo", {
ChannelId: "Your Channel Id",// Suggestion
Embed: myEmbed, // Embed Will send
// reactions: ["My Reaction Id", "My Reaction Id"] // To add reactions to the messages
});
client.on("message", sugClient.messageEvent); // setup message event
client.login("BOT_TOKEN"); // Login your bot
discord suggestion
<{message}> = message.content
<{user.bot}> = message.author.bot
<{user.discriminator}> = message.author.discriminator
<{user.id}> = message.author.id
<{user.tag}> = message.author.tag
<{user.username}> = message.author.username
<{user.avatar}> = message.author.avatar
<{user.defaultAvatarURL}> = message.author.defaultAvatarURL
<{user.avatarURL(dynamic:true)}> = message.author.avatarURL({ dynamic: true })
<{user.avatarURL(dynamic:false)}> = message.author.avatarURL({ dynamic: false })
<{user.avatarURL}> = message.author.avatarURL()
<{user.displayAvatarURL(dynamic:true)}> = message.author.displayAvatarURL({ dynamic: true })
<{user.displayAvatarURL(dynamic:false)}> = message.author.displayAvatarURL({ dynamic: false })
<{user.displayAvatarURL}> = message.author.displayAvatarURL()
<{member.deleted}> = message.member.deleted
<{member.displayColor}> = message.member.displayColor
<{member.displayHexColor}> = message.member.displayHexColor
<{member.displayName}> = message.member.displayName
<{member.id}> = message.member.id
<{member.joinedAt}> = message.member.joinedAt
<{member.joinedTimestamp}> = message.member.joinedTimestamp
<{channel.createdAt}> = message.channel.createdAt
<{channel.createdTimestamp}> = message.channel.createdTimestamp
<{channel.deleted}> = message.channel.deleted
<{channel.id}> = message.channel.id
<{channel.name}> = message.channel.name
<{channel.nsfw}> = message.channel.nsfw
<{channel.parentID}> = message.channel.parentID
<{channel.type}> = message.channel.type
<{guild.afkChannelID}> = message.guild.afkChannelID
<{guild.applicationID}> = message.guild.applicationID
<{guild.banner}> = message.guild.banner
<{guild.bannerURL}> = message.guild.bannerURL()
<{guild.createdAt}> = message.guild.createdAt
<{guild.createdTimestamp}> = message.guild.createdTimestamp
<{guild.deleted}> = message.guild.deleted
<{guild.description}> = message.guild.description
<{guild.embedChannelID}> = message.guild.embedChannelID
<{guild.embedEnabled}> = message.guild.embedEnabled
<{guild.icon}> = message.guild.icon
<{guild.iconURL(dynamic:true)}> = message.guild.iconURL({ dynamic: true })
<{guild.iconURL(dynamic:false)}> = message.guild.iconURL({ dynamic: false })
<{guild.iconURL}> = message.guild.iconURL()
<{guild.id}> = message.guild.id
<{guild.maximumMembers}> = message.guild.maximumMembers
<{guild.memberCount}> = message.guild.memberCount
<{guild.mfaLevel}> = message.guild.mfaLevel
<{guild.name}> = message.guild.name
<{guild.ownerID}> = message.guild.ownerID
<{guild.preferredLocale}> = message.guild.preferredLocale
<{guild.premiumSubscriptionCount}> = message.guild.premiumSubscriptionCount
<{guild.premiumTier}> = message.guild.premiumTier
<{guild.region}> = message.guild.region
<{guild.rulesChannelID}> = message.guild.rulesChannelID
<{guild.shardID}> = message.guild.shardID
<{guild.splash}> = message.guild.splash
<{guild.systemChannelID}> = message.guild.systemChannelID
<{guild.vanityURLCode}> = message.guild.vanityURLCode
<{guild.vanityURLUses}> = message.guild.vanityURLUses
<{guild.verified}> = message.guild.verified
<{guild.widgetChannelID}> = message.guild.widgetChannelID
<{guild.widgetEnabled}> = message.guild.widgetEnabled
discord suggestion
const discord = require("discord.js"); // require discord package
let client = new discord.Client(); //setup Discord client
const Suggestion = require("discord-suggestion-mmc"); // require discord Suggestion package
let sugClient = new Suggestion.Client(client);// setup suggestion Client by discord client
sugClient.setOptions("reactions", {
ChannelId: "Your Channel Id",// Suggestion
reactions: ["My Reaction Id", "My Reaction Id"] // To add reactions to the messages
});
client.on("message", sugClient.messageEvent); // setup message event
client.login("BOT_TOKEN"); // Login your bot
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us