rc1
This commit is contained in:
@ -18,7 +18,12 @@ module.exports = {
|
|||||||
Character = docs[0].character;
|
Character = docs[0].character;
|
||||||
if (!Character.hasOwnProperty('chants')) return message.reply(findMessage('NO_CHANTS'));
|
if (!Character.hasOwnProperty('chants')) return message.reply(findMessage('NO_CHANTS'));
|
||||||
if (args.length === 0) {
|
if (args.length === 0) {
|
||||||
return message.reply(ReplyChantList(createChantList(Character)));
|
const Embed = new Discord.MessageEmbed()
|
||||||
|
.setColor('#0099ff')
|
||||||
|
.setTitle(findMessage('SPELLS_TITLE'))
|
||||||
|
.setDescription(findMessage('SPELLS_DESCRIPTION'))
|
||||||
|
.addField(ReplyChantList(createChantList(Character)), '\u200B', true);
|
||||||
|
return message.reply(Embed);
|
||||||
}
|
}
|
||||||
const Chant = getChant({
|
const Chant = getChant({
|
||||||
Character: Character,
|
Character: Character,
|
||||||
|
@ -18,7 +18,12 @@ module.exports = {
|
|||||||
Character = docs[0].character;
|
Character = docs[0].character;
|
||||||
if (!Character.hasOwnProperty('spells')) return message.reply(findMessage('NO_SPELLS'));
|
if (!Character.hasOwnProperty('spells')) return message.reply(findMessage('NO_SPELLS'));
|
||||||
if (args.length === 0) {
|
if (args.length === 0) {
|
||||||
return message.reply(ReplySpellList(createSpellList(Character)));
|
const Embed = new Discord.MessageEmbed()
|
||||||
|
.setColor('#0099ff')
|
||||||
|
.setTitle(findMessage('SPELLS_TITLE'))
|
||||||
|
.setDescription(findMessage('SPELLS_DESCRIPTION'))
|
||||||
|
.addField(ReplySpellList(createSpellList(Character)), '\u200B', true);
|
||||||
|
return message.reply(Embed);
|
||||||
}
|
}
|
||||||
const Spell = getSpell({
|
const Spell = getSpell({
|
||||||
Character: Character,
|
Character: Character,
|
||||||
|
@ -141,8 +141,12 @@ const Replies = [
|
|||||||
{ id: 'ROLL', string: 'Du würfelst:'},
|
{ id: 'ROLL', string: 'Du würfelst:'},
|
||||||
{ id: 'HEADS_OR_TAILS', string: 'Die Münze landet auf ' },
|
{ id: 'HEADS_OR_TAILS', string: 'Die Münze landet auf ' },
|
||||||
{ id: 'SPELL_UNKNOWN', string: 'Diesen Zauber kenne ich nicht.' },
|
{ id: 'SPELL_UNKNOWN', string: 'Diesen Zauber kenne ich nicht.' },
|
||||||
{ id: 'NO_SPELLS', string: 'Du kennst keine Zaubersprüche.'},
|
{ id: 'NO_SPELLS', string: 'Du kennst keine Zaubersprüche.' },
|
||||||
{ id: 'NO_CHANTS', string: 'Du kennst keine Liturgien.'}
|
{ id: 'SPELLS_TITLE', string: 'Zaubersprüche'},
|
||||||
|
{ id: 'SPELLS_DESCRIPTION', string: 'Folgende Zaubersprüche beherrschst du:'},
|
||||||
|
{ id: 'NO_CHANTS', string: 'Du kennst keine Liturgien.' },
|
||||||
|
{ id: 'CHANTS_TITLE', string: 'Liturgien'},
|
||||||
|
{ id: 'CHANTS_DESCRIPTION', string: 'Folgende Liturgien beherrschst du:'},
|
||||||
];
|
];
|
||||||
const Declination = ['dem', 'der', 'dem', '']; // Maskulinum, Feminimum, Neutrum, None
|
const Declination = ['dem', 'der', 'dem', '']; // Maskulinum, Feminimum, Neutrum, None
|
||||||
const Articles = ['Der','Die','Das',''];
|
const Articles = ['Der','Die','Das',''];
|
||||||
|
Reference in New Issue
Block a user