-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #69 from FoxGenesis/plugin-intents
New plugin intents system
- Loading branch information
Showing
61 changed files
with
2,404 additions
and
742 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -44,3 +44,4 @@ assets/resources/database.properties | |
/logs/ | ||
/config/ | ||
/lib/ | ||
sysinfo.txt |
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 |
---|---|---|
@@ -1,25 +1,25 @@ | ||
[Token] | ||
# Path to login token file | ||
tokenFile = config/token.txt | ||
[WatameBot.Token] | ||
# Relative path to discord bot token file | ||
tokenFile = token.txt | ||
|
||
[WatameBot.Status] | ||
[Startup.Status] | ||
# Startup activity status | ||
startup = Initalizing... | ||
# Activity status after startup | ||
online = https://github.com/FoxGenesis/Watamebot | ||
|
||
[SingleInstance] | ||
[Startup.SingleInstance] | ||
# Allow only one instance to run at a time | ||
enabled = true | ||
# Amount of times to attempt to obtain instance lock | ||
retries = 5 | ||
|
||
[Runtime] | ||
# | ||
ansiConsole = true | ||
[PushBullet] | ||
# Pushbullet token | ||
token = | ||
|
||
[Logging] | ||
# Logging level (info | debug | trace) | ||
logLevel = info | ||
|
||
[PushBullet] | ||
# Pushbullet token | ||
token = | ||
# Display ANSI colors in console | ||
ansiConsole = true |
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,7 @@ | ||
[IntegratedPlugin] | ||
# Enable/Disable the '/options configuration' command | ||
enableOptionsCommand = false | ||
# Enable/Disable the '/ping' command | ||
enablePingCommand = true | ||
# Enable/Disable the '/uptime' command | ||
enableUptimeCommand = true |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
package net.foxgenesis.http; | ||
|
||
import org.jetbrains.annotations.NotNull; | ||
|
||
public record ApiKey(@NotNull KeyType type, @NotNull String name, @NotNull String token) { | ||
|
||
public static enum KeyType { | ||
HEADER, PARAMETER | ||
} | ||
} |
Oops, something went wrong.