Skip to content

Java based chat bot that runs in Java room of Stack Overflow Chat.

License

Notifications You must be signed in to change notification settings

Unihedro/JavaBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Stories in Ready

What this is:

Well it's relatively simple.. A bot. For the Stack Exchange chat. It can read and post messages and understands a few commands.

Currently the Bot is under development.

How do I get it:

You can simply pull the repository on your local machine, import the maven project and already run it.

What do I need:

You need: Apache Maven, Java 1.8, and a file named bot.properties, as well as an account on any Stack Exchange site (or Stack Overflow and Meta Stack Exchange as the reputation points do not inherit from network rep on these two domains), having at least 20 reputation.

Running the bot:

It's dead simple, you grab the repository, and create a file named bot.properties in the project root containing your configuration.

The bot.properties file must contain following property configurations:

TRIGGER={ExampleTrigger}
LOGIN-EMAIL={Stackexchange login email}
PASSWORD={Stackexchange login password}

Make sure there are no excess spaces in the .properties file.

The next thing you want to do is run mvn clean compile assembly:single to pack the bot into a runnable jar. Take the runnable wherever you want it to go, and take the bot.properties with you.

Running the bot is as simple as java -jar javabot_0.0.1-jar-with-dependencies.jar

About

Java based chat bot that runs in Java room of Stack Overflow Chat.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages