mirror of
https://github.com/Hessenuk/DiscordTickets.git
synced 2025-09-01 08:21:27 +03:00
Set up for v3
This commit is contained in:
122
user/config.js
122
user/config.js
@@ -10,110 +10,48 @@
|
||||
* 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'
|
||||
* > For detailed instructions, visit the documentation: https://eartharoid.github.io/discordtickets
|
||||
*
|
||||
* ---------------------
|
||||
* Support
|
||||
* ---------------------
|
||||
*
|
||||
* > Information: https://github.com/eartharoid/DiscordTickets/#readme
|
||||
* > Discord Support Server: https://go.eartharoid.me/discord
|
||||
* > Wiki: https://github.com/eartharoid/DiscordTickets/wiki
|
||||
* > Discord support server: https://go.eartharoid.me/discord
|
||||
* > Wiki: https://eartharoid.github.io/discordtickets
|
||||
*
|
||||
* ###############################################################################################
|
||||
*/
|
||||
|
||||
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 (REQUIRED)
|
||||
staff_role: '', // ID of your Support Team role (REQUIRED)
|
||||
|
||||
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: {
|
||||
enabled: false,
|
||||
server: 'https://tickets.example.com',
|
||||
},
|
||||
channel: '' // ID of your archives channel
|
||||
},
|
||||
|
||||
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
|
||||
}
|
||||
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,
|
||||
updater: true
|
||||
};
|
||||
update_notice: true,
|
||||
};
|
57
user/example.config.js
Normal file
57
user/example.config.js
Normal file
@@ -0,0 +1,57 @@
|
||||
/**
|
||||
* ###############################################################################################
|
||||
* ____ _ _____ _ _
|
||||
* | _ \ (_) ___ ___ ___ _ __ __| | |_ _| (_) ___ | | __ ___ | |_ ___
|
||||
* | | | | | | / __| / __| / _ \ | '__| / _` | | | | | / __| | |/ / / _ \ | __| / __|
|
||||
* | |_| | | | \__ \ | (__ | (_) | | | | (_| | | | | | | (__ | < | __/ | |_ \__ \
|
||||
* |____/ |_| |___/ \___| \___/ |_| \__,_| |_| |_| \___| |_|\_\ \___| \__| |___/
|
||||
*
|
||||
* ---------------------
|
||||
* 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 = {
|
||||
storage: {
|
||||
type: 'sqlite'
|
||||
},
|
||||
portal: {
|
||||
enabled: false,
|
||||
host: 'https://tickets.example.com'
|
||||
},
|
||||
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,
|
||||
};
|
Binary file not shown.
Before Width: | Height: | Size: 698 KiB |
Binary file not shown.
Before Width: | Height: | Size: 577 KiB |
Binary file not shown.
Before Width: | Height: | Size: 1.3 MiB |
Reference in New Issue
Block a user