Hello everyone, I made another small update. The bot should now handle unknown commands properly. The update requires editing config.yml, see below.
I have also implemented new features for Tickets, you can now limit ticket categories by user role. Also there is new option to enable confirmation for ticket closing. Thanks to
@Neonn_Bukkit for suggesting these features.
require-close-confirmation: true
# If set to true, confirmation message will appear on every ticket close
missing-role-embed:
embed-title: "Missing role" embed-description: "You need the {role} role to create new ticket in this category!" embed-colour: 0xff0000
embed-footer: "FoxCode Ticket System" confirm-close-embed:
embed-title: "Confirmation" embed-description: "Do you really want to close this ticket?" embed-colour: 0xFFA500
embed-footer: "FoxCode Ticket System" confirm-button: "Confirm"
Optionally you can now add required-role: <role> to ticket categories
maximum-tickets-per-user: 3
ticket-creation-admin-role: Asistant
ticket-channel-category: Tickets
ping-admin-role-on-creation: true
ping-admin-role-on-user-response: true
send-transcription: true
transcript-description: "Hello, I'm sending you a transcription of your ticket (in case you need it), thanks for using our ticket system." transcript-channel: 927152451423977482
# If there is channel ID defined, it will save transcripts of all tickets here require-close-confirmation: true
# If set to true, confirmation message will appear on every ticket close ticket-creator-embed:
embed-title: "Create new ticket" embed-description: "To create ticket, please react with button that corresponds to your issue category." embed-colour: 0xFFA500
embed-footer: "FoxCode Ticket System" ticket-created-embed:
embed-title: "Ticket created!" embed-description: "Your ticket was created: {channel}" embed-colour: 0x00ff00
embed-footer: "FoxCode Ticket System" too-many-tickets-embed:
embed-title: "Too many tickets!" embed-description: "Please, close some other ticket, before creating new one." embed-colour: 0xff0000
embed-footer: "FoxCode Ticket System" ticket-management-embed:
embed-title: "{channel-name}" embed-description: "{instructions}" embed-colour: 0xFFA500
embed-footer: "FoxCode Ticket System" close-button: "Close ticket" missing-role-embed:
embed-title: "Missing role" embed-description: "You need the {role} role to create new ticket in this category!" embed-colour: 0xff0000
embed-footer: "FoxCode Ticket System" confirm-close-embed:
embed-title: "Confirmation" embed-description: "Do you really want to close this ticket?" embed-colour: 0xFFA500
embed-footer: "FoxCode Ticket System" confirm-button: "Confirm" categories:
general:
admin-role: Asistant
name: General ticket
emoji: '❤'
instructions: "Thanks for contacting us via ticket system! While waiting for our staff to take care of you, please, tell us more about the problem." required-role: # Leave blank if everyone should be able to open ticket in this category bug_report:
admin-role: Asistant
name: Bug report
emoji: ''
instructions: "Thanks for contacting us via ticket system! While waiting for our staff to take care of you, please, tell us more about the bug." required-role:
feature_request:
admin-role: Asistant
name: Feature request
emoji: ''
instructions: "Thanks for contacting us via ticket system! While waiting for our staff to take care of you, please, tell us more about what would you like us to implement." required-role: VIP
If you have any questions or need any help, feel free to ask on our Discord server!