Skip to content

Commit eacbaef

Browse files
committed
Update
1 parent adadef4 commit eacbaef

File tree

6 files changed

+26
-14
lines changed

6 files changed

+26
-14
lines changed

CHANGELOG.md

Lines changed: 16 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,28 +4,38 @@ All notable changes to this repository will be documented in this file.
44
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

7-
## [Unreleased]
87

9-
*Note:*
8+
## [1.2.1] - *Sunday, October 9th 2022*
9+
10+
*Note: Nothing really happened.*
11+
12+
### Changed
13+
- Changed [README.md](https://github.com/Googool/PaperJDA/blob/master/README.md)
14+
- Updated [pom.xml](https://github.com/Googool/PaperJDA/blob/master/pom.xml) dependencies
15+
- JDA `5.0.0-alpha.19` to `5.0.0-alpha.21`
16+
17+
### Fixed
18+
- Fixed imports inside [`Presence`](https://github.com/Googool/PaperJDA/blob/master/src/main/java/com/googool/github/paperjda/Events/Presence.java) and [`CommandManager`](https://github.com/Googool/PaperJDA/blob/master/src/main/java/com/googool/github/paperjda/Commands/CommandManager.java) files because of the `ReadyEvent` changes in the newest JDA [release](https://github.com/DV8FromTheWorld/JDA/releases/tag/v5.0.0-alpha.21).
1019

1120

1221
## [1.2.0] - *Saturday, October 1st 2022*
1322

1423
*Note: Status and Presence options has been placed as comments inside the file.*
1524

1625
### Added
17-
- Added an option for setting the [`Presence`](https://github.com/Googool/PaperJDA/blob/master/src/main/java/com/googool/github/paperjda/Events/Presence.java) of the application
26+
- Added an option for setting the `Presence` of the application
1827

1928
### Fixed
20-
- Fixed an issue with committing to the [`master`](https://github.com/Googool/PaperJDA) branch
29+
- Fixed an issue with committing to the `master` branch
30+
2131

2232
## [1.1.0] - *Friday, September 30th 2022*
2333

2434
*Note: Creating commands is still done the same way as in the previous version. This might change in a future version.*
2535

2636
### Added
2737
- Added a [`CommandManager`](https://github.com/Googool/PaperJDA/blob/master/src/main/java/com/googool/github/paperjda/Commands/CommandManager.java) to manage Discord commands
28-
- Added `/ping` as a command
38+
- Added [`/ping`](https://github.com/Googool/PaperJDA/blob/master/src/main/java/com/googool/github/paperjda/Commands/Discord/Ping.java) as a command
2939
- Added Code of conduct for contributions
3040
- Added [CHANGELOG.md](https://github.com/Googool/PaperJDA/CHANGELOG.md)
3141

@@ -37,6 +47,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
3747
- General file structure of the repository
3848
- Changed to [Semantic Versioning](https://semver.org/spec/v2.0.0.html)
3949

50+
4051
## [1.0.0] - *Wednesday, September 14th 2022*
4152

4253
*Note: First initial release of the project.*

README.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,19 +8,20 @@
88
<img alt="Discord" src="https://img.shields.io/discord/1015360569399844946?style=flat-square">
99
</p>
1010

11-
PaperJDA utilizes the Java Discord API (JDA) and the Paper API to run a Discord application inside of a plugin.
12-
1311
## Building
1412

15-
### Requirements
13+
> See [pom.xml](https://github.com/Googool/PaperJDA/blob/master/pom.xml)
14+
1615

1716
### Compiling from source
1817

1918
```bash
19+
$ git clone https://github.com/Googool/PaperJDA.git <Custom directory>
20+
$ cd <Custom directory>
2021
```
2122

2223
You can find the output jars in the `loader/build/libs` or `build/libs` directories.
2324

24-
## Liscense
2525

26-
Distributed under the MIT License. See [LICENSE](https://github.com/Googool/PaperJDA/blob/master/LICENSE) for more information.
26+
## User Docs
27+
No real documentation has been prepared.

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@
7575
<dependency>
7676
<groupId>net.dv8tion</groupId>
7777
<artifactId>JDA</artifactId>
78-
<version>5.0.0-alpha.19</version>
78+
<version>5.0.0-alpha.21</version>
7979
</dependency>
8080
</dependencies>
8181
</project>

src/main/java/com/googool/github/paperjda/Commands/CommandManager.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package com.googool.github.paperjda.Commands;
22

33
import com.googool.github.paperjda.Commands.Discord.Ping;
4-
import net.dv8tion.jda.api.events.ReadyEvent;
4+
import net.dv8tion.jda.api.events.session.ReadyEvent;
55
import net.dv8tion.jda.api.hooks.ListenerAdapter;
66
import net.dv8tion.jda.api.interactions.commands.build.CommandData;
77
import net.dv8tion.jda.api.interactions.commands.build.Commands;

src/main/java/com/googool/github/paperjda/Events/Presence.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
import net.dv8tion.jda.api.OnlineStatus;
44
import net.dv8tion.jda.api.entities.Activity;
5-
import net.dv8tion.jda.api.events.ReadyEvent;
5+
import net.dv8tion.jda.api.events.session.ReadyEvent;
66
import net.dv8tion.jda.api.hooks.ListenerAdapter;
77
import org.jetbrains.annotations.NotNull;
88

src/main/resources/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
DISCORD_TOKEN: "token"
1+
DISCORD_TOKEN: ""

0 commit comments

Comments
 (0)