f1fty
f1fty
Explore posts from servers
SIASapphire - Imagine a framework
Created by f1fty on 12/22/2024 in #sapphire-support
How to wait that the initialization of the ApplicationCommandRegistry is finished
const main = async () => {
try {
client.logger.info('Start login of client to Discord...');
await client.login(process.env.DISCORD_BOT_TOKEN);
client.logger.info('Successfully logged in into Discord');

const redisServer = new RedisServer({ host: process.env.REDIS_HOST, port: process.env.REDIS_PORT });
await redisServer.connect().then(async () => {
client.logger.info('Successfully connected to RedisServer...');
});
await registerRedisEvents(redisServer, client.logger, join(getRootData().root, './handlers/redis'));
} catch (error) {
client.logger.fatal(error);
await client.destroy();
process.exit(1);
}
};

void main();
const main = async () => {
try {
client.logger.info('Start login of client to Discord...');
await client.login(process.env.DISCORD_BOT_TOKEN);
client.logger.info('Successfully logged in into Discord');

const redisServer = new RedisServer({ host: process.env.REDIS_HOST, port: process.env.REDIS_PORT });
await redisServer.connect().then(async () => {
client.logger.info('Successfully connected to RedisServer...');
});
await registerRedisEvents(redisServer, client.logger, join(getRootData().root, './handlers/redis'));
} catch (error) {
client.logger.fatal(error);
await client.destroy();
process.exit(1);
}
};

void main();
5 replies
DIAdiscord.js - Imagine an app
Created by f1fty on 12/11/2024 in #djs-questions
messageUpdate event comparsion problem
when their is an message edit i update the entire message in my mongo collection
7 replies
DIAdiscord.js - Imagine an app
Created by f1fty on 12/11/2024 in #djs-questions
messageUpdate event comparsion problem
i save a conversation in my mongo collection
7 replies
DIAdiscord.js - Imagine an app
Created by f1fty on 12/11/2024 in #djs-questions
messageUpdate event comparsion problem
the embed is the actuall reason for my problem
7 replies
SIASapphire - Imagine a framework
Created by f1fty on 4/30/2024 in #sapphire-support
Question to Plugin i18next
Okay ✅
5 replies
SIASapphire - Imagine a framework
Created by f1fty on 4/28/2024 in #sapphire-support
eslint autofix problems
ahh okay
6 replies
SIASapphire - Imagine a framework
Created by f1fty on 4/28/2024 in #sapphire-support
eslint autofix problems
No description
6 replies
SIASapphire - Imagine a framework
Created by Edge on 4/14/2024 in #discordjs-support
MongoDB Discord.JS (Only saving to 1 profile)
u need userProfiles = await UserProfile.find({ guildId: message.guild.id }) than loop over every profile and update xp for each one
3 replies
SIASapphire - Imagine a framework
Created by Edge on 4/14/2024 in #discordjs-support
MongoDB Discord.JS (Only saving to 1 profile)
because of findOne
3 replies
NNuxt
Created by f1fty on 4/22/2024 in #❓・help
Getting _auth/oauth/discord/authorize 404 Not found in production
now getting everytime i get this error: ` ERROR [nuxt] [request error] [unhandled] [400] [POST] "https://discord.com/api/oauth2/token": 400 Bad Request``
6 replies
NNuxt
Created by f1fty on 4/22/2024 in #❓・help
Getting _auth/oauth/discord/authorize 404 Not found in production
maybe someone knows a workaround
6 replies
NNuxt
Created by f1fty on 4/22/2024 in #❓・help
Getting _auth/oauth/discord/authorize 404 Not found in production
6 replies
NNuxt
Created by f1fty on 4/22/2024 in #❓・help
Getting _auth/oauth/discord/authorize 404 Not found in production
nuxt-auth*
6 replies
SIASapphire - Imagine a framework
Created by f1fty on 4/20/2024 in #sapphire-support
Caching Problems
filter undefined
12 replies
SIASapphire - Imagine a framework
Created by f1fty on 4/20/2024 in #sapphire-support
Caching Problems
mean as a user
12 replies
SIASapphire - Imagine a framework
Created by f1fty on 4/20/2024 in #sapphire-support
Caching Problems
Ah yes second code doesnt filter forgot that
12 replies
SIASapphire - Imagine a framework
Created by f1fty on 4/20/2024 in #sapphire-support
Caching Problems
ill try to test smth
12 replies
SIASapphire - Imagine a framework
Created by f1fty on 4/20/2024 in #sapphire-support
Caching Problems
mhm but i do much on server before adding option to selectmenu
12 replies
SIASapphire - Imagine a framework
Created by f1fty on 4/20/2024 in #sapphire-support
Caching Problems
or is maybe tsc-watch the cause?
12 replies
DIAdiscord.js - Imagine an app
Created by f1fty on 4/17/2024 in #djs-questions
Fetch messages after a message with including initialMessage
@Jiralite can be marked as resolved again
9 replies