Skip to content

Mh script #726

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 133 commits into from
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
133 commits
Select commit Hold shift + click to select a range
58c059a
IMDB Scraper init
thamruicong May 22, 2023
722adb7
used urllib default python lib instead of external urllib3
thamruicong May 24, 2023
e8a82d7
forgot break statement
thamruicong May 24, 2023
231f99e
scrap movie info
thamruicong May 28, 2023
eb6dbde
print movies to console
thamruicong May 28, 2023
ee50518
complete IMDB Scraper
thamruicong May 28, 2023
93d4997
add EOL to scraper.py
thamruicong May 28, 2023
f09f9aa
Merge pull request #1 from thamruicong/IMDB_Movie_Scraper
thamruicong May 28, 2023
ec25241
update main README.md
thamruicong May 28, 2023
ce2c6a5
Merge pull request #2 from thamruicong/IMDB_Movie_Scraper
thamruicong May 28, 2023
d9faa47
init README.md
thamruicong May 28, 2023
885bd5b
add references to README.md
thamruicong May 28, 2023
751e907
Add BS4 reference to README.md
thamruicong May 28, 2023
3ceadba
Merge pull request #3 from thamruicong/IMDB_Movie_Scraper
thamruicong May 28, 2023
6776f3e
add .gitignore
thamruicong May 28, 2023
7bee30a
update references
thamruicong May 28, 2023
ea5f4be
update README
thamruicong May 31, 2023
8f69db6
sending messages
thamruicong May 31, 2023
2d14171
add /start command handler
thamruicong Jun 1, 2023
fa0923b
echo handler
thamruicong Jun 1, 2023
5629e8c
add dependencies
thamruicong Jun 1, 2023
339469c
refactor .py files
thamruicong Jun 7, 2023
91cc5e7
update gitignore
thamruicong Jun 7, 2023
a80ee66
google 2.0 handler
thamruicong Jun 7, 2023
5d513b2
refactor code layout, automate state values in a single file
thamruicong Jun 8, 2023
a9b7803
openai working test
thamruicong Jun 10, 2023
50cf886
remove .env
thamruicong Jun 10, 2023
b537a2d
google done
thamruicong Jun 10, 2023
1685e59
chatbot conversation handler
thamruicong Jun 11, 2023
4a609bd
.gitignore python boilerplate
thamruicong Jul 15, 2023
400c6c0
Add python requirements
thamruicong Jul 15, 2023
2d336cc
Update instructions
thamruicong Jul 15, 2023
9a6efc9
Update requirements.txt
thamruicong Jul 15, 2023
4ccf71c
Stash
thamruicong Jul 15, 2023
4623e6e
Refactor handlers into own files
thamruicong Aug 2, 2023
db35d46
Add utils folder
thamruicong Aug 2, 2023
6b9ac09
Chatbot with chathistory
thamruicong Aug 2, 2023
8779881
Load and save chatbot history
thamruicong Aug 3, 2023
3d0e4fc
Update .gitignore
thamruicong Aug 3, 2023
75d6bf4
Remove unused module
thamruicong Aug 3, 2023
1440a73
Complete TelegramGPT
thamruicong Aug 3, 2023
3b9bc12
Add .env content requirements
thamruicong Aug 3, 2023
da8f06c
Merge pull request #4 from thamruicong/Telegram_Bot
thamruicong Aug 3, 2023
3d10454
Individual .gitignore files per project
thamruicong Aug 8, 2023
0f000e5
Init WPF template
thamruicong Aug 8, 2023
1921a8b
Add layout
thamruicong Aug 8, 2023
dad08ee
Re-init Engine and UI folders
thamruicong Aug 8, 2023
9a1063e
Display player info
thamruicong Aug 8, 2023
2eee776
Add locations
thamruicong Aug 8, 2023
71c384d
Update README.md
thamruicong Aug 8, 2023
6f18d9b
Movement/Shop controls
thamruicong Aug 9, 2023
a92fa2d
Add Inventory and ItemFactory
thamruicong Aug 9, 2023
ce53e3f
Monsters
thamruicong Aug 9, 2023
a58593e
Display Monster
thamruicong Aug 14, 2023
b160bf2
Features added:
thamruicong Aug 15, 2023
8905ef0
Added monster combat, TODO:
thamruicong Aug 15, 2023
91850bb
Refactoring + Update Inventory properly
thamruicong Aug 18, 2023
60eb9c6
Merge pull request #5 from thamruicong/RPG_Game
thamruicong Sep 7, 2023
89b2973
Some refactoring - getting back into this project
thamruicong Jan 5, 2024
03c8903
Add ShopKeeper Buy/Sell functionality
thamruicong Jan 5, 2024
18cd857
Added Consumable Item class
thamruicong Jan 5, 2024
2251e00
Rehaul Item addition and removal
thamruicong Jan 6, 2024
0d3a170
Minor Inventory changes
thamruicong Jan 6, 2024
594bdef
Create linter.yml
thamruicong Jan 7, 2024
4a061a5
Update linter.yml
thamruicong Jan 7, 2024
54067ff
Fix lint checks
thamruicong Jan 7, 2024
e169ae8
Merge pull request #7 from thamruicong/branch_configure_linter
thamruicong Jan 7, 2024
096ecf7
Merge branch 'master' into RPG_Game
thamruicong Jan 7, 2024
cec9ac5
Move projects to src folder
thamruicong Jan 7, 2024
8f82804
Complete RPG Game
thamruicong Jan 7, 2024
eafa986
Fix more lint errors
thamruicong Jan 7, 2024
3c48e1b
More lint fixes
thamruicong Jan 7, 2024
135c19b
Minor lint fixes
thamruicong Jan 7, 2024
7ca8381
Merge pull request #6 from thamruicong/RPG_Game
thamruicong Jan 7, 2024
d1705ef
Init README.md
thamruicong Jan 7, 2024
07490c3
Stopped at Token type 4.2.1
thamruicong Jan 17, 2024
745b34a
Paused at String literals 4.6.1
thamruicong Jan 18, 2024
8c9f64e
Add formatOnSave
thamruicong Apr 20, 2024
e5b98c5
Merge branch 'master' into Crafting_Interpreters
thamruicong Apr 20, 2024
99b8cae
Chpt 4 Scanning
thamruicong Apr 20, 2024
b1f1543
Add Makefile
thamruicong Apr 20, 2024
bf2eac8
Add Java checkstyle configuration
thamruicong Apr 20, 2024
4685888
Change name of checkstyle config
thamruicong Apr 20, 2024
dfc1b8e
Use google_checks config file
thamruicong Apr 20, 2024
01cd4e2
test
thamruicong Apr 20, 2024
cc6dd4b
Add linter to folder
thamruicong Apr 20, 2024
c98cfa8
Revert to old config file
thamruicong Apr 20, 2024
3325836
Change config file name
thamruicong Apr 20, 2024
984456d
Fix lint errors
thamruicong Apr 21, 2024
ec21e88
Fix lint errors 2
thamruicong Apr 21, 2024
18b76a5
Fix lint errors 3
thamruicong Apr 21, 2024
24f937b
Fix lint errors 4
thamruicong Apr 21, 2024
9c15813
fix lint 5
thamruicong Apr 21, 2024
9836d3d
fix naming
thamruicong Apr 21, 2024
cb95d1f
add example env in chatbot
thamruicong Mar 8, 2025
4bf85b7
Merge branch 'master' into Crafting_Interpreters
thamruicong Mar 8, 2025
c1fa9dc
fix lint
thamruicong Mar 8, 2025
fa9bb0a
add checkpoint
thamruicong Mar 8, 2025
03e74b7
Merge pull request #8 from thamruicong/Crafting_Interpreters
thamruicong Mar 8, 2025
f9b975e
init
thamruicong Mar 8, 2025
74abc63
add python black formatter
thamruicong Mar 8, 2025
3201f77
stash
thamruicong Mar 9, 2025
7cb55f4
remove deleted import
thamruicong Mar 9, 2025
5db1a84
update markdown linter
thamruicong Mar 9, 2025
2d9054f
spelling mistake
thamruicong Mar 9, 2025
0ff1958
undo
thamruicong Mar 9, 2025
20eeba2
small progress
thamruicong Mar 9, 2025
bd49063
working
thamruicong Mar 10, 2025
55ea503
fix lint
thamruicong Mar 10, 2025
d4d8402
fix import order
thamruicong Mar 10, 2025
800b3ca
implement DRY
thamruicong Mar 10, 2025
4635ce3
remove unused import
thamruicong Mar 10, 2025
8446839
add date completed to README.md
thamruicong Mar 10, 2025
2a1e926
Merge pull request #9 from thamruicong/MH_Script
thamruicong Mar 10, 2025
b562a7f
add stealth + headless
thamruicong Mar 11, 2025
2e8c798
add batch file and link to taskscheduler
thamruicong Mar 11, 2025
7736386
lint
thamruicong Mar 11, 2025
0d2e304
remove bare url in md
thamruicong Mar 11, 2025
8580c65
Merge pull request #11 from thamruicong/MH_Script
thamruicong Mar 11, 2025
c411f9e
update readme
thamruicong Mar 12, 2025
09646d2
Merge pull request #12 from thamruicong/MH_Script
thamruicong Mar 12, 2025
1f54796
update batch file to launch log folder
thamruicong Mar 13, 2025
e7f7872
update script
thamruicong Mar 13, 2025
dd55f82
Merge pull request #13 from thamruicong/MH_Script
thamruicong Mar 13, 2025
9187cbb
stash
thamruicong Mar 25, 2025
6756107
Stopped at Chpt 6
thamruicong May 14, 2025
ddfeaa3
Update README.md
thamruicong May 14, 2025
48d3c78
fix lint 1
thamruicong May 14, 2025
d6107e7
Fix MakeFile
thamruicong May 14, 2025
91e37ea
Merge pull request #14 from thamruicong/Crafting_Interpreters
thamruicong May 14, 2025
c976b41
Add auto claim gifts
thamruicong Jul 3, 2025
6fb7938
fix python linter
thamruicong Jul 3, 2025
c95bad9
increase webdriver wait timeout
thamruicong Jul 4, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add utils folder
  • Loading branch information
