Compare commits
8 Commits
e5db36d558
...
8f517633dc
Author | SHA1 | Date | |
---|---|---|---|
|
8f517633dc | ||
|
af0057f303 | ||
|
690af86e07 | ||
|
d00b9946a1 | ||
|
e72e04f573 | ||
|
f3cddeb444 | ||
33df8ad66c | |||
10406a0f68 |
9
.github/workflows/build.yml
vendored
9
.github/workflows/build.yml
vendored
@ -3,8 +3,7 @@
|
|||||||
|
|
||||||
name: Build
|
name: Build
|
||||||
|
|
||||||
on:
|
on: push
|
||||||
push:
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-gradle:
|
build-gradle:
|
||||||
@ -12,7 +11,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Set up JDK 17
|
- name: Set up JDK 17
|
||||||
uses: actions/setup-java@v1
|
uses: actions/setup-java@v1
|
||||||
@ -36,10 +35,10 @@ jobs:
|
|||||||
needs:
|
needs:
|
||||||
- build-gradle
|
- build-gradle
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Download artifact
|
- name: Download artifact
|
||||||
uses: actions/download-artifact@v1.0.0
|
uses: actions/download-artifact@v3.0.0
|
||||||
with:
|
with:
|
||||||
# Artifact name
|
# Artifact name
|
||||||
name: claptrap_jar
|
name: claptrap_jar
|
||||||
|
@ -2,6 +2,7 @@
|
|||||||
|
|
||||||
# ClaptrapBot: A multifunctional Discord Bot !
|
# ClaptrapBot: A multifunctional Discord Bot !
|
||||||
|
|
||||||
|
|
||||||
[![GitHub Release][releases-shield]][releases]
|
[![GitHub Release][releases-shield]][releases]
|
||||||
![Project Stage][project-stage-shield]
|
![Project Stage][project-stage-shield]
|
||||||
[![License][license-shield]](LICENSE.md)
|
[![License][license-shield]](LICENSE.md)
|
||||||
|
@ -3,8 +3,8 @@ plugins {
|
|||||||
id 'io.spring.dependency-management' version '1.0.11.RELEASE'
|
id 'io.spring.dependency-management' version '1.0.11.RELEASE'
|
||||||
id 'java'
|
id 'java'
|
||||||
id 'groovy'
|
id 'groovy'
|
||||||
id 'org.liquibase.gradle' version '2.0.4'
|
id 'org.liquibase.gradle' version '2.1.1'
|
||||||
id "nebula.lint" version "16.9.0"
|
id "nebula.lint" version "16.26.0"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -60,11 +60,11 @@ dependencies {
|
|||||||
implementation 'org.apache.commons:commons-lang3:3.12.0'
|
implementation 'org.apache.commons:commons-lang3:3.12.0'
|
||||||
|
|
||||||
|
|
||||||
liquibaseRuntime 'org.liquibase:liquibase-core:4.8.0'
|
liquibaseRuntime 'org.liquibase:liquibase-core:4.12.0'
|
||||||
liquibaseRuntime 'org.liquibase:liquibase-groovy-dsl:3.0.2'
|
liquibaseRuntime 'org.liquibase:liquibase-groovy-dsl:3.0.2'
|
||||||
liquibaseRuntime 'mysql:mysql-connector-java:8.0.29'
|
liquibaseRuntime 'mysql:mysql-connector-java:8.0.29'
|
||||||
liquibaseRuntime group: 'javax.xml.bind', name: 'jaxb-api', version: '2.3.1'
|
liquibaseRuntime group: 'javax.xml.bind', name: 'jaxb-api', version: '2.3.1'
|
||||||
liquibaseRuntime group: 'org.liquibase.ext', name: 'liquibase-hibernate5', version: '4.10.0'
|
liquibaseRuntime group: 'org.liquibase.ext', name: 'liquibase-hibernate5', version: '4.12.0'
|
||||||
liquibaseRuntime 'org.springframework.boot:spring-boot-starter-data-jpa'
|
liquibaseRuntime 'org.springframework.boot:spring-boot-starter-data-jpa'
|
||||||
liquibaseRuntime 'org.springframework.data:spring-data-jpa'
|
liquibaseRuntime 'org.springframework.data:spring-data-jpa'
|
||||||
liquibaseRuntime 'org.springframework:spring-beans'
|
liquibaseRuntime 'org.springframework:spring-beans'
|
||||||
|
@ -33,7 +33,7 @@ public class GuildController {
|
|||||||
|
|
||||||
@GetMapping("inviteLink")
|
@GetMapping("inviteLink")
|
||||||
public InviteLink getInviteLink() {
|
public InviteLink getInviteLink() {
|
||||||
String link = MainBot.jda.setRequiredScopes("applications.commands").getInviteUrl(Permission.getPermissions(1636113579328L));
|
String link = MainBot.jda.setRequiredScopes("applications.commands").getInviteUrl(Permission.getPermissions(1099511103319L));
|
||||||
return new InviteLink(link);
|
return new InviteLink(link);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user