mirror of
https://github.com/DarthKilroy/Spot.git
synced 2025-12-23 20:26: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
40
model/command/system-relationships.js
Normal file
40
model/command/system-relationships.js
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
const { MessageEmbed } = require('discord.js');
|
||||
const CommandCategory = require('../command-category');
|
||||
const CommandPermission = require('../command-permission');
|
||||
|
||||
class SystemRelationships
|
||||
{
|
||||
static instance = null;
|
||||
|
||||
constructor() {
|
||||
if (SystemRelationships.instance !== null) {
|
||||
return SystemRelationships.instance;
|
||||
}
|
||||
|
||||
this.aliases = ['system-relationship', 'systemrelationships', 'systemrelationships', 'sr'];
|
||||
this.category = CommandCategory.RESOURCE;
|
||||
this.isAllowedForContext = CommandPermission.yes;
|
||||
this.description = 'Explains what "system relationships" are.';
|
||||
}
|
||||
|
||||
/**
|
||||
* @param {Message} message
|
||||
* @param {Array} args
|
||||
*/
|
||||
async process(message, args) {
|
||||
const embed = new MessageEmbed();
|
||||
|
||||
embed.setColor(APP_MAIN_COLOUR);
|
||||
embed.setAuthor('System relationships', bot.user.displayAvatarURL({ dynamic: true }));
|
||||
embed.setDescription(
|
||||
'This is an open-ended field meant to describe what relationships a headmate has. It can be used to ' +
|
||||
'describe the member\'s relationship to the system as a whole, their inner system relationships such as ' +
|
||||
'being family, friends, or romantic partners, or it can describe their outer-system relationships with ' +
|
||||
'people in the outer world, such as family, friends, and romantic partners.'
|
||||
);
|
||||
|
||||
return message.channel.send(embed);
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = new SystemRelationships();
|
||||
Loading…
Add table
Add a link
Reference in a new issue