mirror of
https://github.com/DarthKilroy/Spot.git
synced 2025-12-24 04:36:49 +00:00
Added commands, fixed descriptions and titles
This commit is contained in:
parent
8ae81f1cc6
commit
3ef02c33bd
6 changed files with 157 additions and 4 deletions
53
model/command/front-history-importing.js
Normal file
53
model/command/front-history-importing.js
Normal file
|
|
@ -0,0 +1,53 @@
|
|||
const { MessageEmbed } = require('discord.js');
|
||||
const CommandCategory = require('../command-category');
|
||||
const CommandPermission = require('../command-permission');
|
||||
|
||||
class FrontHistoryImporting
|
||||
{
|
||||
static instance = null;
|
||||
|
||||
constructor() {
|
||||
if (FrontHistoryImporting.instance !== null) {
|
||||
return FrontHistoryImporting.instance;
|
||||
}
|
||||
|
||||
this.aliases = [
|
||||
'fronthistoryimporting',
|
||||
'fronthistory-importing',
|
||||
'front-historyimporting',
|
||||
'fronthistoryimport',
|
||||
'fronthistory-import',
|
||||
'front-historyimport',
|
||||
'front-history',
|
||||
'fronthistory',
|
||||
'front-importing',
|
||||
'frontimporting',
|
||||
'front-import',
|
||||
'frontimport',
|
||||
'fhi',
|
||||
];
|
||||
this.category = CommandCategory.RESOURCE;
|
||||
this.isAllowedForContext = CommandPermission.yes;
|
||||
this.description = 'Talks about importing the front history from PluralKit.';
|
||||
}
|
||||
|
||||
/**
|
||||
* @param {Message} message
|
||||
* @param {Array} args
|
||||
*/
|
||||
async process(message, args) {
|
||||
const embed = new MessageEmbed();
|
||||
|
||||
embed.setColor(APP_MAIN_COLOUR);
|
||||
embed.setAuthor('Front history importing', bot.user.displayAvatarURL({ dynamic: true }));
|
||||
embed.setDescription(
|
||||
'Importing your front history from PluralKit is planned in the future, but is currently impossible ' +
|
||||
'until APIv2 for PluralKit is finished. This feature also takes a lower priority than features unique ' +
|
||||
'to Simply Plural.'
|
||||
);
|
||||
|
||||
return message.channel.send(embed);
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = new FrontHistoryImporting();
|
||||
Loading…
Add table
Add a link
Reference in a new issue