Execution starts at index.js. This is the shard manager and starts multiple instances of bot.js. Around 1 instance is started per 1000 guilds.
From bot.js,
- Messages are handled by
messageHandler.js. - Embed structures including for
!helpand!botstatscan be found inembed.js. - Helper functions that parse the countdown command can be found in
countdownHelper.js. - To update countdowns,
updateManager.jsis used. - Translations to other languages can be found in
lang.js. Feel free to add your language here. - Sending server counts to bot lists is handled by
post.js.