Skip to content

Adding New Features

Aleks-Daniel Jakimenko-Aleksejev edited this page Sep 21, 2016 · 3 revisions

There are two environment variables being used:

  • TESTABLE – the bot will connect to 127.0.0.1:6667 instead of connecting to freenode.
  • DEBUGGABLE – the bot will only join #whateverable channel on freenode. It will also use a slightly different nickname.

Generally you should not be using TESTABLE as it is being set by Testable.pm6 automatically.

You should also refrain from using DEBUGGABLE for development purposes. Instead, write a few tests and run them to check if your additions are working correctly. Use DEBUGGABLE only for final checks to see that everything is operating properly, or to show off your awesome new features to other folks.

Clone this wiki locally