-
-
Notifications
You must be signed in to change notification settings - Fork 62
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from brussell98/Indev
v1.1.0
- Loading branch information
Showing
17 changed files
with
442 additions
and
323 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,2 @@ | ||
*.tmp | ||
logs/* | ||
*.env |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
web: node BrussellBot.js --harmony | ||
bot: node BrussellBot.js --harmony |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,87 @@ | ||
var chalk = require('chalk'); | ||
var enabled = new chalk.constructor({enabled: true}); | ||
|
||
exports.cWarn = function (text) { | ||
return chalk.styles.bgYellow.open + | ||
chalk.styles.black.open + | ||
text + | ||
chalk.styles.black.close + | ||
chalk.styles.bgYellow.close + | ||
chalk.styles.white.open + chalk.styles.bgBlack.open +" "; | ||
}; | ||
|
||
exports.cError = function (text) { | ||
return chalk.styles.bgRed.open + | ||
chalk.styles.black.open + | ||
text + | ||
chalk.styles.black.close + | ||
chalk.styles.bgRed.close + | ||
chalk.styles.white.open + chalk.styles.bgBlack.open + " "; | ||
}; | ||
|
||
exports.cDebug = function (text) { | ||
return chalk.styles.bgWhite.open + | ||
chalk.styles.black.open + | ||
text + | ||
chalk.styles.black.close + | ||
chalk.styles.bgWhite.close + | ||
chalk.styles.white.open + chalk.styles.bgBlack.open + " "; | ||
}; | ||
|
||
exports.cGreen = function (text) { | ||
return chalk.styles.green.open + | ||
chalk.styles.bold.open + | ||
text + | ||
chalk.styles.bold.close + | ||
chalk.styles.green.close + chalk.styles.white.open; | ||
}; | ||
|
||
exports.cGrey = function (text) { | ||
return chalk.styles.grey.open + | ||
chalk.styles.bold.open + | ||
text + | ||
chalk.styles.grey.close + | ||
chalk.styles.bold.close + chalk.styles.white.open; | ||
}; | ||
|
||
exports.cYellow = function (text) { | ||
return chalk.styles.yellow.open + | ||
chalk.styles.bold.open + | ||
text + | ||
chalk.styles.yellow.close + | ||
chalk.styles.bold.close + chalk.styles.white.open; | ||
}; | ||
|
||
exports.cRed = function (text) { | ||
return chalk.styles.red.open + | ||
chalk.styles.bold.open + | ||
text + | ||
chalk.styles.red.close + | ||
chalk.styles.bold.close + chalk.styles.white.open; | ||
}; | ||
|
||
exports.cServer = function (text) { | ||
return chalk.styles.magenta.open + | ||
chalk.styles.bold.open + | ||
text + | ||
chalk.styles.magenta.close + | ||
chalk.styles.bold.close + chalk.styles.white.open; | ||
}; | ||
|
||
exports.cUYellow = function (text) { | ||
return chalk.styles.yellow.open + | ||
chalk.styles.underline.open + | ||
chalk.styles.bold.open + | ||
text + | ||
chalk.styles.yellow.close + | ||
chalk.styles.underline.close + | ||
chalk.styles.bold.close + chalk.styles.white.open; | ||
}; | ||
|
||
exports.cBgGreen = function (text) { | ||
return chalk.styles.bgGreen.open + | ||
chalk.styles.black.open + | ||
text + | ||
chalk.styles.bgGreen.close + | ||
chalk.styles.black.close + chalk.styles.white.open + chalk.styles.bgBlack.open; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
Empty file.
Empty file.
Empty file.
Oops, something went wrong.