DiscordTickets/user/config.js

120 lines
2.8 KiB
JavaScript
Raw Normal View History

/**
* ###############################################################################################
* ____ _ _____ _ _
* | _ \ (_) ___ ___ ___ _ __ __| | |_ _| (_) ___ | | __ ___ | |_ ___
* | | | | | | / __| / __| / _ \ | '__| / _` | | | | | / __| | |/ / / _ \ | __| / __|
* | |_| | | | \__ \ | (__ | (_) | | | | (_| | | | | | | (__ | < | __/ | |_ \__ \
* |____/ |_| |___/ \___| \___/ |_| \__,_| |_| |_| \___| |_|\_\ \___| \__| |___/
2020-10-03 17:08:10 +03:00
*
* ---------------------
* Quick Start
* ---------------------
2020-10-03 17:08:10 +03:00
*
* > For detailed instructions, visit the GitHub repository and read the documentation:
2020-08-18 00:07:05 +03:00
* https://github.com/eartharoid/DiscordTickets/wiki
2020-10-03 17:08:10 +03:00
*
2020-08-24 19:27:28 +03:00
* > IMPORTANT: Also edit the TOKEN in 'user/.env'
2020-10-03 17:08:10 +03:00
*
* ---------------------
* Support
* ---------------------
2020-10-03 17:08:10 +03:00
*
* > Information: https://github.com/eartharoid/DiscordTickets/#readme
* > Discord Support Server: https://go.eartharoid.me/discord
* > Wiki: https://github.com/eartharoid/DiscordTickets/wiki
2020-10-03 17:08:10 +03:00
*
* ###############################################################################################
*/
module.exports = {
prefix: '-',
name: 'DiscordTickets',
2020-10-13 00:45:37 +03:00
presences: [
{
activity: '%snew',
type: 'PLAYING'
},
{
activity: 'with tickets',
type: 'PLAYING'
},
{
activity: 'for new tickets',
type: 'WATCHING'
}
],
append_presence: ' | %shelp',
colour: '#009999',
2020-09-18 00:28:02 +03:00
err_colour: 'RED',
2020-08-18 00:07:05 +03:00
cooldown: 3,
2020-12-04 00:55:57 +02:00
guild: '', // ID of your guild (REQUIRED)
staff_role: '', // ID of your Support Team role (REQUIRED)
2021-01-01 17:41:12 +02:00
tickets: {
category: '', // ID of your tickets category (REQUIRED)
send_img: true,
ping: 'here',
text: `Hello there, {{ tag }}!
A member of staff will assist you shortly.
In the mean time, please describe your issue in as much detail as possible! :)`,
pin: false,
max: 3,
default_topic: {
command: 'No topic given',
panel: 'Created via panel'
}
},
commands: {
close: {
confirmation: true,
send_transcripts: true
},
delete: {
confirmation: true
},
new: {
enabled: true
},
closeall: {
enabled: true,
},
},
transcripts: {
text: {
enabled: true,
keep_for: 90,
},
web: {
2020-08-24 00:01:21 +03:00
enabled: false,
server: 'https://tickets.example.com',
2020-12-04 00:55:57 +02:00
},
channel: '' // ID of your archives channel
},
2020-08-17 16:46:23 +03:00
panel: {
title: 'Support Tickets',
description: 'Need help? No problem! React to this panel to create a new support ticket so our Support Team can assist you.',
reaction: '🧾'
},
storage: {
type: 'sqlite'
},
logs: {
files: {
enabled: true,
keep_for: 7
},
discord: {
2020-08-24 00:01:21 +03:00
enabled: false,
channel: '' // ID of your log channel
}
},
2020-10-03 17:08:10 +03:00
debug: false,
2020-08-24 00:01:21 +03:00
updater: true
};