-
-
Notifications
You must be signed in to change notification settings - Fork 172
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add sonhos coin flip bets as a transaction reason * Whoops, forgot about this * Add sonhos emoji fight bets as a transaction reason * Add divine intervention as a transaction reason * Improve divine intervention message * Add payment as a transaction reason * Refactor, because our old idea wouldn't work as well as it could * Add sonhos bundle purchase as a transaction reason
- Loading branch information
1 parent
5611132
commit c5e5997
Showing
20 changed files
with
572 additions
and
16 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
6 changes: 6 additions & 0 deletions
6
...t/perfectdreams/loritta/cinnamon/common/utils/DivineInterventionTransactionEntryAction.kt
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,6 @@ | ||
package net.perfectdreams.loritta.cinnamon.common.utils | ||
|
||
enum class DivineInterventionTransactionEntryAction { | ||
ADDED_SONHOS, | ||
REMOVED_SONHOS | ||
} |
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
221 changes: 208 additions & 13 deletions
221
...tlin/net/perfectdreams/loritta/cinnamon/platform/commands/economy/TransactionsExecutor.kt
Large diffs are not rendered by default.
Oops, something went wrong.
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.