Discord bot for my friend's server.
Made with Node.js.
Update April 21, 2019
- Refractored code. Connect 4 now supports multiple games and servers. Will re-add previous commands from v1.0.0 in the future.
Update April 22, 2019
- See config.js.example to understand how
config.js
should be structured.
Update May 4, 2019
- Audio commands added:
play
,queue
,repeat
,skip
, andstop
- Uses ytdl-core and opusscript.
- Audio commands require FFmpeg to be installed on host's computer.
config.js.example
- Renamed
music
server toaudio
. - Replaced
[]
parameters with<>
. - Added support for audio commands.
- Renamed
Update May 5, 2019
- New
search
command config.js.example
- Added
search
command
- Added
Update May 12, 2019
- Modified
search
command- Primary method uses youtube-search, which requires a Youtube v3 API key. This is much faster than the previous method, which is now the secondary method. If a key is not provided, then it will utilize the secondary method.
config.js.example
- Added an
api_keys
object to the config which can be used to store API keys such as a Youtube v3 API key.
- Added an
Update May 15, 2019
- Added Tic Tac Toe game
!!ttt help
for a list of commands- The code functions similar to Connect 4
config.js.example
- Added
ttt
command
- Added
connect4.js
- Fixed issue where the bot would crash when a game would end due to using an undefined variable
Update May 17, 2019
- Added
remove
command- Usage:
!!remove <audio number>
(0 for the current audio) - Removes the specified audio from the queue
- Usage:
connect4.js
- Fixed issue where the game would be removed from the server after the first move
- Refactored in
getGame(msg)
method
tictactoe.js
- Refactored some variables
ttt.js
changed tot.js
- Refacted
config.js.example
- Added
remove
command - Adjusted change from
ttt
tot
- Added
Update May 22, 2019
- Chat logs are now also recorded in
.log
files- Added the folder,
chatlogs
- Now support logging edited messages
- Added the folder,
index.js
- Added event for edited messages
- Created a
WriteStream
main.js
- Added support for the
WriteStream
and edited messages
- Added support for the
.gitignore
- Ignored
.log
files in the folder,chatlogs
.
- Ignored