Compare commits
8 Commits
e5db36d558
...
8f517633dc
Author | SHA1 | Date | |
---|---|---|---|
|
8f517633dc | ||
|
af0057f303 | ||
|
690af86e07 | ||
|
d00b9946a1 | ||
|
e72e04f573 | ||
|
f3cddeb444 | ||
33df8ad66c | |||
10406a0f68 |
11
.github/workflows/build.yml
vendored
11
.github/workflows/build.yml
vendored
@ -3,8 +3,7 @@
|
||||
|
||||
name: Build
|
||||
|
||||
on:
|
||||
push:
|
||||
on: push
|
||||
|
||||
jobs:
|
||||
build-gradle:
|
||||
@ -12,7 +11,7 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- name: Set up JDK 17
|
||||
uses: actions/setup-java@v1
|
||||
@ -36,10 +35,10 @@ jobs:
|
||||
needs:
|
||||
- build-gradle
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- name: Download artifact
|
||||
uses: actions/download-artifact@v1.0.0
|
||||
uses: actions/download-artifact@v3.0.0
|
||||
with:
|
||||
# Artifact name
|
||||
name: claptrap_jar
|
||||
@ -76,4 +75,4 @@ jobs:
|
||||
push: true
|
||||
context: .
|
||||
tags: "ghcr.io/sebclem/claptrapbot:${{ env.tag }}"
|
||||
file: ./Dockerfile
|
||||
file: ./Dockerfile
|
||||
|
@ -2,6 +2,7 @@
|
||||
|
||||
# ClaptrapBot: A multifunctional Discord Bot !
|
||||
|
||||
|
||||
[![GitHub Release][releases-shield]][releases]
|
||||
![Project Stage][project-stage-shield]
|
||||
[![License][license-shield]](LICENSE.md)
|
||||
|
@ -3,8 +3,8 @@ plugins {
|
||||
id 'io.spring.dependency-management' version '1.0.11.RELEASE'
|
||||
id 'java'
|
||||
id 'groovy'
|
||||
id 'org.liquibase.gradle' version '2.0.4'
|
||||
id "nebula.lint" version "16.9.0"
|
||||
id 'org.liquibase.gradle' version '2.1.1'
|
||||
id "nebula.lint" version "16.26.0"
|
||||
}
|
||||
|
||||
|
||||
@ -60,11 +60,11 @@ dependencies {
|
||||
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 'mysql:mysql-connector-java:8.0.29'
|
||||
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.data:spring-data-jpa'
|
||||
liquibaseRuntime 'org.springframework:spring-beans'
|
||||
|
@ -33,7 +33,7 @@ public class GuildController {
|
||||
|
||||
@GetMapping("inviteLink")
|
||||
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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user