Skip to content

Commit

Permalink
prepped for .jar-export
Browse files Browse the repository at this point in the history
  • Loading branch information
Dachgruber committed Mar 24, 2022
1 parent a7963c9 commit 742db11
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
1 change: 1 addition & 0 deletions SplittermondBot/.classpath
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
<classpath>
<classpathentry kind="src" path="src"/>
<classpathentry kind="src" path="img"/>
<classpathentry kind="src" path="txt"/>
<classpathentry kind="lib" path="J:/!!Code/JDA-4.3.0_277-withDependencies.jar"/>
<classpathentry kind="lib" path="J:/!!Code/commons-lang3-3.12.0-bin/commons-lang3-3.12.0/commons-lang3-3.12.0.jar"/>
<classpathentry kind="lib" path="J:/!!Code/commons-lang3-3.12.0-bin/commons-lang3-3.12.0/commons-lang3-3.12.0-javadoc.jar"/>
Expand Down
3 changes: 2 additions & 1 deletion SplittermondBot/.gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
/bin/
/txt/bottoken.txt
/txt/bottoken.txt
bottoken.txt
4 changes: 2 additions & 2 deletions SplittermondBot/src/View/DiscordView.java
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public class DiscordView extends ListenerAdapter implements View {

private Controller cntrl;
private GuildMessageReceivedEvent currentEvent;
private final String TOKEN_PATH = "txt/bottoken.txt";
private final String TOKEN_PATH = "/bottoken.txt";
private final String GM_ROLENAME = "Gamemaster";
private final String PARTICIPANT_ROLENAME = "Participant";

Expand Down Expand Up @@ -67,7 +67,7 @@ private void initateBot() throws LoginException {
private String loadToken() {
String returnString = "";
try {
FileReader reader = new FileReader(TOKEN_PATH);
FileReader reader = new FileReader(System.getProperty("user.dir")+ TOKEN_PATH);
BufferedReader bufferedReader = new BufferedReader(reader);

String line;
Expand Down

0 comments on commit 742db11

Please sign in to comment.