Interaction from Guild the bot is in emitting with uncached Guild

Continuing here to make it easier to keep track
2 Replies
d.js toolkit
d.js toolkit5mo ago
- What's your exact discord.js npm list discord.js and node node -v version? - Not a discord.js issue? Check out #other-js-ts. - Consider reading #how-to-get-help to improve your question! - Explain what exactly your issue is. - Post the full error stack trace, not just the top part! - Show your code! - Issue solved? Press the button! - Marked as resolved by staff
kcaj
kcajOP5mo ago
Following on from https://discord.com/channels/222078108977594368/824411059443204127/1274437698454818868 So the commands only aren’t working in 1 of the servers I think The server they won’t work in has some certain guild-only commands along with the global ones The command I created right before the problem started is a guild only one @WolverStone sorry for the ping - I’ve made this thread to continue here so we can keep track of the conversation Wait no wrong ping sorry… @wolvinny 🌈 Yeah give me a few minutes and I’ll get that
ChatInputCommandInteraction {
type: 2,
id: '1274443486862639164',
applicationId: '1268639614621712487',
channelId: '1149045606615105626',
guildId: '1064592951658946722',
user: User {
id: '326740893384179712',
bot: false,
system: false,
flags: UserFlagsBitField { bitfield: 4194432 },
username: 'somerandom_user_name',
globalName: 'kcaj',
discriminator: '0',
avatar: '1fa863cb27e70593bea418937d4e13e9',
banner: undefined,
accentColor: undefined,
avatarDecoration: null
},
member: {
user: {
username: 'somerandom_user_name',
public_flags: 4194432,
id: '326740893384179712',
global_name: 'kcaj',
discriminator: '0',
clan: null,
avatar_decoration_data: null,
avatar: '1fa863cb27e70593bea418937d4e13e9'
},
unusual_dm_activity_until: null,
roles: [ '1262174698284912641', '1261368575013163042' ],
premium_since: null,
permissions: '2251799813685247',
pending: false,
nick: '1FD22 | jackfrojpg',
mute: false,
joined_at: '2023-01-16T17:12:18.872000+00:00',
flags: 0,
deaf: false,
communication_disabled_until: null,
banner: null,
avatar: null
},
version: 1,
appPermissions: PermissionsBitField { bitfield: 562949953863680n },
memberPermissions: PermissionsBitField { bitfield: 2251799813685247n },
locale: 'en-GB',
guildLocale: 'en-US',
entitlements: Collection(0) [Map] {},
commandId: '1273306488860839993',
commandName: 'active-shifts',
commandType: 1,
commandGuildId: null,
deferred: false,
replied: false,
ephemeral: null,
webhook: InteractionWebhook { id: '1268639614621712487' },
options: CommandInteractionOptionResolver {
_group: null,
_subcommand: null,
_hoistedOptions: []
}
}
ChatInputCommandInteraction {
type: 2,
id: '1274443486862639164',
applicationId: '1268639614621712487',
channelId: '1149045606615105626',
guildId: '1064592951658946722',
user: User {
id: '326740893384179712',
bot: false,
system: false,
flags: UserFlagsBitField { bitfield: 4194432 },
username: 'somerandom_user_name',
globalName: 'kcaj',
discriminator: '0',
avatar: '1fa863cb27e70593bea418937d4e13e9',
banner: undefined,
accentColor: undefined,
avatarDecoration: null
},
member: {
user: {
username: 'somerandom_user_name',
public_flags: 4194432,
id: '326740893384179712',
global_name: 'kcaj',
discriminator: '0',
clan: null,
avatar_decoration_data: null,
avatar: '1fa863cb27e70593bea418937d4e13e9'
},
unusual_dm_activity_until: null,
roles: [ '1262174698284912641', '1261368575013163042' ],
premium_since: null,
permissions: '2251799813685247',
pending: false,
nick: '1FD22 | jackfrojpg',
mute: false,
joined_at: '2023-01-16T17:12:18.872000+00:00',
flags: 0,
deaf: false,
communication_disabled_until: null,
banner: null,
avatar: null
},
version: 1,
appPermissions: PermissionsBitField { bitfield: 562949953863680n },
memberPermissions: PermissionsBitField { bitfield: 2251799813685247n },
locale: 'en-GB',
guildLocale: 'en-US',
entitlements: Collection(0) [Map] {},
commandId: '1273306488860839993',
commandName: 'active-shifts',
commandType: 1,
commandGuildId: null,
deferred: false,
replied: false,
ephemeral: null,
webhook: InteractionWebhook { id: '1268639614621712487' },
options: CommandInteractionOptionResolver {
_group: null,
_subcommand: null,
_hoistedOptions: []
}
}
Don’t remember doing that but I will readd the bot to the server to be extra sure The confusion continues The bot isn’t in the server apparently But I can see it’s commands But the dev portal says 0 individual users Well I’ll add the bot to the server anyway lol I guess that’s possible but I can’t remember, it will have been maybe a week or 2 ago. Would that cause the commands to show but no bot as a member? Anyway now I’ve added it properly the commands work I can’t believe I didn’t notice the bot wasn’t actually in the server until now. I must’ve just assumed it was as I could see the commands Well thank you for your help. Who knows how long it would have taken me to figure that out!
Want results from more Discord servers?
Add your server