@@ -0,0 +1,385 @@
+package modules;%0A%0Aimport bot.Message;%0Aimport bot.config.Config;%0A%0Apublic class Invite implements Module %7B%0A%0A%09@Override%0A%09public void parse(Message m) %7B%0A%09%09if(m.command().equals(%22INVITE%22))%7B%0A%09%09%09m.send(%22JOIN %22 + m.trailing());%0A%09%09%09Config.addRoom(m.trailing());%0A%09%09%09m.say(m.trailing(), m.sender() + %22 has invited me here. To see my commands, use /MSG %22 + Config.getNick() + %22 HELP%22);%0A%09%09%7D%0A%0A%09%7D%0A%0A%7D%0A

allow users to /invite the bot to other channels