-
-
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.
Added a large of list of commands I would like to add
- Loading branch information
1 parent
64ae445
commit 1bce9be
Showing
25 changed files
with
569 additions
and
85 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
64 changes: 64 additions & 0 deletions
64
...o/github/yusufsdiscordbot/mystiguardian/commands/admin/database/ClearDatabaseCommand.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,64 @@ | ||
/* | ||
* Copyright 2023 RealYusufIsmail. | ||
* | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* | ||
* you may not use this file except in compliance with the License. | ||
* | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
package io.github.yusufsdiscordbot.mystiguardian.commands.admin.database; | ||
|
||
import io.github.yusufsdiscordbot.mystiguardian.slash.ISlashCommand; | ||
import io.github.yusufsdiscordbot.mystiguardian.utils.MystiGuardianUtils; | ||
import java.util.List; | ||
import org.javacord.api.interaction.*; | ||
import org.jetbrains.annotations.NotNull; | ||
|
||
// TODO: Implement this | ||
public class ClearDatabaseCommand implements ISlashCommand { | ||
@Override | ||
public void onSlashCommandInteractionEvent( | ||
@NotNull SlashCommandInteraction event, MystiGuardianUtils.ReplyUtils replyUtils) {} | ||
|
||
@NotNull | ||
@Override | ||
public String getName() { | ||
return "clear_database"; | ||
} | ||
|
||
@NotNull | ||
@Override | ||
public String getDescription() { | ||
return "Clears certain tables in the database"; | ||
} | ||
|
||
@Override | ||
public List<SlashCommandOption> getOptions() { | ||
return List.of(SlashCommandOption.createWithChoices( | ||
SlashCommandOptionType.STRING, | ||
"table", | ||
"The table to clear", | ||
true, | ||
new SlashCommandOptionChoiceBuilder().setName("all").setValue("all"), | ||
new SlashCommandOptionChoiceBuilder().setName("warn").setValue("warn"), | ||
new SlashCommandOptionChoiceBuilder().setName("mute").setValue("mute"), | ||
new SlashCommandOptionChoiceBuilder().setName("kick").setValue("kick"), | ||
new SlashCommandOptionChoiceBuilder().setName("ban").setValue("ban"), | ||
new SlashCommandOptionChoiceBuilder().setName("audit").setValue("audit"))); | ||
} | ||
|
||
@Override | ||
public boolean isOwnerOnly() { | ||
return true; | ||
} | ||
} |
66 changes: 0 additions & 66 deletions
66
...java/io/github/yusufsdiscordbot/mystiguardian/commands/audit/type/AmountAuditCommand.java
This file was deleted.
Oops, something went wrong.
22 changes: 22 additions & 0 deletions
22
...a/io/github/yusufsdiscordbot/mystiguardian/commands/miscellaneous/DiceRollingCommand.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 @@ | ||
/* | ||
* Copyright 2023 RealYusufIsmail. | ||
* | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* | ||
* you may not use this file except in compliance with the License. | ||
* | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
package io.github.yusufsdiscordbot.mystiguardian.commands.miscellaneous; | ||
|
||
// TODO: Add DiceRollingCommand | ||
public class DiceRollingCommand {} |
21 changes: 21 additions & 0 deletions
21
...io/github/yusufsdiscordbot/mystiguardian/commands/miscellaneous/MemeGeneratorCommand.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 @@ | ||
/* | ||
* Copyright 2023 RealYusufIsmail. | ||
* | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* | ||
* you may not use this file except in compliance with the License. | ||
* | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
package io.github.yusufsdiscordbot.mystiguardian.commands.miscellaneous; | ||
|
||
public class MemeGeneratorCommand {} |
22 changes: 22 additions & 0 deletions
22
...io/github/yusufsdiscordbot/mystiguardian/commands/miscellaneous/QuoteOfTheDayCommand.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 @@ | ||
/* | ||
* Copyright 2023 RealYusufIsmail. | ||
* | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* | ||
* you may not use this file except in compliance with the License. | ||
* | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
package io.github.yusufsdiscordbot.mystiguardian.commands.miscellaneous; | ||
|
||
// TODO: Add QuoteOfTheDayCommand | ||
public class QuoteOfTheDayCommand {} |
21 changes: 21 additions & 0 deletions
21
...va/io/github/yusufsdiscordbot/mystiguardian/commands/miscellaneous/TriviaQuizCommand.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 @@ | ||
/* | ||
* Copyright 2023 RealYusufIsmail. | ||
* | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* | ||
* you may not use this file except in compliance with the License. | ||
* | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
package io.github.yusufsdiscordbot.mystiguardian.commands.miscellaneous; | ||
|
||
public class TriviaQuizCommand {} |
22 changes: 22 additions & 0 deletions
22
...java/io/github/yusufsdiscordbot/mystiguardian/commands/miscellaneous/UserInfoCommand.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 @@ | ||
/* | ||
* Copyright 2023 RealYusufIsmail. | ||
* | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* | ||
* you may not use this file except in compliance with the License. | ||
* | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
package io.github.yusufsdiscordbot.mystiguardian.commands.miscellaneous; | ||
|
||
// TODO: Add UserInfoCommand | ||
public class UserInfoCommand {} |
22 changes: 22 additions & 0 deletions
22
.../java/io/github/yusufsdiscordbot/mystiguardian/commands/miscellaneous/WeatherCommand.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 @@ | ||
/* | ||
* Copyright 2023 RealYusufIsmail. | ||
* | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* | ||
* you may not use this file except in compliance with the License. | ||
* | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
package io.github.yusufsdiscordbot.mystiguardian.commands.miscellaneous; | ||
|
||
// TODO: Add WeatherCommand | ||
public class WeatherCommand {} |
22 changes: 22 additions & 0 deletions
22
...n/java/io/github/yusufsdiscordbot/mystiguardian/commands/moderation/BanAppealCommand.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 @@ | ||
/* | ||
* Copyright 2023 RealYusufIsmail. | ||
* | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* | ||
* you may not use this file except in compliance with the License. | ||
* | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
package io.github.yusufsdiscordbot.mystiguardian.commands.moderation; | ||
|
||
// TODO: Add BanAppealCommand | ||
public class BanAppealCommand {} |
22 changes: 22 additions & 0 deletions
22
src/main/java/io/github/yusufsdiscordbot/mystiguardian/commands/moderation/BanCommand.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 @@ | ||
/* | ||
* Copyright 2023 RealYusufIsmail. | ||
* | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* | ||
* you may not use this file except in compliance with the License. | ||
* | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
package io.github.yusufsdiscordbot.mystiguardian.commands.moderation; | ||
|
||
// TODO: Add BanCommand | ||
public class BanCommand {} |
22 changes: 22 additions & 0 deletions
22
...ithub/yusufsdiscordbot/mystiguardian/commands/moderation/ChannelLockAndUnlockCommand.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 @@ | ||
/* | ||
* Copyright 2023 RealYusufIsmail. | ||
* | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* | ||
* you may not use this file except in compliance with the License. | ||
* | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
package io.github.yusufsdiscordbot.mystiguardian.commands.moderation; | ||
|
||
// TODO: Add ChannelLockAndUnlockCommand | ||
public class ChannelLockAndUnlockCommand {} |
22 changes: 22 additions & 0 deletions
22
src/main/java/io/github/yusufsdiscordbot/mystiguardian/commands/moderation/KickCommand.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 @@ | ||
/* | ||
* Copyright 2023 RealYusufIsmail. | ||
* | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* | ||
* you may not use this file except in compliance with the License. | ||
* | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
package io.github.yusufsdiscordbot.mystiguardian.commands.moderation; | ||
|
||
// TODO: Add KickCommand | ||
public class KickCommand {} |
22 changes: 22 additions & 0 deletions
22
...ain/java/io/github/yusufsdiscordbot/mystiguardian/commands/moderation/SoftBanCommand.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 @@ | ||
/* | ||
* Copyright 2023 RealYusufIsmail. | ||
* | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* | ||
* you may not use this file except in compliance with the License. | ||
* | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
package io.github.yusufsdiscordbot.mystiguardian.commands.moderation; | ||
|
||
// TODO: Add SoftBanCommand | ||
public class SoftBanCommand {} |
Oops, something went wrong.