Skip to content
A Mixer Bot Framework made in Java using the Mixer API. Made for making the creation of Bot's for Mixer quicker
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src/main/java/com/mjr/mjrmixer
.classpath
.gitignore
.project
README.md
dependency-reduced-pom.xml
pom.xml

README.md

Mixer-Bot-Framework

A Mixer Bot Framework made in Java using the Mixer API. Made for making the creation of Bot's for Mixer quicker

How to use/Example of usage

public class Example extends MJR_MixerBot{
	public Example(String clientId, String authcode, String botName) {
		super(clientId, authcode, botName);
	}	

	public void joinChannel(String channel) {
		try {
			this.joinMixerChannel(channel);
		} catch (InterruptedException | ExecutionException | IOException e) {
			e.printStackTrace();
		}
	}
	
	@Override
	protected void onJoin(String sender) {
		
	}

	@Override
	protected void onPart(String sender) {
		
	}

	@Override
	protected void onDebugMessage() {
		this.clearOutputMessages();
	}

	@Override
	protected void onLiveEvent(LiveEvent event) {
		
	}
}

In your main class

	public static void main(final String[] args) {
		Example example = new Example("CLIENT_ID", "AUTH_CODE", "BOTNAME");
		example.joinChannel("mjrlegends");
	}

Current Version: 1.0.4

With Maven

In your pom.xml add:

<repositories>
  <repository>
    <id>maven.mjrlegends.com</id>
    <url>https://maven.mjrlegends.com/</url>
  </repository>
</repositories>

<dependencies>
  <dependency>
    <groupId>com.mjr.mjrmixer</groupId>
    <artifactId>Mixer-Bot-Framework</artifactId>
    <version>@VERSION@</version>
  </dependency>
</dependencies>

With Gradle

In your build.gradle add:

repositories {
  	maven {
	    name 'MJRLegends'
	    url = "https://maven.mjrlegends.com/"
    }
}

dependencies {
  compile "com.mjr.mjrmixer:Mixer-Bot-Framework:@VERSION@"
}

Creative Commons License
This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License. For more information on the license see https://tldrlegal.com/license/creative-commons-attribution-noncommercial-noderivs-(cc-nc-nd)#summary

You can’t perform that action at this time.