mirror of
https://github.com/Hessenuk/DiscordTickets.git
synced 2024-12-23 00:03:09 +02:00
Fix
This commit is contained in:
parent
8a827582c6
commit
dc902b6daf
@ -49,7 +49,7 @@ log.report = error => {
|
|||||||
'<< Issue report >>',
|
'<< Issue report >>',
|
||||||
'Please include this information if you ask for help about the following error!',
|
'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')}`,
|
`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}`,
|
`Bot version: ${version}`,
|
||||||
`Platform: ${process.platform}`
|
`Platform: ${process.platform}`
|
||||||
];
|
];
|
||||||
|
@ -21,7 +21,7 @@ module.exports = (log) => {
|
|||||||
|
|
||||||
if (!supported.includes(type)) {
|
if (!supported.includes(type)) {
|
||||||
log.report('Invalid database 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 {
|
try {
|
||||||
|
@ -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,
|
|
||||||
};
|
|
Loading…
Reference in New Issue
Block a user