Better help message

This commit is contained in:
2022-01-30 21:50:18 +07:00
parent 040eab96ef
commit da56d51ba0
+18 -8
View File
@@ -17,22 +17,32 @@ const EMBEDS = {
let _e = makeInfoEmbed({ let _e = makeInfoEmbed({
icon: "💌", icon: "💌",
title: `Help - ${DiscordProvider.client.user?.username}`, title: `Help - ${DiscordProvider.client.user?.username}`,
description: `\u200b\n📰 **Info**\nYumi is currently undergoing complete rewrite, as expected, losing many of her functionality. All of the features will be re-implemented.\n\n🤔 **Why?**\nYumi was specifically written for use in a only 1 private server, now it's time to extend the border and globalize it (just kidding lol)\n\n🏷️**Prefix**\nYou can call me using \`\`${prefix.replaceAll('`','`')}\`\`, <@${DiscordProvider.client.user?.id}> or \`\`/slash command\`\`\n\n💻 **Available commands**`,
fields: [ fields: [
{ {
name: 'Info', name: '☕ General',
value: `Yumi is currently undergoing complete rewrite, as expected, losing many of her functionality. All of the features will be re-implemented.` value: `help, ping, invite, userinfo`,
inline: true
}, },
{ {
name: 'Why?', name: '🎵 Music',
value: `Yumi was specifically written for use in a only 1 private server, now it's time to extend the border and globalize it (just kidding lol)` value: `play, search, skip, queue, join, leave`,
inline: true
}, },
{ {
name: 'Prefix', name: '🎮 Games',
value: `You can call me using \`\`${prefix.replaceAll('`','`')}\`\`, <@${DiscordProvider.client.user?.id}> or \`\`/slash command\`\`` value: `osu`,
inline: true
}, },
{ {
name: 'Available commands', name: '🔐 Admin',
value: '``help``\n``ping``\n``invite``\n``osu``\n``membershipscreening (ms)``\n``interaction`' value: `settings, say, membershipscreening (ms)`,
inline: true
},
{
name: '🔧 Developer',
value: 'interactions, serviceannouncement',
inline: true
} }
], ],
user: (data instanceof Interaction) ? data.user : data.author user: (data instanceof Interaction) ? data.user : data.author