This commit is contained in:
Isaac 2021-02-16 12:28:43 +00:00
parent 8a827582c6
commit dc902b6daf
No known key found for this signature in database
GPG Key ID: 279D1F53391CED07
3 changed files with 2 additions and 56 deletions

View File

@ -49,7 +49,7 @@ log.report = error => {
'<< Issue report >>',
'Please include this information if you ask for help about the following error!',
`Support server: ${terminalLink('go.eartharoid.me/discord', 'https://go.eartharoid.me/discord')}`,
`Node.JS version: ${process.versions.node.split('.')}`,
`Node.JS version: ${process.versions.node}`,
`Bot version: ${version}`,
`Platform: ${process.platform}`
];

View File

@ -21,7 +21,7 @@ module.exports = (log) => {
if (!supported.includes(type)) {
log.report('Invalid database type');
throw new Error('DB_TYPE is not valid type');
throw new Error(`DB_TYPE (${type}) is not a valid type`);
}
try {

View File

@ -1,54 +0,0 @@
/**
* ###############################################################################################
* ____ _ _____ _ _
* | _ \ (_) ___ ___ ___ _ __ __| | |_ _| (_) ___ | | __ ___ | |_ ___
* | | | | | | / __| / __| / _ \ | '__| / _` | | | | | / __| | |/ / / _ \ | __| / __|
* | |_| | | | \__ \ | (__ | (_) | | | | (_| | | | | | | (__ | < | __/ | |_ \__ \
* |____/ |_| |___/ \___| \___/ |_| \__,_| |_| |_| \___| |_|\_\ \___| \__| |___/
*
* ---------------------
* Quick Start
* ---------------------
*
* > For detailed instructions, visit the documentation: https://eartharoid.github.io/discordtickets
*
* ---------------------
* Support
* ---------------------
*
* > Discord support server: https://go.eartharoid.me/discord
* > Wiki: https://eartharoid.github.io/discordtickets
*
* ###############################################################################################
*/
module.exports = {
portal: {
enabled: true,
host: 'https://tickets.eartharoid.me'
},
presences: [
{
activity: '%snew | %shelp',
type: 'PLAYING'
},
{
activity: 'with tickets | %shelp',
type: 'PLAYING'
},
{
activity: 'for new tickets | %shelp',
type: 'WATCHING'
}
],
defaults: {
prefix: '-',
colour: '#009999',
},
logs: {
enabled: true,
keep_for: 30
},
debug: false,
update_notice: true,
};