Compare commits

..

8 Commits

Author SHA1 Message Date
renovate[bot]
8f517633dc
Update actions/download-artifact action to v3 [skip ci] (#188)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-06-29 20:19:49 +02:00
renovate[bot]
af0057f303
Update actions/checkout action to v3 [skip ci] (#187)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-06-29 20:19:31 +02:00
renovate[bot]
690af86e07
Update dependency org.liquibase.ext:liquibase-hibernate5 to v4.12.0 [skip ci] (#183)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-06-29 19:59:52 +02:00
renovate[bot]
d00b9946a1
Update dependency org.liquibase:liquibase-core to v4.12.0 [skip ci] (#184)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-06-29 19:59:41 +02:00
renovate[bot]
e72e04f573
Update plugin nebula.lint to v16.26.0 [skip ci] (#185)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-06-29 19:59:21 +02:00
renovate[bot]
f3cddeb444
Update plugin org.liquibase.gradle to v2.1.1 [skip ci] (#186)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-06-29 19:58:23 +02:00
33df8ad66c
Update build.yml 2022-06-29 16:50:18 +02:00
10406a0f68
🚑 Fix permission 2022-06-29 16:42:03 +02:00
4 changed files with 11 additions and 11 deletions

View File

@ -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
@ -76,4 +75,4 @@ jobs:
push: true push: true
context: . context: .
tags: "ghcr.io/sebclem/claptrapbot:${{ env.tag }}" tags: "ghcr.io/sebclem/claptrapbot:${{ env.tag }}"
file: ./Dockerfile file: ./Dockerfile

View File

@ -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)

View File

@ -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'

View File

@ -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);
} }