Skip to content

Latest commit

 

History

History
12 lines (9 loc) · 829 Bytes

Architecture.md

File metadata and controls

12 lines (9 loc) · 829 Bytes

Architechture.md

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 !help and !botstats can be found in embed.js.
  • Helper functions that parse the countdown command can be found in countdownHelper.js.
  • To update countdowns, updateManager.js is 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.