mirror of
https://github.com/Hessenuk/DiscordTickets.git
synced 2024-11-05 12:23:09 +02:00
100 lines
2.4 KiB
JavaScript
100 lines
2.4 KiB
JavaScript
/**
|
|
* ###############################################################################################
|
|
* ____ _ _____ _ _
|
|
* | _ \ (_) ___ ___ ___ _ __ __| | |_ _| (_) ___ | | __ ___ | |_ ___
|
|
* | | | | | | / __| / __| / _ \ | '__| / _` | | | | | / __| | |/ / / _ \ | __| / __|
|
|
* | |_| | | | \__ \ | (__ | (_) | | | | (_| | | | | | | (__ | < | __/ | |_ \__ \
|
|
* |____/ |_| |___/ \___| \___/ |_| \__,_| |_| |_| \___| |_|\_\ \___| \__| |___/
|
|
*
|
|
* ---------------------
|
|
* Quick Start
|
|
* ---------------------
|
|
*
|
|
* > For detailed instructions, visit the GitHub repository and read the documentation:
|
|
* https://github.com/eartharoid/DiscordTickets/wiki
|
|
*
|
|
* > IMPORTANT: Also edit the TOKEN in 'user/.env'
|
|
*
|
|
* ---------------------
|
|
* Support
|
|
* ---------------------
|
|
*
|
|
* > Information: https://github.com/eartharoid/DiscordTickets/#readme
|
|
* > Discord Support Server: https://go.eartharoid.me/discord
|
|
* > Wiki: https://github.com/eartharoid/DiscordTickets/wiki
|
|
*
|
|
* ###############################################################################################
|
|
*/
|
|
|
|
module.exports = {
|
|
prefix: '-',
|
|
name: 'DiscordTickets',
|
|
presences: [
|
|
{
|
|
activity: '%snew',
|
|
type: 'PLAYING'
|
|
},
|
|
{
|
|
activity: 'with tickets',
|
|
type: 'PLAYING'
|
|
},
|
|
{
|
|
activity: 'for new tickets',
|
|
type: 'WATCHING'
|
|
}
|
|
],
|
|
append_presence: ' | %shelp',
|
|
colour: '#009999',
|
|
err_colour: 'RED',
|
|
cooldown: 3,
|
|
|
|
guild: '', // ID of your guild
|
|
staff_role: '', // ID of your Support Team role
|
|
|
|
tickets: {
|
|
category: '', // ID of your tickets category
|
|
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
|
|
},
|
|
|
|
transcripts: {
|
|
text: {
|
|
enabled: true,
|
|
keep_for: 90,
|
|
},
|
|
web: {
|
|
enabled: false,
|
|
server: 'https://tickets.example.com',
|
|
}
|
|
},
|
|
|
|
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: {
|
|
enabled: false,
|
|
channel: '' // ID of your log channel
|
|
}
|
|
},
|
|
|
|
debug: false,
|
|
updater: true
|
|
};
|