Skip to content
This repository was archived by the owner on Oct 16, 2024. It is now read-only.

Commit cb42934

Browse files
committed
fix(info): add bot version again
1 parent 272014f commit cb42934

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

CHANGELOG.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,9 @@ All notable changes to this project will be documented in this file. See [standa
44

55
### [1.2.7](https://github.com/EazyAutodelete/misc-commands/compare/v1.2.6...v1.2.7) (2022-12-18)
66

7-
87
### Bug Fixes
98

10-
* **botversion:** remove bot version ([6c82eda](https://github.com/EazyAutodelete/misc-commands/commit/6c82edaa30f2b295f2bc9b37aa1fdb4bf7426074))
9+
- **botversion:** remove bot version ([6c82eda](https://github.com/EazyAutodelete/misc-commands/commit/6c82edaa30f2b295f2bc9b37aa1fdb4bf7426074))
1110

1211
### [1.2.6](https://github.com/EazyAutodelete/misc-commands/compare/v1.2.5...v1.2.6) (2022-12-18)
1312

src/commands/info.ts

+5
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,11 @@ class InfoCommand extends Command {
9292
`\`\`\``,
9393
inline: false,
9494
},
95+
{
96+
name: ":page_facing_up: Bot Version",
97+
value: `\`\`\`v${process.argv.find(x => x.startsWith("--botversion"))?.split("=")?.[1]}\`\`\``,
98+
inline: true,
99+
},
95100
{
96101
name: "<:nodejs:1026099632390017154> Node Version",
97102
value: "```" + process.version + "```",

0 commit comments

Comments
 (0)