beep-beeeeeep
I'm a bot
A Discord bot
Probably just for testing
beep beep
Add the moe.properties
in res
directory.
Attribute Name | Description |
---|---|
bot.token | In APP BOT USER , your Token . |
url.agent | User-Agent, the HTTP request header. |
tl.APIkey | TURING RoBot APIkey. |
tl.secret | Used to generate the AES key. |
osu.apikey | osu! APIkey. |
Modify your Database properties in res/db.properties
.
This project use Lombok to generate getters and setters. You may also use material to optimize your theme.
-
IDEA:
Run -> Edit Configurations...
, click the plus (+) button and selectApplication
. Set theName
tocsga-bot
. Set the fieldUse classpath of module
tocsga-bot_main
, then click on the button of theMain class
field and select theBotLauncher
class. ClickApply
and thenOK
. You have now created a run configuration for your desktop project. You can now select the configuration and run it. -
Eclipse: Right click the desktop project,
Run As -> Java Application
. Select the desktop starter class (e.g. BotLauncher.java).
gradlew dist
This will create a runnable JAR file located in the build/libs/
folder.
It contains all necessary code and can be run either by double clicking or on the command line
via java -jar jar-file-name.jar
. Your audience must have a JVM installed for this to work.
The JAR will work on Windows, Linux and Mac OS X!
You can contact me on the Ohio State University Server in the #csga_bot channel.
Copyright 2016 AltMirrorBell
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.