Add a /report command with a required text option for the reason and a severity option the user picks from low, medium or high, and post it in #mod-logs
Members report issues to moderators with /report.
Usage:
/report â describe the issue and pick low/medium/high severitySetup: Set the moderator logs channel in the dashboard (defaults to #mod-logs in tests).
Made by MEE6. Remix it to get a copy of your own and change anything you like.
Someone is spamming links in general chat
Medium
@Alex
Urgent: offensive content in voice channel name
High
@Jordan
Minor typo in server rules channel
Low
@Sam
// Report System â members report issues to moderators
mee6.settings({
mod_channel: {
type: 'channel',
label: 'Moderator logs channel',
required: true,
sample: 'mod-logs',
},
});
mee6.command(
'report',
{
description: 'Report an issue to moderators',
options: [
{
name: 'reason',
type: 'string',
description: 'What are you reporting?',
required: true,
},
{
name: 'severity',
type: 'string',
description: 'How severe is this issue?',
required: true,
choices: [
{ name: 'Low', value: 'low' },
{ name: 'Medium', value: 'medium' },
{ name: 'High', value: 'high' },
],
},
],
ephemeral: true, // Reporter's identity stays private
},
async (ctx) => {
const channelId = ctx.settings.mod_channel;
if (!channelId) {
await ctx.reply('Reports are not configured yet. Ask an admin to set the moderator channel in the dashboard.');
return;
}
const reason = ctx.option<string>('reason');
const severity = ctx.option<string>('severity');
// Color and emoji by severity
const severityConfig = {
low: { color: '#95a5a6', emoji: 'âšī¸', label: 'Low' },
medium: { color: '#f39c12', emoji: 'â ī¸', label: 'Medium' },
high: { color: '#e74c3c', emoji: 'đ¨', label: 'High' },
};
const config = severityConfig[severity as keyof typeof severityConfig];
await ctx.send(channelId, {
embed: {
title: `${config.emoji} Report from ${ctx.author.displayName}`,
description: reason,
color: config.color,
fields: [
{ name: 'Severity', value: config.label, inline: true },
{ name: 'Reported by', value: ctx.author.mention, inline: true },
],
footer: { text: `User ID: ${ctx.author.id}` },
timestamp: new Date().toISOString(),
},
});
await ctx.reply('â
Your report has been sent to the moderators. Thank you!');
}
);