Bark
Bark
Explore posts from servers
DIAdiscord.js - Imagine an app
Created by Bark on 2/24/2024 in #djs-questions
Member Guild Permissions via API
as far as the server is concerened, your actual permission to make requests is based on the logged in user the mimicing only changes what the frontend displays and behaves as ive got full perms so it behaves like I'm logged in as someone else in terms of what I can see
20 replies
DIAdiscord.js - Imagine an app
Created by Bark on 2/24/2024 in #djs-questions
Member Guild Permissions via API
server validates it off the actual logged in user it mimics certain access, not the entire site
20 replies
DIAdiscord.js - Imagine an app
Created by Bark on 2/24/2024 in #djs-questions
Member Guild Permissions via API
everything is id based rather than oauth
20 replies
DIAdiscord.js - Imagine an app
Created by Bark on 2/24/2024 in #djs-questions
Member Guild Permissions via API
I've got a way to mimic a user for debugging, but that only works when the server doesn't need oauth
20 replies
DIAdiscord.js - Imagine an app
Created by Bark on 2/24/2024 in #djs-questions
Member Guild Permissions via API
I was doing that before and wanted to avoid relying on the bot being online, but I'll look into the role stuff
20 replies
DIAdiscord.js - Imagine an app
Created by Bark on 2/24/2024 in #djs-questions
Member Guild Permissions via API
the server
20 replies
DIAdiscord.js - Imagine an app
Created by Bark on 2/24/2024 in #djs-questions
Member Guild Permissions via API
I still need to be able to pull it through the id, not solely oauth
20 replies
DIAdiscord.js - Imagine an app
Created by Bark on 2/24/2024 in #djs-questions
Member Guild Permissions via API
everything works aside from figuring out what guild-level permissions the user has
20 replies
DIAdiscord.js - Imagine an app
Created by Bark on 2/24/2024 in #djs-questions
Member Guild Permissions via API
it's for a website independent of the bot user logs in with oauth, site pulls certain guild details through the bot's credentials, then needs to determine what the user has access to the site then makes configuration changes
20 replies
DIAdiscord.js - Imagine an app
Created by Bark on 2/24/2024 in #djs-questions
Member Guild Permissions via API
and from outside of a bot, just using the bot's credentials
20 replies
DIAdiscord.js - Imagine an app
Created by Bark on 2/24/2024 in #djs-questions
Member Guild Permissions via API
in the sense that I need to limit a user's access to certain features if they aren't an administrator
20 replies
DIAdiscord.js - Imagine an app
Created by Bark on 2/24/2024 in #djs-questions
Member Guild Permissions via API
essentially trying to check if a user can make certain changes to the server itself
20 replies
DIAdiscord.js - Imagine an app
Created by Bark on 2/24/2024 in #djs-questions
Member Guild Permissions via API
administrator, manage server, etc.
20 replies
DIAdiscord.js - Imagine an app
Created by Bark on 2/24/2024 in #djs-questions
Member Guild Permissions via API
well now im curious as to how I'm supposed to get a member's overall permissions via api
20 replies
DIAdiscord.js - Imagine an app
Created by Bark on 2/24/2024 in #djs-questions
Member Guild Permissions via API
didnt see the subtype makes more sense now that I look at how it's split up
20 replies
DIAdiscord.js - Imagine an app
Created by Bark on 2/24/2024 in #djs-questions
Member Guild Permissions via API
discord's official documentation has permissions as optional mostly curious why the discord-api-types package has absolutely no optional values in it
20 replies
DIAdiscord.js - Imagine an app
Created by Bark on 2/24/2024 in #djs-questions
Member Guild Permissions via API
No description
20 replies
DIAdiscord.js - Imagine an app
Created by Bark on 2/24/2024 in #djs-questions
Member Guild Permissions via API
this is a discordjs maintained package so im hoping some people are versed on it
20 replies