Optional - Set format on save and any global prettier options
npm i -D eslint prettier eslint-plugin-prettier eslint-config-prettier eslint-plugin-node eslint-config-node
| # to generate your dhparam.pem file, run in the terminal | |
| openssl dhparam -out /etc/nginx/ssl/dhparam.pem 2048 |
| /******************************\ | |
| !!! คำเตือน โปรดระวัง !!! | |
| การใช้บอท มีความเสี่ยงที่จะถูกแบนได้ | |
| แนะนำให้สร้างบัญชีใหม่มาบอทโดยเฉพาะ | |
| \******************************/ | |
| class TLMBot { | |
| constructor(minWaitTime = 5000, maxWaitTime = 15000) { | |
| this.minWaitTime = minWaitTime; | |
| this.maxWaitTime = maxWaitTime; |
First, make sure you have Composer installed in your system.
In order to use the WPCS you'll need the PHP_CodeSniffer (PHPCS) and the WPCS rules (sniffs) installed.
You can install PHP_CodeSniffer globally using Composer by running this command: