diff --git a/build.sh b/build.sh deleted file mode 100644 index b6536fc..0000000 --- a/build.sh +++ /dev/null @@ -1,8 +0,0 @@ -# This file builds the Go binaries. Hardcoded by LOC Engineering -# DEPRECATED, USE MAKEFILE INSTEAD -go build -ldflags="-s -w" -o dist/bin/storage src/go/storage/storage.go src/go/storage/dirsize.go -file dist/bin/storage -go build -ldflags="-s -w" -o dist/bin/checkCertificate src/go/checkCertificate/checkCertificate.go -file dist/bin/checkCertificate -go build -ldflags="-s -w" -o dist/bin/checkCertSignatures src/go/checkCertSignatures/checkCertSignatures.go -file dist/bin/checkCertSignatures diff --git a/src/commands/tier.ts b/src/commands/tier.ts index a86d2e6..9c2c76f 100644 --- a/src/commands/tier.ts +++ b/src/commands/tier.ts @@ -24,7 +24,7 @@ export default class Tier extends Command { if (Number(args[1]) > 3 || Number(args[1]) < 1) return edit.edit(`***${this.client.stores.emojis.error} You can only choose a Tier between 1 and 3.***`); message.delete(); await account.updateOne({ $set: { tier: Number(args[1]) } }); - message.channel.createMessage(`***${this.client.stores.emojis.success} Tier for ${account.username} has been changed to ${args[1]}.***`); + edit.edit(`***${this.client.stores.emojis.success} Tier for ${account.username} has been changed to ${args[1]}.***`); const embed = new RichEmbed(); embed.setTitle('Cloud Account | Tier Change'); embed.setColor('#0099ff');