Skip to content

Commit

Permalink
✨| Addition of bot version read from file
Browse files Browse the repository at this point in the history
Zmiana wersji bota oraz dodanie w pliku "ready.js" odczytywanie wersji bota z pliku ''version.json"
  • Loading branch information
ZabKozz committed Aug 20, 2023
1 parent f956c1c commit 0cb8ca7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/config/version.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"ver":"1.0.2"}
{"ver":"1.0.3"}
4 changes: 2 additions & 2 deletions src/events/client/ready.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ module.exports = {
name: "ready",
once: true,
author: 'ZabKoz',
version: '1.0.0',
version: '1.0.1',

execute(client) {
// Cleaning the console
console.clear();
// Creating a banner with the bot's name
var banner = figlet.textSync('Discord BOT Vollie V1', {
var banner = figlet.textSync(`Discord BOT Vollie V${vers.ver}`, {
font: 'Small',
horizontalLayout: 'default',
width: 1000,
Expand Down

0 comments on commit 0cb8ca7

Please sign in to comment.