Compare commits
2
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
bd5409ae5a | ||
|
|
a48bf9fc8c |
@@ -38,3 +38,12 @@ jobs:
|
|||||||
source: "target/notifier.jar"
|
source: "target/notifier.jar"
|
||||||
target: "/opt/notifier"
|
target: "/opt/notifier"
|
||||||
strip_components: 1
|
strip_components: 1
|
||||||
|
|
||||||
|
- name: Restart Service on Server
|
||||||
|
uses: appleboy/ssh-action@master
|
||||||
|
with:
|
||||||
|
host: ${{ secrets.SERVER_IP }}
|
||||||
|
username: ${{ secrets.SERVER_USERNAME }}
|
||||||
|
password: ${{ secrets.SERVER_PASSWORD }}
|
||||||
|
script: |
|
||||||
|
sudo systemctl restart notifier
|
||||||
@@ -69,7 +69,6 @@ public class DatabaseManager {
|
|||||||
String guildId = resultSet.getString("guild_id");
|
String guildId = resultSet.getString("guild_id");
|
||||||
String channelId = resultSet.getString("channel_id");
|
String channelId = resultSet.getString("channel_id");
|
||||||
String messageId = resultSet.getString("message_id");
|
String messageId = resultSet.getString("message_id");
|
||||||
LOGGER.debug("Notifier for guild {}, channel {}, message {}", guildId, channelId, messageId);
|
|
||||||
notified.add(new Notified(guildId, channelId, messageId));
|
notified.add(new Notified(guildId, channelId, messageId));
|
||||||
}
|
}
|
||||||
return notified;
|
return notified;
|
||||||
|
|||||||
Reference in New Issue
Block a user