chore: pretty information command
This commit is contained in:
parent
aa8dc685ef
commit
1b29cc2336
2 changed files with 13 additions and 11 deletions
|
@ -23,7 +23,7 @@ container.version = version
|
|||
container.database = new PrismaClient()
|
||||
container.dokdoAliases = ['dokdo', 'dok', 'Dokdo', 'Dok', '테스트']
|
||||
container.chatBot = new ChatBot(container.database)
|
||||
container.lastUpdated = new Date('2024-09-28')
|
||||
container.lastUpdated = new Date('2024-09-29')
|
||||
|
||||
if (release.startsWith('e')) {
|
||||
container.channel = 'EXPERIMENTAL'
|
||||
|
|
|
@ -20,33 +20,35 @@ class InformationCommand extends Command {
|
|||
fields: [
|
||||
{
|
||||
name: '구동ㅎ환경',
|
||||
value: `${platform()} ${arch()}`,
|
||||
value: `\`${platform()} ${arch()}\``,
|
||||
inline: false,
|
||||
},
|
||||
{
|
||||
name: '버ㅈ전',
|
||||
value: this.container.version,
|
||||
value: `\`${this.container.version}\``,
|
||||
inline: true,
|
||||
},
|
||||
{
|
||||
name: '채ㄴ널',
|
||||
value: this.container.channel.toLowerCase(),
|
||||
value: `\`${this.container.channel.toLowerCase()}\``,
|
||||
inline: true,
|
||||
},
|
||||
{
|
||||
name: '최근 업ㄷ데이트 날짜',
|
||||
value: this.container.lastUpdated.toLocaleDateString('ko', {
|
||||
value: `\`${this.container.lastUpdated.toLocaleDateString('ko', {
|
||||
dateStyle: 'long',
|
||||
}),
|
||||
})}\``,
|
||||
inline: true,
|
||||
},
|
||||
{
|
||||
name: '개ㅂ발자',
|
||||
value: (
|
||||
value: `\`${
|
||||
(
|
||||
await this.container.client.users.fetch(
|
||||
this.container.config.bot.owner_ID,
|
||||
)
|
||||
).username,
|
||||
).username
|
||||
}\``,
|
||||
inline: false,
|
||||
},
|
||||
],
|
||||
|
|
Loading…
Reference in a new issue