-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
67 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 21 additions & 0 deletions
21
src/main/java/com/eternalcode/discordapp/meeting/controller/MeetingButtonController.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
package com.eternalcode.discordapp.meeting.controller; | ||
|
||
import com.eternalcode.discordapp.meeting.database.MeetingRepository; | ||
import com.eternalcode.discordapp.meeting.database.MeetingRepositoryImpl; | ||
import net.dv8tion.jda.api.events.interaction.component.ButtonInteractionEvent; | ||
import net.dv8tion.jda.api.hooks.ListenerAdapter; | ||
|
||
public class MeetingButtonController extends ListenerAdapter { | ||
|
||
private final MeetingRepository meetingRepository; | ||
|
||
public MeetingButtonController(MeetingRepository meetingRepository) { | ||
this.meetingRepository = meetingRepository; | ||
} | ||
|
||
@Override | ||
public void onButtonInteraction(ButtonInteractionEvent event) { | ||
|
||
} | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 4 additions & 0 deletions
4
src/main/java/com/eternalcode/discordapp/meeting/event/MeetingMemberAbsentEvent.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
package com.eternalcode.discordapp.meeting.event; | ||
|
||
public record MeetingMemberAbsentEvent(Long absentUserId) { | ||
} |
4 changes: 4 additions & 0 deletions
4
src/main/java/com/eternalcode/discordapp/meeting/event/MeetingMemberPresentEvent.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
package com.eternalcode.discordapp.meeting.event; | ||
|
||
public record MeetingMemberPresentEvent(Long presentUserId) { | ||
} |