twitch_tools
twitch_tools copied to clipboard
จาก #44 นีคือ Issue ไว้ discuss db_service: ## Checklist - [ ] Skeleton complete - [ ] database structure complete - [ ] migrate db from version 1.1 - [...
โปรเจ็คโตแบบออร์แกนิคเกินไปทำให้โค้ดตอนนี้มั่วมาก ตอนนี้หงุดหงิดกับการแก้โค้ดมากๆ มันเริ่มใหญ่และพันกันยุ่งเหยิงไปหมด ต้องตัดไฟแต่ต้นลม ขอแนะนำ `twitch tool 2.0` ที่ไม่มี feature เพิ่ม แต่ refactor เพื่อสุขภาพจิต ## Design แยกเป็น module ชัดเจน 1. twitch_front -> twitch event handler (จัดการทั่วไป เช่นการ timeout/ตอบคำถาม) 2. discord_front...
จาก #44 นี่คือ issue ที่ไว้ discuss bot_service: ## Checklist - [ ] Skeleton complete - [ ] ติดต่อกับ db_service ได้ (เพิ่ม/ลด armcoin) - [ ] Gacha functionality - [ ]...
[บทความที่เกี่ยวข้อง](https://katanyoo-ubalee.medium.com/%E0%B8%81%E0%B8%B2%E0%B8%A3%E0%B9%83%E0%B8%8A%E0%B9%89-editorconfig-%E0%B9%80%E0%B8%9E%E0%B8%B7%E0%B9%88%E0%B8%AD%E0%B8%84%E0%B8%A7%E0%B8%B2%E0%B8%A1%E0%B8%AA%E0%B8%87%E0%B8%9A%E0%B9%80%E0%B8%A3%E0%B8%B5%E0%B8%A2%E0%B8%9A%E0%B8%A3%E0%B9%89%E0%B8%AD%E0%B8%A2%E0%B8%82%E0%B8%AD%E0%B8%87%E0%B8%9B%E0%B8%A3%E0%B8%B0%E0%B8%8A%E0%B8%B2%E0%B8%8A%E0%B8%99-%E0%B9%80%E0%B8%AD%E0%B9%89%E0%B8%A2-%E0%B8%82%E0%B8%AD%E0%B8%87%E0%B8%97%E0%B8%B5%E0%B8%A1-f9fc980b7b09) ``` root = true [*] indent_style = space indent_size = 2 charset = utf-8 trim_trailing_whitespace = true insert_final_newline = true end_of_line = lf max_line_length = off ```
ESLint could help this project to have consistent coding style and prevent potential bug during development. https://eslint.org/docs/user-guide/getting-started
## PR Checklist Please check if your PR fulfills the following requirements: - [x] The PR follows our guidelines: https://github.com/thananon/twitch_tools/blob/main/CONTRIBUTING.md - [ ] Tests for the changes have been added...
It will be nice if we have a website that shows every market activity. The idea is to display this page when market is open and everyone can see all...
I would suggest to refactor to Typescript instead of Javascript. No more `if(!Number(amount)){ return false }` Anyway, The plus is everyone could know what type of parameter can they put...