DiscordTickets/user/example.config.js

56 lines
1.6 KiB
JavaScript
Raw Normal View History

2021-02-15 20:34:59 +02:00
/**
* ###############################################################################################
* ____ _ _____ _ _
* | _ \ (_) ___ ___ ___ _ __ __| | |_ _| (_) ___ | | __ ___ | |_ ___
* | | | | | | / __| / __| / _ \ | '__| / _` | | | | | / __| | |/ / / _ \ | __| / __|
* | |_| | | | \__ \ | (__ | (_) | | | | (_| | | | | | | (__ | < | __/ | |_ \__ \
* |____/ |_| |___/ \___| \___/ |_| \__,_| |_| |_| \___| |_|\_\ \___| \__| |___/
*
* ---------------------
* Support
* ---------------------
*
2021-02-26 18:07:20 +02:00
* > Documentation: https://discordtickets.app
* > Discord support server: https://go.eartharoid.me/discord
2021-02-15 20:34:59 +02:00
*
* ###############################################################################################
*/
2021-02-15 20:34:59 +02:00
module.exports = {
2021-02-17 01:35:31 +02:00
defaults: {
2021-05-22 02:11:14 +03:00
colour: '#009999',
log_messages: true,
2021-03-29 01:49:36 +03:00
name_format: 'ticket-{number}',
2021-05-22 02:10:34 +03:00
opening_message: 'Hello {name}, thank you for creating a ticket. A member of staff will soon be available to assist you.\n\n__All messages in this channel are stored for future reference.__'
2021-02-17 01:35:31 +02:00
},
feat: #206 convert to interactions (buttons and application commands) (#238) * feat: make command handler slash command-ready Only `help` and `settings` commands work so far * feat(commands): finish new settings command * fix(settings): convert `roles` and `ping` to an array * fix(commands): make `add` a slash command * fix(commands): make `blacklist` a slash command * fix(commands): remove URLs from `help` command * Add weblate badge and overview image * Update sponsors * sqlite things * imrpovements * update eslint rules * (⚠ untested) close command * fix: default locale for getting command option names * Update README.md * Update README.md * Update README.md * update new command to slash commands and fix close command * fixes and improvements * fix: closing a ticket when the creator has left * Revert "fix: closing a ticket when the creator has left" This reverts commit afc40ae17077782e344fd8cee03a089966c2347e. * fix: closing a ticket when the creator has left * fix: localisation issues in settings command * fix: delete category channel * New button and select panels + updated message panels Includes new options for panel embed message image and thumbnail Co-Authored-By: Puneet Gopinath <baalkrshna@gmail.com> Co-Authored-By: thevisuales <6569806+thevisuales@users.noreply.github.com> * Finish converting to buttons, added close button Co-Authored-By: Puneet Gopinath <baalkrshna@gmail.com> Co-Authored-By: thevisuales <6569806+thevisuales@users.noreply.github.com> * fully convert to slash commands * re-add "... has created a ticket" message * locales * fix add and remove commands * fix remove command * fix stats command * eslint Co-authored-by: Puneet Gopinath <baalkrshna@gmail.com> Co-authored-by: thevisuales <6569806+thevisuales@users.noreply.github.com>
2021-09-24 17:32:36 +03:00
developer: { debug: false },
2021-05-22 02:11:14 +03:00
locale: 'en-GB',
2021-02-17 01:35:31 +02:00
logs: {
enabled: true,
keep_for: 30,
2021-05-22 02:10:34 +03:00
split: true
2021-02-17 01:35:31 +02:00
},
2021-02-17 15:24:33 +02:00
max_listeners: 10,
plugins: [],
presence: {
2021-05-22 02:10:34 +03:00
duration: 60,
presences: [
{
feat: #206 convert to interactions (buttons and application commands) (#238) * feat: make command handler slash command-ready Only `help` and `settings` commands work so far * feat(commands): finish new settings command * fix(settings): convert `roles` and `ping` to an array * fix(commands): make `add` a slash command * fix(commands): make `blacklist` a slash command * fix(commands): remove URLs from `help` command * Add weblate badge and overview image * Update sponsors * sqlite things * imrpovements * update eslint rules * (⚠ untested) close command * fix: default locale for getting command option names * Update README.md * Update README.md * Update README.md * update new command to slash commands and fix close command * fixes and improvements * fix: closing a ticket when the creator has left * Revert "fix: closing a ticket when the creator has left" This reverts commit afc40ae17077782e344fd8cee03a089966c2347e. * fix: closing a ticket when the creator has left * fix: localisation issues in settings command * fix: delete category channel * New button and select panels + updated message panels Includes new options for panel embed message image and thumbnail Co-Authored-By: Puneet Gopinath <baalkrshna@gmail.com> Co-Authored-By: thevisuales <6569806+thevisuales@users.noreply.github.com> * Finish converting to buttons, added close button Co-Authored-By: Puneet Gopinath <baalkrshna@gmail.com> Co-Authored-By: thevisuales <6569806+thevisuales@users.noreply.github.com> * fully convert to slash commands * re-add "... has created a ticket" message * locales * fix add and remove commands * fix remove command * fix stats command * eslint Co-authored-by: Puneet Gopinath <baalkrshna@gmail.com> Co-authored-by: thevisuales <6569806+thevisuales@users.noreply.github.com>
2021-09-24 17:32:36 +03:00
activity: '/new',
type: 'PLAYING'
},
{
2021-02-25 11:58:19 +02:00
activity: 'with tickets',
type: 'PLAYING'
},
{
activity: 'tickets',
type: 'WATCHING'
2021-05-22 02:10:34 +03:00
}
],
2021-05-22 02:10:34 +03:00
randomise: true
},
2021-02-17 15:24:33 +02:00
super_secret_setting: true,
2021-05-22 02:10:34 +03:00
update_notice: true
2021-02-15 20:34:59 +02:00
};