fca-smart-shankar 1.5.3 → 1.5.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/logger.js +3 -3
- package/package.json +1 -1
package/logger.js
CHANGED
|
@@ -20,7 +20,7 @@ module.exports = {
|
|
|
20
20
|
if (isHexcolor(global.Fca.Require.FastConfig.MainColor) != true) {
|
|
21
21
|
this.Warning(getText(global.Fca.Require.Language.Index.InvaildMainColor,global.Fca.Require.FastConfig.MainColor),process.exit(0));
|
|
22
22
|
}
|
|
23
|
-
else console.log(chalk.hex(global.Fca.Require.FastConfig.MainColor).bold(`${global.Fca.Require.FastConfig.MainName || '[ FCA
|
|
23
|
+
else console.log(chalk.hex(global.Fca.Require.FastConfig.MainColor).bold(`${global.Fca.Require.FastConfig.MainName || '[ FCA SHANKAR ]'} > THIS BOT IS MADE BY SHANKAR 🙂`));
|
|
24
24
|
if (getType(Data) == 'Function' || getType(Data) == 'AsyncFunction') {
|
|
25
25
|
return Data();
|
|
26
26
|
}
|
|
@@ -33,7 +33,7 @@ module.exports = {
|
|
|
33
33
|
else return Callback;
|
|
34
34
|
},
|
|
35
35
|
Warning: function(/** @type {unknown} */ str, /** @type {() => void} */ callback) {
|
|
36
|
-
console.log(chalk.magenta.bold('[ FCA
|
|
36
|
+
console.log(chalk.magenta.bold('[ FCA SHANKAR WARNING ] > THIS BOT IS MADE BY SHANKAR 🙂'));
|
|
37
37
|
if (getType(callback) == 'Function' || getType(callback) == 'AsyncFunction') {
|
|
38
38
|
callback();
|
|
39
39
|
}
|
|
@@ -50,7 +50,7 @@ module.exports = {
|
|
|
50
50
|
else return callback;
|
|
51
51
|
},
|
|
52
52
|
Success: function(/** @type {unknown} */ str, /** @type {() => void} */ callback) {
|
|
53
|
-
console.log(chalk.hex('#9900FF').bold(`${global.Fca.Require.FastConfig.MainName || '[ FCA
|
|
53
|
+
console.log(chalk.hex('#9900FF').bold(`${global.Fca.Require.FastConfig.MainName || '[ FCA SHANKAR ]'} > THIS BOT IS MADE BY SHANKAR 🙂`));
|
|
54
54
|
if (getType(callback) == 'Function' || getType(callback) == 'AsyncFunction') {
|
|
55
55
|
callback();
|
|
56
56
|
}
|