Step 1. Add the JitPack repository to your build file
Add it in your root settings.gradle at the end of repositories:
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
mavenCentral()
maven { url 'https://jitpack.io' }
}
}
Add it in your settings.gradle.kts at the end of repositories:
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
mavenCentral()
maven { url = uri("https://jitpack.io") }
}
}
Add to pom.xml
<repositories>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
</repositories>
Add it in your build.sbt at the end of resolvers:
resolvers += "jitpack" at "https://jitpack.io"
Add it in your project.clj at the end of repositories:
:repositories [["jitpack" "https://jitpack.io"]]
Step 2. Add the dependency
dependencies {
implementation 'com.github.PhantomBot:PhantomBot:3.0.0'
}
dependencies {
implementation("com.github.PhantomBot:PhantomBot:3.0.0")
}
<dependency>
<groupId>com.github.PhantomBot</groupId>
<artifactId>PhantomBot</artifactId>
<version>3.0.0</version>
</dependency>
libraryDependencies += "com.github.PhantomBot" % "PhantomBot" % "3.0.0"
:dependencies [[com.github.PhantomBot/PhantomBot "3.0.0"]]
<img src="https://discordapp.com/api/guilds/107910097937682432/widget.png?style=shield">
PhantomBot is a Twitch chat bot powered by Java. PhantomBot has many modern features out of the box such as a built-in webpanel, enhanced moderation, games, a point system, raffles, custom commands, a music player, and more. PhantomBot can also be integrated with many services such as Discord, TipeeeStream, StreamLabs and StreamElements!
Additional functionality is enabled through the use of third-party modules.
chmod +x launch.sh in a terminalchmod +x launch-service.sh in a terminallaunch.bat or launch.ps1./launch.sh in a terminalTo reduce risk of database corruption, please only close / shutdown the bot using the following methods
launch.bat, launch.ps1, or launch.sh
exit and then hit enterlaunch-service.sh
kill PIDBot is Exiting message to appearMore documentation for installation and setup is available in our guides
PhantomBot publishes official builds to Docker Hub and GitHub Container Registry
Detailed upgrade instructions are listed on our documentation.
PhantomBot is licensed under the GNU General Public License v3 (GPL-3).
:information_source: Notice: We use Rollbar to automatically report exceptions to the dev team.
OAuth tokens, Client IDs, and API Secrets are NOT sent. All information is kept private.
Data is only sent when an exception occurs. Some very common exceptions are not sent, such as the ones that occur when a connection times out.
Exceptions are sent through a server owned by @gmt2001 for additional filtering before continuing on to Rollbar. No data is saved on this server beyond normal logs used for DDOS mitigation. These logs may include IP addresses and are deleted after 5 weeks. IP addresses are NOT sent on to Rollbar.
The following values are sent from botlogin.txt:
For all other values in botlogin.txt, only an indicator of whether the value exists will be sent, but not the actual value itself.
The other data sent includes:
To opt out of Rollbar exception reporting, add the following line to the botlogin.txt:
userollbar=false
Docker users can opt out using the above method, or by adding the following environment variable to the container:
PHANTOMBOT_USEROLLBAR=false
for docker-compose.yml
PHANTOMBOT_USEROLLBAR: "false"
You must restart the bot after putting the opt-out for the change to take effect. Editing a Docker container or docker-compose may require more steps to apply the changes, consult your manual.
If you believe your data has already been sent and want to issue a GDPR delete request, please opt out as above and then send your bot name, broadcaster name, and the rollbarid from botlogin.txt to: gdpr /A\T/ phantombot // hopto \ org
We also accept requests for copies of your data. GDPR requests are accepted from all users, even those who do not live in a locale that has such laws.
Please note that the IP addresses in the DDOS logs can not be retrieved or deleted manually, but will be automatically deleted after 5 weeks by log rotation.