-
-
Notifications
You must be signed in to change notification settings - Fork 267
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
29 changed files
with
1,548 additions
and
4 deletions.
There are no files selected for viewing
22 changes: 22 additions & 0 deletions
22
common/src/main/java/discord4j/common/store/action/read/GetAutoModRuleByIdAction.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,22 @@ | ||
package discord4j.common.store.action.read; | ||
|
||
import discord4j.common.store.api.StoreAction; | ||
import discord4j.discordjson.json.AutoModRuleData; | ||
|
||
public class GetAutoModRuleByIdAction implements StoreAction<AutoModRuleData> { | ||
private final long guildId; | ||
private final long stickerId; | ||
|
||
GetAutoModRuleByIdAction(long guildId, long stickerId) { | ||
this.guildId = guildId; | ||
this.stickerId = stickerId; | ||
} | ||
|
||
public long getGuildId() { | ||
return guildId; | ||
} | ||
|
||
public long getStickerId() { | ||
return stickerId; | ||
} | ||
} |
18 changes: 18 additions & 0 deletions
18
common/src/main/java/discord4j/common/store/action/read/GetAutoModRulesInGuildAction.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,18 @@ | ||
package discord4j.common.store.action.read; | ||
|
||
import discord4j.common.store.api.StoreAction; | ||
import discord4j.discordjson.json.AutoModRuleData; | ||
|
||
public class GetAutoModRulesInGuildAction implements StoreAction<AutoModRuleData> { | ||
|
||
private final long guildId; | ||
|
||
GetAutoModRulesInGuildAction(long guildId) { | ||
this.guildId = guildId; | ||
} | ||
|
||
public long getGuildId() { | ||
return guildId; | ||
} | ||
|
||
} |
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
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
Oops, something went wrong.