apzrn
apzrn
DIAdiscord.js - Imagine a boo! šŸ‘»
Created by apzrn on 4/20/2024 in #djs-questions
Webhooks
Hey is there a way to get data sent to the webhook client, instead of when the webhook sends the message?
5 replies
DIAdiscord.js - Imagine a boo! šŸ‘»
Created by apzrn on 3/25/2024 in #djs-questions
Polls
Hey how can I make the new polls using rest?
2 replies
DIAdiscord.js - Imagine a boo! šŸ‘»
Created by apzrn on 3/22/2024 in #djs-questions
4 Events not firing
Hey any idea why these 4 events not fire? I have 37 other events that work fine
autoModerationRuleDelete, autoModerationRuleCreate, autoModerationRuleUpdate, guildScheduledEventCreate
autoModerationRuleDelete, autoModerationRuleCreate, autoModerationRuleUpdate, guildScheduledEventCreate
const bot = new Client({
intents: [GatewayIntentBits.Guilds, GatewayIntentBits.GuildModeration, GatewayIntentBits.GuildWebhooks, GatewayIntentBits.GuildInvites, GatewayIntentBits.GuildMessageReactions, GatewayIntentBits.GuildEmojisAndStickers, GatewayIntentBits.DirectMessages, GatewayIntentBits.GuildVoiceStates,GatewayIntentBits.GuildMembers,GatewayIntentBits.GuildIntegrations,GatewayIntentBits.GuildMessages,GatewayIntentBits.MessageContent, GatewayIntentBits.AutoModerationExecution, GatewayIntentBits.GuildModeration],
partials: [Partials.Channel, Partials.GuildMember, Partials.User, Partials.Reaction, Partials.GuildScheduledEvent, Partials.ThreadMember],
restRequestTimeout: 60000,
shards:'auto'
})
const bot = new Client({
intents: [GatewayIntentBits.Guilds, GatewayIntentBits.GuildModeration, GatewayIntentBits.GuildWebhooks, GatewayIntentBits.GuildInvites, GatewayIntentBits.GuildMessageReactions, GatewayIntentBits.GuildEmojisAndStickers, GatewayIntentBits.DirectMessages, GatewayIntentBits.GuildVoiceStates,GatewayIntentBits.GuildMembers,GatewayIntentBits.GuildIntegrations,GatewayIntentBits.GuildMessages,GatewayIntentBits.MessageContent, GatewayIntentBits.AutoModerationExecution, GatewayIntentBits.GuildModeration],
partials: [Partials.Channel, Partials.GuildMember, Partials.User, Partials.Reaction, Partials.GuildScheduledEvent, Partials.ThreadMember],
restRequestTimeout: 60000,
shards:'auto'
})
Example: all the others are the same way
bot.on('autoModerationRuleCreate', async (autoModerationRule) => {
console.log(autoModerationRule)
})
bot.on('autoModerationRuleCreate', async (autoModerationRule) => {
console.log(autoModerationRule)
})
5 replies
DIAdiscord.js - Imagine a boo! šŸ‘»
Created by apzrn on 3/19/2024 in #djs-questions
User install
Hey can we use the user install? Like interactionCreate, messageCreate etc will still work?
5 replies
DIAdiscord.js - Imagine a boo! šŸ‘»
Created by apzrn on 3/11/2024 in #djs-questions
Already reacted
Hey Iā€™m making a starboard system and it works fine except is there a way to check if someone already reacted before without having to store every messages previous reactions? As right now if you spam the reaction off on off on, the count just keeps going up
5 replies
DIAdiscord.js - Imagine a boo! šŸ‘»
Created by apzrn on 12/7/2023 in #djs-questions
discord-rpc
Hey is there a way I can host discord-rpc on my vps and have it keep running without having the discord app open all the time?
3 replies