thamruicong committed Aug 2, 2023
commit db35d46d8837980c9e5ec83d65ac481b72a56e01
2 changes: 1 addition & 1 deletion TelegramGPT/handlers/chat_handler.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from telegram import Update
from telegram.ext import ContextTypes
import utils
import utils.utils as utils
from handlers.util_handler import decorator_help

async def _start_chat(update: Update, context: ContextTypes.DEFAULT_TYPE):
Expand Down
2 changes: 1 addition & 1 deletion TelegramGPT/handlers/game_handler.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from telegram import Update
from telegram.ext import ContextTypes
import utils
import utils.utils as utils
from handlers.util_handler import decorator_help

async def _start_game(update: Update, context: ContextTypes.DEFAULT_TYPE):
Expand Down
4 changes: 2 additions & 2 deletions TelegramGPT/handlers/google_handler.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
from telegram import Update
from telegram.ext import ContextTypes
import utils
import utils.utils as utils
from handlers.util_handler import decorator_help
from generate import query
from utils.generate import query

async def _start_google(update: Update, context: ContextTypes.DEFAULT_TYPE):
await context.bot.send_message(chat_id=update.effective_chat.id, text=utils.START_GOOGLE_TEXT)
Expand Down
2 changes: 1 addition & 1 deletion TelegramGPT/handlers/main_handler.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from telegram.ext import CommandHandler, MessageHandler, filters, ConversationHandler
import utils
import utils.utils as utils
import handlers.chat_handler as chath
import handlers.game_handler as gameh
import handlers.google_handler as googleh
Expand Down
2 changes: 1 addition & 1 deletion TelegramGPT/handlers/util_handler.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from telegram import Update
from telegram.ext import ContextTypes, ConversationHandler
import utils
import utils.utils as utils

async def _help(update: Update, context: ContextTypes.DEFAULT_TYPE):
await context.bot.send_message(chat_id=update.effective_chat.id, text=utils.HELP_TEXT)
Expand Down
2 changes: 1 addition & 1 deletion TelegramGPT/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
from telegram.ext import ApplicationBuilder

from handlers.main_handler import getHandlers
from utils import getTelegramToken
from utils.utils import getTelegramToken

logging.basicConfig(
format='%(asctime)s : %(name)s : %(levelname)s : %(message)s',
Expand Down
2 changes: 1 addition & 1 deletion TelegramGPT/generate.py → TelegramGPT/utils/generate.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import openai
from utils import getOpenAIAPIKey
from utils.utils import getOpenAIAPIKey
import logging

log = logging.getLogger(__name__)
Expand Down
File renamed without changes.