use ?
prefix for tags
This commit is contained in:
parent
5b44978ec2
commit
35a64b4f25
2 changed files with 30 additions and 24 deletions
|
@ -12,6 +12,7 @@ export const cmd: Command = {
|
|||
for (const i in tags) {
|
||||
const tag = tags[i];
|
||||
let text = '';
|
||||
|
||||
if (tag.aliases && tag.aliases[0]) {
|
||||
text += '**Aliases**: ' + tag.aliases.join(', ') + '\n';
|
||||
}
|
||||
|
@ -21,7 +22,8 @@ export const cmd: Command = {
|
|||
} else if (tag.embed) {
|
||||
text += '\n[embedded message]';
|
||||
}
|
||||
em.addField(tag.name, text);
|
||||
|
||||
em.addField('?' + tag.name, text);
|
||||
}
|
||||
|
||||
await e.reply({ embeds: [em] });
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue