v1.3.1
Bug fixes
This commit is contained in:
@@ -0,0 +1,78 @@
|
||||
# changelog
|
||||
|
||||
## v1.3.1
|
||||
### added:
|
||||
- Q&A in the README.md
|
||||
- v1.4.0 announcement
|
||||
### fixed
|
||||
- a bug that happend when you created too much tickets
|
||||
- deprecation warnings (setAuthor & setFooter)
|
||||
- the logo in README.md is smaller now
|
||||
- markdown files relocated
|
||||
- fixed a bug that some messages appeared in Dutch
|
||||
### removed
|
||||
- nothing
|
||||
|
||||
## v1.3.0
|
||||
### added:
|
||||
- now its possible to create 6 tickets instead of 4
|
||||
- you can edit the number of tickets per user now
|
||||
- you can edit & enable/disable all messages
|
||||
- all embeds are now editable
|
||||
- the color of the button can be changed
|
||||
- updated config.json
|
||||
- updated README.md
|
||||
- a new type of button is here: website links
|
||||
### fixed
|
||||
- nothing at the moment :)
|
||||
### removed
|
||||
- nothing
|
||||
|
||||
## v1.2.2
|
||||
### added:
|
||||
- nothing
|
||||
### fixed:
|
||||
- a bug that caused the `warn "message" event deprecated` to be displayed every time you start the bot in the console.
|
||||
- a visual bug that caused the categories from `!ticket msg` to be displayed in a wrong pattern.
|
||||
### removed:
|
||||
- nothing
|
||||
|
||||
## v1.2.1
|
||||
### added:
|
||||
- you can disable credits in config.json
|
||||
### fixed:
|
||||
- a bug that crashed the bot on startup
|
||||
### removed
|
||||
- nothing
|
||||
|
||||
## v1.2.0
|
||||
### added:
|
||||
- the bot is in english now
|
||||
- you can choose your own ticket options now
|
||||
- added !resetdatabase
|
||||
- updated README.md
|
||||
### fixed:
|
||||
- the first bugs
|
||||
### removed:
|
||||
- some useless commands
|
||||
|
||||
## v1.1.1
|
||||
### added:
|
||||
- added "status" options in config.json
|
||||
### fixed:
|
||||
- fixed a bug where the bot's status could be "playing highmt".
|
||||
### removed:
|
||||
- nothing
|
||||
|
||||
## v1.1.0
|
||||
### added:
|
||||
- option to choose your own prefix
|
||||
- enable/disable transcripts
|
||||
- enable/disable categories
|
||||
### fixed:
|
||||
- the bot crashed sometimes
|
||||
### removed:
|
||||
- credits
|
||||
|
||||
## v1.0.0
|
||||
- initial release
|
||||
@@ -0,0 +1,67 @@
|
||||
# config file
|
||||
[](https://discord.com/invite/26vT9wt3n3)
|
||||
[](https://github.com/DJj123dj/open-ticket/releases/tag/v1.3.1)
|
||||
[](#packages)
|
||||
[](https://github.com/DJj123dj/open-ticket/blob/main/LICENSE)
|
||||
|
||||
In this file you find all the information about commands in the config.json file
|
||||
|
||||
- server_name ➜ the name of your server (optional) _**type: string**_
|
||||
- server_logo ➜ the logo of your server (optional) _**type: url**_
|
||||
- bot_name ➜ the name from the bot _**type: string**_
|
||||
- main_color ➜ the color used in embeds _**type: hex color (#000000)**_
|
||||
- auth_token ➜ your bot's token _**type: string**_
|
||||
- botperms_role ➜ this role can do all admin commands from the bot _**type: discord role id**_
|
||||
- prefix ➜ the prefix _**type: string**_
|
||||
- credits ➜ disable the credits _**type: boolean**_
|
||||
|
||||
## status: (the status from the bot)
|
||||
- type ➜ set the status type _**type: string (PLAYING | LISTENING | WATCHING | CUSTOM)**
|
||||
- text ➜ set the status text _**type: string**_
|
||||
|
||||
## system: (the configuration for the ticket system)
|
||||
- ticket_channel ➜ channel where you are going to set `!ticket msg` _**type: discord channel id**_
|
||||
- max_allowed_tickets ➜ the maximum allowed tickets per person _**type: number**_
|
||||
- enable_DM_Messages ➜ enable DM messages _**type: boolean**_
|
||||
- enable_category ➜ enable category _**type: boolean**_
|
||||
- ticket_category ➜ the category id _**type: discord category id**_
|
||||
- has@everyoneaccess ➜ when enabled everyone has acces to the tickets _**type: boolean**_
|
||||
- member_role ➜ this role doesn't have access to tickets _**type: discord role id**_
|
||||
- enable_transcript ➜ enable the transcript _**type: boolean**_
|
||||
- transcript_channel ➜ the transcript channel id _**type: discord channel id**_
|
||||
|
||||
## messages: (general, dm, ticket)
|
||||
- nopermissions ➜ the message when someone doesn't have permissions _**type: string**_
|
||||
- alreadyCreated ➜ if you have too much tickets open _**type: string**_
|
||||
- newTicket ➜ when you create a new ticket _**type: string**_
|
||||
- closeTicket ➜ when you close a ticket _**type: string**_
|
||||
- newTicketEmbed ➜ the first message in the ticket channel _**type: string**
|
||||
|
||||
## layout: (ticketEmbed, ticketMsg, transcript)
|
||||
`transcript` doesn't have all the options
|
||||
|
||||
- customColorEnabled ➜ custom embed color enabled _**type: boolean**
|
||||
- customColor ➜ the custom color _**type: hex color (#000000)**
|
||||
- footerEnabled ➜ custom footer enabled _**type: boolean**
|
||||
- footer ➜ the custom footer _**type: string**
|
||||
- thumbnailEnabled ➜ custom thumbnail enabled _**type: boolean**
|
||||
- thumbnailURL ➜ the image _**type: string**
|
||||
|
||||
## options: (per ticket)
|
||||
color is not needed when `isURL` is `true`
|
||||
|
||||
- enabled ➜ enable this ticket _**type: boolean**
|
||||
- icon ➜ the button emoji _**type: emoji or custom emoji**
|
||||
- description ➜ ticket description _**type: string**
|
||||
- name ➜ ticket name _**type: string**
|
||||
- channel_prefix ➜ ticket prefix _**type: string**
|
||||
- color ➜ button color _**type: string (red|green|blue|gray|none)**
|
||||
- isURL ➜ create link to a website instead of a normal ticket _**type: boolean**
|
||||
- url ➜ the website to go to _**type: string**
|
||||
|
||||
# thanks for using open-ticket
|
||||
I didn't know that open-tickets was going to be so much used. I will be creating more updates in the future!
|
||||
|
||||
If you have an idea for new updates you can always say it in my discord server!
|
||||
|
||||
open-tickets v1.3.1
|
||||
@@ -0,0 +1,26 @@
|
||||
# Question & Answer
|
||||
## How to install node.js 16?
|
||||
You can install the latest version of node.js on their [website](https://nodejs.org/en/download/). You also need `npm`!
|
||||
|
||||
## How to install all the npm packages?
|
||||
If you installed node.js successful, you can run `npm install` in the command prompt and all the required modules will be installed.
|
||||
|
||||
## Where is the config file documentation?
|
||||
You can find it [here](...)
|
||||
|
||||
**How to start the bot?**
|
||||
If you successfully installed all the npm modules (see above), you can run `npm start`
|
||||
|
||||
## Do I need to know discord.js?
|
||||
Technically not, but it is useful to know if there is an error.
|
||||
|
||||
## Why do I get this error?
|
||||
**Invalid token:**
|
||||
|
||||
_Your discord token is not correct, try to look in the config.json file if it's the correct token._
|
||||
|
||||
**Privileged intent provided is not enabled or whitelisted:**
|
||||
|
||||
_You must enable all the **Gateaway Intents** in the developer panel in the "bot" tab_
|
||||
|
||||
### Report other errors to the discord server!
|
||||
Reference in New Issue
Block a user