Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
00cf8e7
WIP: readd old giantbomb logic and start adapting for DekuDeals
7bitlyrus Jan 8, 2026
36c1a25
auto: format python code
github-actions[bot] Jan 8, 2026
3c75d61
WIP: Update game syncing logic for DekuDeals
7bitlyrus Jan 8, 2026
8c44a9d
Merge branch 'dekudeals' of https://github.com/rNintendoSwitch/MechaB…
7bitlyrus Jan 8, 2026
ddd9b81
auto: format python code
github-actions[bot] Jan 8, 2026
e1b9bfd
WIP: Update game status command for deku deals
7bitlyrus Jan 8, 2026
adafb98
Merge branch 'dekudeals' of https://github.com/rNintendoSwitch/MechaB…
7bitlyrus Jan 8, 2026
8cd07f6
auto: format python code
github-actions[bot] Jan 8, 2026
4f0e73d
games.py: Rewrite game search command for DekuDeals
7bitlyrus Jan 8, 2026
5426d04
Merge branch 'dekudeals' of https://github.com/rNintendoSwitch/MechaB…
7bitlyrus Jan 8, 2026
66b4d6c
auto: format python code
github-actions[bot] Jan 8, 2026
6079e88
Fix minor bugs in games.py
7bitlyrus Jan 8, 2026
8f0d8aa
Fix minor bugs in games.py
7bitlyrus Jan 8, 2026
2571e36
Merge branch 'dekudeals' of https://github.com/rNintendoSwitch/MechaB…
7bitlyrus Jan 8, 2026
90f32b3
auto: format python code
github-actions[bot] Jan 8, 2026
1c58cfd
games.py: Move data provided by to footer
7bitlyrus Jan 8, 2026
c23b46a
Merge branch 'dekudeals' of https://github.com/rNintendoSwitch/MechaB…
7bitlyrus Jan 8, 2026
343bb00
games.py search: update footer, add sale amount
7bitlyrus Jan 8, 2026
40d66c2
social.py: remove old profile legacy prefix commands
7bitlyrus Jan 8, 2026
4b7964e
auto: format python code
github-actions[bot] Jan 8, 2026
0d2c2b1
games.py: Fix free game price
7bitlyrus Jan 8, 2026
874ea12
Update social.py to use new DekuDeals games cog/data
7bitlyrus Jan 8, 2026
909e7c4
auto: format python code
github-actions[bot] Jan 8, 2026
97b46e9
social.py: Add migration for favgames
7bitlyrus Jan 8, 2026
69db179
auto: format python code
github-actions[bot] Jan 8, 2026
9822e89
social.py favgames migration: Fix logic error, improve logging
7bitlyrus Jan 9, 2026
eeeb3a2
auto: format python code
github-actions[bot] Jan 9, 2026
78562b0
Replace fuzzywuzzy with rapidfuzz, readd autocomplete
7bitlyrus Jan 9, 2026
ed7fce7
auto: format python code
github-actions[bot] Jan 9, 2026
3fb2536
games.py: Add top games to game search autocomplete, optimize search
7bitlyrus Jan 9, 2026
56107cf
games.py: nit comment update
7bitlyrus Jan 9, 2026
4beaa53
nit: typehint
7bitlyrus Jan 9, 2026
5814c20
nit: add UA to games.get_image request
7bitlyrus Jan 9, 2026
69229f4
Replace dekudeals platform `switch_1` with correct `switch`
7bitlyrus Jan 9, 2026
24768e1
Remove unused imports
MattBSG Jan 9, 2026
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
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
bot/
.vscode/
*.json
!giantbomb_names.json
config.py

# Byte-compiled / optimized / DLL files
Expand Down
4 changes: 2 additions & 2 deletions config.example.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
# Sentry DSN
DSN = ''

# Giantbomb Api Credentials
giantbomb = 'key'
# Api Credentials
dekudeals = 'key'

# Mongo Credentials
mongoURI = 'MongoDB URI'
Expand Down
1 change: 1 addition & 0 deletions giantbomb_names.json

Large diffs are not rendered by default.

6 changes: 6 additions & 0 deletions modules/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -811,6 +811,12 @@ async def _update_cache(self, interaction: discord.Interaction):
f'<@{interaction.user.id}> Syncronization completed. Took {timeToComplete}'
)

@update_group.command(name='gamedb', description='Fetch games database updates from DekuDeals')
@app_commands.default_permissions(view_audit_log=True)
async def _update_game_db(self, interaction: discord.Interaction):
gamesCog = self.bot.get_cog('Games')
await gamesCog.games_sync(interaction)

@app_commands.command(name='shutdown', description='Shutdown the bot and all modules')
@app_commands.guilds(discord.Object(id=config.nintendoswitch))
@app_commands.default_permissions(manage_guild=True)
Expand Down
Loading