item transfer, item to buy other items, item income, unbuyable items

This commit is contained in:
stjet
2024-09-13 18:17:44 +00:00
parent 3145f52df7
commit c2d1cd2af1
18 changed files with 407 additions and 56 deletions

View File

@@ -5,11 +5,13 @@ config();
import {} from "./db";
import handle_interaction from "./commands";
import role_income_poll from "./role_income";
const client = new Client({ intents: [GatewayIntentBits.Guilds] });
const client = new Client({ intents: [GatewayIntentBits.Guilds, GatewayIntentBits.GuildMembers] });
client.on("ready", async () => {
console.log(`Logged in as ${client.user.tag}`);
role_income_poll(client);
//
});
@@ -19,5 +21,5 @@ client.on("interactionCreate", async (interaction: BaseInteraction) => {
}
});
setTimeout(() => client.login(process.env.DISCORD_TOKEN), 3000);
setTimeout(() => client.login(process.env.DISCORD_TOKEN), 3500);