Skip to content

Commit

Permalink
Minor updates/changes
Browse files Browse the repository at this point in the history
  • Loading branch information
TheMonDon committed Sep 27, 2023
1 parent fe9572a commit 48c294b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
6 changes: 3 additions & 3 deletions config.js.example
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,6 @@ const config = {
OxfordID: '',
OxfordKey: '',

// OwlBot API key
owlKey: '',

// Github API Token
github: '',

Expand All @@ -33,6 +30,9 @@ const config = {
// Discord webhook to send bot logs to
botLogsWebhookURL: '',

// YouTube cookie for discord-player
youtubeCookie: ''

// Default per-server settings. These settings are entered in a database on first load,
// And are then completely ignored from this file. To modify default settings, use the `conf` command.
// DO NOT REMOVE THIS BEFORE YOUR BOT IS LOADED AND FUNCTIONAL.
Expand Down
1 change: 1 addition & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -424,6 +424,7 @@ client.on('raw', (packet) => {
});

process.on('uncaughtException', (err) => {
console.error(err);
client.logger.error(`Uncaught Exception: ${err}`);
// return process.exit(1);
});
Expand Down
4 changes: 3 additions & 1 deletion util/Util.js
Original file line number Diff line number Diff line change
Expand Up @@ -229,11 +229,13 @@ async function clean(client, text) {
const secrets = [
config.token,
config.github,
config.owlKey,
config.OxfordID,
config.OxfordKey,
config.TMDb,
config.BotListToken,
config.OpenWeather,
config.botLogsWebhookURL,
config.youtubeCookie,
];

for (let i = 0; i < secrets.length; i++) {
Expand Down

0 comments on commit 48c294b

Please sign in to comment.