mirror of
https://github.com/keanuplayz/TravBot-v3.git
synced 2024-08-15 02:33:12 +00:00
Add BOT_VERSION to globals for .info bot.
This commit is contained in:
parent
52c1420508
commit
8ffbc367b1
2 changed files with 3 additions and 1 deletions
|
@ -64,7 +64,7 @@ export default new NamedCommand({
|
|||
`**❯ Channels:** ${client.channels.cache.size.toLocaleString()}`,
|
||||
`**❯ Creation Date:** ${utc(client.user?.createdTimestamp).format("Do MMMM YYYY HH:mm:ss")}`,
|
||||
`**❯ Node.JS:** ${process.version}`,
|
||||
`**❯ Version:** v${process.env.npm_package_version}`,
|
||||
`**❯ Version:** v${BOT_VERSION}`,
|
||||
`**❯ Discord.JS:** v${djsversion}`,
|
||||
"\u200b"
|
||||
])
|
||||
|
|
|
@ -3,6 +3,7 @@ import chalk from "chalk";
|
|||
declare global {
|
||||
var IS_DEV_MODE: boolean;
|
||||
var PERMISSIONS: typeof PermissionsEnum;
|
||||
var BOT_VERSION: string;
|
||||
|
||||
interface Console {
|
||||
ready: (...data: any[]) => void;
|
||||
|
@ -21,6 +22,7 @@ enum PermissionsEnum {
|
|||
|
||||
global.IS_DEV_MODE = process.argv[2] === "dev";
|
||||
global.PERMISSIONS = PermissionsEnum;
|
||||
global.BOT_VERSION = "3.2.3";
|
||||
|
||||
const oldConsole = console;
|
||||
|
||||
|
|
Loading…
Reference in a new issue