Skip to content

Commit

Permalink
Delete GCP creds
Browse files Browse the repository at this point in the history
  • Loading branch information
SherRao committed May 13, 2022
1 parent dbd1dbb commit e9e7503
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 29 deletions.
11 changes: 0 additions & 11 deletions src/commands/example.js

This file was deleted.

2 changes: 1 addition & 1 deletion src/commands/minecraft.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const data = new SlashCommandBuilder()
.setName("minecraft")
.setDescription("Links your Discord account to the (Java) Minecraft server and whitelists you.")
.addStringOption(option =>
option.setName("minecraftUsername")
option.setName("username")
.setDescription("Your Minecraft username to login to the server with..")
.setRequired(true)
);
Expand Down
12 changes: 7 additions & 5 deletions src/commands/team.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ const data = new SlashCommandBuilder()

.addSubcommand(subCommand =>
subCommand.setName("delete")
.setDescription("Delete your team (only if you created the team).")
.setDescription("Delete your team only if you created the team.")
)

.addSubcommand(subCommand =>
Expand All @@ -36,11 +36,13 @@ const data = new SlashCommandBuilder()
)

.addSubcommand(subCommand =>
subCommand.setName("DELETECONFIRM")
subCommand.setName("dconfirm")
.setDescription("Delete your team only if you created the team.")
)

.addSubcommand(subCommand =>
subCommand.setName("LEAVECONFIRM")
subCommand.setName("lconfirm")
.setDescription("Leave your team.")
);

const execute = async (interaction) => {
Expand Down Expand Up @@ -98,7 +100,7 @@ const execute = async (interaction) => {
break;
}

case "DELETECONFIRM": {
case "confirm": {
if(!team)
return await interaction.reply("❌ You are not in a team!");

Expand All @@ -120,7 +122,7 @@ const execute = async (interaction) => {
break;
}

case "LEAVECONFIRM": {
case "lconfirm": {
if(!team)
return await interaction.reply("❌ You are not in a team!");

Expand Down
12 changes: 0 additions & 12 deletions src/google_jwt.json

This file was deleted.

0 comments on commit e9e7503

Please sign in to comment.