Merge new rendering into master #60

Merged
JanGross merged 25 commits from dev-new-rendering into master 2023-08-07 17:34:19 +02:00
Showing only changes of commit 24510dcc4c - Show all commits

View File

@@ -16,7 +16,7 @@ module.exports = {
(async () => { (async () => {
try { try {
console.log("Registering commands..."); console.log("Registering commands...");
if(process.env.ENV === "production") { if(process.env.NODE_ENV === "production") {
await rest.put(Routes.applicationCommands(CLIENT_ID), {body: commands }); await rest.put(Routes.applicationCommands(CLIENT_ID), {body: commands });
await rest.put(Routes.applicationGuildCommands(CLIENT_ID, process.env.GUILD_ID), {body: [] }); //Clear Guild commands on prod await rest.put(Routes.applicationGuildCommands(CLIENT_ID, process.env.GUILD_ID), {body: [] }); //Clear Guild commands on prod
console.log("Global commands registered"); console.log("Global commands registered");