Cache Updating
I am trying to confirm if running
await guild.members.fetch()
will keep the member cache up to date for a particular guild. I seem to have different answers on this.
Bot invited via User App or Server Invite?
Is it possible to get if the bot was invited via User App or added to a server?
EmbedBuilder thumbnail issue
My bot scrapes data from pages on archiveofourown.org and uses it to build an embed. Recent changes to their server structure have led to a change in their image hosting url convention.
Previously, the icon for a collection, for example, would have been something like
https://s3.amazonaws.com/otw-ao3-icons/collections/icons/1202098/standard.jpg
And now it is:...How do I send a message to a channel by channel id
```JS
const channel = interaction.client.channels.fetch('1345305762481569822')
if (interaction.options.getUser('member').bot) {
await channel.send({embeds: [embed1]})
} else {...
need help, my bot seems to turn on & go online but no response from it with anything.
```js
import { Client, Events, GatewayIntentBits } from 'discord.js';
const client = new Client({ intents: [GatewayIntentBits.Guilds] });
...
Does discord check command permission?
Does discord check command permission before the command be executed when i set on SlashCommandBuilder object?
Logs not working
I am still kind of new to coding so please do not judge on that fact, but I've tried multiple things (events & audit logs) and only a few of my logs work (member joins and message edits).
Bot Emojis on embeds
I've added a few emojis to my bot on the Dev Portal.
When I use them (
<a:name:id>
) on a regular message like interaction.send({content: "<a:name:id>"}) it works fine, it shows and animates.
The thing is that if I use them on a embed.setDescription("<a:name:id>") it'll show the name only... :name: like that......I want to get the status of a member not the actual presence what am i doing wrong?
```js
const { EmbedBuilder, ChannelType, GuildMember, ActivityType } = require('discord.js');
const guildSchema = require('../../models/guildSchema');
/**
* ...
Discord Move Logs
Does anyone know if it's possible to create a bot that logs when a user is moved from one voice channel to another?
I want the bot to send a message in a Discord channel like this:
Log Entry:...
405 Method Not Allowed
Getting this error when trying to upload new emojis.
```
5:08:22 AM Failed to upload emoji "i_user": DiscordAPIError[0]: 405: Method Not Allowed
at handleErrors (file:///C:/Users/the1a/Downloads/apps/dyLcore/node_modules/@discordjs/rest/dist/index.mjs:686:13)...
Bot doesnt register new / Commands
Hello, I am starting with programming in Discord.js, and I was following the Docs, but suddenly new commands wouldn't appear only the old ones worked. I hope someone can help me with that.
Also here is my Code:
https://github.com/Vogelyt/First-Bot...
How to use .setChoices/.addChoices. SlashCommandBuilder
context i am making a embed command,
i am receiving this error for each of my options
```...
Bot can't give the roles under
My bot can't give roles even tho the bot got the correct permissions. The bot's role is higher than the role it will provide, and it gives the "Missing access" error.
Problem with running scripts being disabled
I copy pasted everything that the internet said and then it said that.

Problem with channel fetching
Hello.
So Ive been fighting with this for a month now and I don't know where issue is, so im trying my luck here.
I have made a reminders system. Reminders has channel ID and user ID saved in db. I have functions running every 5 seconds that check if there are any reminders to send. ...
Seems like an internal Discord error...
I've been looking for "this.client.channels._add" in my code everywhere and I can't find it. It seems like it's a discord.js modules problem?
I tried uninstalling and reinstalling discord.js too, but it didn't work....

Auto-moderation 1.5.4
I don't know what the problem is I have spammed both messages and links but it does not seem to block any of these attempts and gives absolutely no error, I have installed the Auto Moderation 1.5.4 dependency and this is the code
