mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-22 01:57:54 +02:00
Report doesn't need EMBED_LINKS, emoji in report
This commit is contained in:
@@ -3,7 +3,7 @@ const { MessageEmbed } = require('discord.js');
|
|||||||
const { list } = require('../../util/Util');
|
const { list } = require('../../util/Util');
|
||||||
const reasons = ['bug', 'feedback', 'suggestion'];
|
const reasons = ['bug', 'feedback', 'suggestion'];
|
||||||
const reasonColors = ['RED', 'GREEN', 'YELLOW'];
|
const reasonColors = ['RED', 'GREEN', 'YELLOW'];
|
||||||
const displayReasons = ['Bug Report', 'Feedback', 'Suggestion'];
|
const displayReasons = ['🐛 Bug Report', '📬 Feedback', '❓ Suggestion'];
|
||||||
|
|
||||||
module.exports = class ReportCommand extends Command {
|
module.exports = class ReportCommand extends Command {
|
||||||
constructor(client) {
|
constructor(client) {
|
||||||
@@ -14,7 +14,6 @@ module.exports = class ReportCommand extends Command {
|
|||||||
memberName: 'report',
|
memberName: 'report',
|
||||||
description: 'Reports something to the bot owner(s).',
|
description: 'Reports something to the bot owner(s).',
|
||||||
guarded: true,
|
guarded: true,
|
||||||
clientPermissions: ['EMBED_LINKS'],
|
|
||||||
args: [
|
args: [
|
||||||
{
|
{
|
||||||
key: 'reason',
|
key: 'reason',
|
||||||
@@ -46,6 +45,6 @@ module.exports = class ReportCommand extends Command {
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return msg.say(`**${displayReasons[reason]}** sent! Thank you!`);
|
return msg.say(`${displayReasons[reason]} sent! Thank you!`);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "xiao",
|
"name": "xiao",
|
||||||
"version": "110.9.7",
|
"version": "110.9.8",
|
||||||
"description": "Your personal server companion.",
|
"description": "Your personal server companion.",
|
||||||
"main": "Xiao.js",
|
"main": "Xiao.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|||||||
Reference in New Issue
Block a user