Chris Ham
e53360e887
gen readme
2025-08-16 11:43:46 -07:00
Chris Ham
0ad4265bed
Modernize Discord bot to v14 and Node.js 22
...
Major upgrades and architectural improvements:
- Upgrade Discord.js from v12 to v14.21.0
- Upgrade Node.js from 14 to 22 LTS
- Switch to pnpm package manager
- Complete rewrite with modern Discord API patterns
New Features:
- Hybrid command system: prefix commands + slash commands
- /sfx slash command with autocomplete for sound discovery
- Modern @discordjs/voice integration for audio
- Improved voice connection management
- Enhanced logging for SFX commands
- Multi-stage Docker build for optimized images
Technical Improvements:
- Modular architecture with services and command handlers
- Proper intent management for Discord gateway
- Better error handling and logging
- Hot-reload capability maintained
- Environment variable support
- Optimized Docker container with Alpine Linux
Breaking Changes:
- Moved main entry from index.js to src/index.js
- Updated configuration structure for v14 compatibility
- Replaced deprecated voice APIs with @discordjs/voice
- Updated audio dependencies (opus, ffmpeg)
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-08-16 11:37:37 -07:00
Chris Ham
19c8f4fa85
output next invocation time for scheduled jobs
2024-02-28 16:43:29 -08:00
Chris Ham
abdc894359
dockerize
2024-02-27 18:27:31 -08:00
Chris Ham
30f8307551
new sfx
2023-12-26 13:03:30 -08:00
Chris Ham
194d74f4e7
Merge branch 'main' of github.com:greenham/ghbot
...
* 'main' of github.com:greenham/ghbot:
Bump node-fetch from 2.6.1 to 2.6.7
Bump follow-redirects from 1.14.7 to 1.14.8
Bump axios from 0.21.1 to 0.21.2
Bump follow-redirects from 1.13.3 to 1.14.7
2023-12-26 13:02:22 -08:00
Chris Ham
0528e71ad8
new sfx
2023-12-26 13:00:09 -08:00
greenham
fa70efaa98
Merge pull request #8 from greenham/dependabot/npm_and_yarn/node-fetch-2.6.7
...
Bump node-fetch from 2.6.1 to 2.6.7
2022-02-16 07:47:24 -08:00
dependabot[bot]
313ca7c677
Bump node-fetch from 2.6.1 to 2.6.7
...
Bumps [node-fetch](https://github.com/node-fetch/node-fetch ) from 2.6.1 to 2.6.7.
- [Release notes](https://github.com/node-fetch/node-fetch/releases )
- [Commits](https://github.com/node-fetch/node-fetch/compare/v2.6.1...v2.6.7 )
---
updated-dependencies:
- dependency-name: node-fetch
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-02-16 15:46:04 +00:00
greenham
2ac5050284
Merge pull request #7 from greenham/dependabot/npm_and_yarn/follow-redirects-1.14.8
...
Bump follow-redirects from 1.14.7 to 1.14.8
2022-02-16 07:45:30 -08:00
dependabot[bot]
30d660ad7a
Bump follow-redirects from 1.14.7 to 1.14.8
...
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects ) from 1.14.7 to 1.14.8.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases )
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.14.7...v1.14.8 )
---
updated-dependencies:
- dependency-name: follow-redirects
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-02-13 12:58:19 +00:00
greenham
b7a72f6792
Merge pull request #6 from greenham/dependabot/npm_and_yarn/axios-0.21.2
...
Bump axios from 0.21.1 to 0.21.2
2022-01-14 16:22:02 -08:00
dependabot[bot]
8730b90039
Bump axios from 0.21.1 to 0.21.2
...
Bumps [axios](https://github.com/axios/axios ) from 0.21.1 to 0.21.2.
- [Release notes](https://github.com/axios/axios/releases )
- [Changelog](https://github.com/axios/axios/blob/master/CHANGELOG.md )
- [Commits](https://github.com/axios/axios/compare/v0.21.1...v0.21.2 )
---
updated-dependencies:
- dependency-name: axios
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-01-15 00:21:34 +00:00
greenham
76403d3821
Merge pull request #5 from greenham/dependabot/npm_and_yarn/follow-redirects-1.14.7
...
Bump follow-redirects from 1.13.3 to 1.14.7
2022-01-14 16:20:41 -08:00
dependabot[bot]
67fc7edbb5
Bump follow-redirects from 1.13.3 to 1.14.7
...
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects ) from 1.13.3 to 1.14.7.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases )
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.13.3...v1.14.7 )
---
updated-dependencies:
- dependency-name: follow-redirects
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-01-14 09:26:03 +00:00
greenham
ca00e52377
use correct argument when reporting invalid group
2021-08-10 20:03:31 -07:00
greenham
01cc04f0b2
better error handling
2021-08-06 09:04:05 -07:00
greenham
aa83901435
new sfx
2021-08-06 08:57:30 -07:00
greenham
60db93dd2d
remove dead clip
2021-08-06 08:57:23 -07:00
greenham
2b3027c496
handle role requests
2021-08-06 08:57:16 -07:00
greenham
7b92e139a7
- support event scheduling
...
- upgrade discordjs and associated packages
- add/edit some sfx
2021-04-02 22:06:23 -07:00
greenham
6bf997e3be
- new location for sfx list due to pastebin restrictions
...
- new sfx
2021-04-02 19:49:00 -07:00
Chris Ham
48be847d08
new sfx
2021-01-21 07:45:30 -08:00
greenham
75809a310a
Merge pull request #4 from greenham/dependabot/npm_and_yarn/socket.io-2.4.1
...
Bump socket.io from 2.3.0 to 2.4.1
2021-01-21 07:43:43 -08:00
greenham
f87d40948f
Merge pull request #3 from greenham/dependabot/npm_and_yarn/axios-0.21.1
...
Bump axios from 0.19.2 to 0.21.1
2021-01-21 07:43:32 -08:00
greenham
21d9ed8602
Merge pull request #1 from greenham/dependabot/npm_and_yarn/node-fetch-2.6.1
...
Bump node-fetch from 2.6.0 to 2.6.1
2021-01-21 07:43:22 -08:00
greenham
3f3da329b4
Merge pull request #2 from greenham/dependabot/npm_and_yarn/ini-1.3.8
...
Bump ini from 1.3.5 to 1.3.8
2021-01-21 07:43:09 -08:00
dependabot[bot]
416f258f00
Bump socket.io from 2.3.0 to 2.4.1
...
Bumps [socket.io](https://github.com/socketio/socket.io ) from 2.3.0 to 2.4.1.
- [Release notes](https://github.com/socketio/socket.io/releases )
- [Changelog](https://github.com/socketio/socket.io/blob/2.4.1/CHANGELOG.md )
- [Commits](https://github.com/socketio/socket.io/compare/2.3.0...2.4.1 )
Signed-off-by: dependabot[bot] <support@github.com >
2021-01-21 15:10:41 +00:00
dependabot[bot]
c2a0d955c3
Bump axios from 0.19.2 to 0.21.1
...
Bumps [axios](https://github.com/axios/axios ) from 0.19.2 to 0.21.1.
- [Release notes](https://github.com/axios/axios/releases )
- [Changelog](https://github.com/axios/axios/blob/v0.21.1/CHANGELOG.md )
- [Commits](https://github.com/axios/axios/compare/v0.19.2...v0.21.1 )
Signed-off-by: dependabot[bot] <support@github.com >
2021-01-06 02:19:16 +00:00
dependabot[bot]
680ece01a4
Bump ini from 1.3.5 to 1.3.8
...
Bumps [ini](https://github.com/isaacs/ini ) from 1.3.5 to 1.3.8.
- [Release notes](https://github.com/isaacs/ini/releases )
- [Commits](https://github.com/isaacs/ini/compare/v1.3.5...v1.3.8 )
Signed-off-by: dependabot[bot] <support@github.com >
2020-12-12 17:10:51 +00:00
dependabot[bot]
39d8230355
Bump node-fetch from 2.6.0 to 2.6.1
...
Bumps [node-fetch](https://github.com/bitinn/node-fetch ) from 2.6.0 to 2.6.1.
- [Release notes](https://github.com/bitinn/node-fetch/releases )
- [Changelog](https://github.com/node-fetch/node-fetch/blob/master/docs/CHANGELOG.md )
- [Commits](https://github.com/bitinn/node-fetch/compare/v2.6.0...v2.6.1 )
Signed-off-by: dependabot[bot] <support@github.com >
2020-09-12 21:19:24 +00:00
greenham
34b86fff09
update sfx code to match new discord API
2020-05-10 17:25:06 -07:00
greenham
fb7aaa5c84
new sfx
2020-05-10 17:24:35 -07:00
greenham
1ac1cc4278
upgrade discord packages
2020-05-10 17:24:27 -07:00
greenham
b1d3114921
upgrade discord packages
2020-05-10 17:24:18 -07:00
greenham
b5da012a34
ignore todo files
2020-05-10 17:24:03 -07:00
Chris Ham
5c2b2a6ef3
remove unused packages
2020-05-01 17:52:21 -07:00
Chris Ham
acc5630e42
Merge branch 'master' of github.com:greenham/ghbot
...
* 'master' of github.com:greenham/ghbot:
support blacklisting users
2020-05-01 17:49:21 -07:00
greenham
663fa2b628
support blacklisting users
2020-05-01 17:49:00 -07:00
Chris Ham
080d4fa06f
support blacklisting users
2020-05-01 17:48:03 -07:00
Chris Ham
5d2595020a
switch to yarn
2020-05-01 17:40:41 -07:00
Chris Ham
42013800da
move config item
2020-05-01 17:38:38 -07:00
Chris Ham
f2bf3a7ad5
support guild-level enabling/disabling of some commands
2020-05-01 17:38:09 -07:00
Chris Ham
68d8d67fc5
remove old fgfm code, general cleanup
2020-05-01 17:27:06 -07:00
Chris Ham
de193c1099
multi-guild support, new sfx
2020-05-01 16:01:38 -07:00
Chris Ham
11ccf684b5
normalize and compress all sfx, read sfx list from pastebin
2020-02-29 06:59:24 -08:00
Chris Ham
0f6271c507
new sfx
2019-10-13 10:08:15 -07:00
Chris Ham
13594f7e3a
update packages, add knob
2019-05-15 08:18:01 -07:00
Chris Ham
1ab648903e
new sfx
2019-05-07 15:10:23 -07:00
Chris Ham
24a1451b45
new sfx
2019-04-03 10:02:36 -07:00