Skip to content
This repository has been archived by the owner on Jul 25, 2024. It is now read-only.

Commit

Permalink
Revert "Remove brigadier and replaced it with JDA's stuff (#135)"
Browse files Browse the repository at this point in the history
This reverts commit 2dfc2d5.
  • Loading branch information
larsenv authored Jul 27, 2023
1 parent 2dfc2d5 commit 65fa32f
Show file tree
Hide file tree
Showing 72 changed files with 2,694 additions and 1,953 deletions.
7 changes: 0 additions & 7 deletions .github/dependabot.yml

This file was deleted.

81 changes: 0 additions & 81 deletions .github/workflows/codeql.yml

This file was deleted.

30 changes: 30 additions & 0 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Java CI

on: [push]

jobs:
build:
runs-on: ubuntu-latest
if: "!contains(github.event.commits[0].message, '[ci-skip]')"

strategy:
matrix:
java: [16]
fail-fast: true

steps:
- uses: actions/checkout@v2

- name: Set up JDK ${{ matrix.java }}
uses: actions/setup-java@v1
with:
java-version: ${{ matrix.java }}
distribution: 'adopt'

- name: Build with Maven
run: mvn clean package

- uses: actions/upload-artifact@master
with:
name: RC24-Bot
path: target/RC24-Bot.jar
25 changes: 25 additions & 0 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Pull Request

on: [pull_request]

jobs:
build:
runs-on: ubuntu-latest
if: "!contains(github.event.commits[0].message, '[ci-skip]')"

strategy:
matrix:
java: [16]
fail-fast: true

steps:
- uses: actions/checkout@v2

- name: Set up JDK ${{ matrix.java }}
uses: actions/setup-java@v1
with:
java-version: ${{ matrix.java }}
distribution: 'adopt'

- name: Build with Maven
run: mvn clean package
30 changes: 1 addition & 29 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,29 +7,11 @@
# BlueJ files
*.ctxt

# eclipse
bin
*.launch
.metadata
.classpath
.project
/.settings

# idea
out
*.ipr
*.iws
*.iml
.idea

# gradle
build
.gradle

# Mobile Tools for Java (J2ME)
.mtj.tmp/

# Package Files
*.jar
*.war
*.ear
*.zip
Expand All @@ -47,13 +29,3 @@ target/*
.idea/*
*.iml
dependency-reduced-pom.xml
polls_049.yml
polls_110.yml
.DS_Store

# eclipse
bin
.settings
.metadata
.classpath
.project
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2017-2023 RiiConnect24 and its contributors
Copyright (c) 2017-2020 RiiConnect24 and its contributors

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@ I'm glad you asked.
##### A note: We no longer use [YAML](http://yaml.org/) except for the config (which was just a [Ruby](https://www.ruby-lang.org/) class before), as [Java](https://www.java.com/) really doesn't like [YAML](http://yaml.org/).

Check out the following steps:
1. You'll need to have MySQL installed.
1. You'll need to have MySQL and Maven installed.
2. We'll create the Redis structures as we go, so no need to set anything up.
3. `git clone` the repo somewhere and `cd` into it.
4. It's time to start building... Run `./gradlew shadowJar`! And... tada! That's it. You can find JAR(s) created in `/build/libs`. Easy!
4. It's time to start building... Run `mvn package`! And... tada! That's it. You can find JAR(s) created in `target`. Easy!
5. For running, make sure you have MySQL installed on whatever machine.

If you need support for the bot, head on over to [the bot's official support server](https://discord.gg/PVsh4jP).
If you need support for the bot, head on over to [the bot's official support server](https://discord.gg/PVsh4jP) or DM `Artuto#0424 | 264499432538505217` in Discord.

For more infos about JDA, [click here](https://github.com/DV8FromTheWorld/JDA).
84 changes: 0 additions & 84 deletions build.gradle

This file was deleted.

Binary file removed gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
6 changes: 0 additions & 6 deletions gradle/wrapper/gradle-wrapper.properties

This file was deleted.

Loading

0 comments on commit 65fa32f

Please sign in to comment.