Make vencord-debug usable everywhere if user is pluginDev

main
Nuckyz 5 months ago
parent 05a40445c8
commit 2b565fed25
No known key found for this signature in database
GPG Key ID: 440BF8296E1C4AD9

@ -65,7 +65,7 @@ export default definePlugin({
commands: [{
name: "vencord-debug",
description: "Send Vencord Debug info",
predicate: ctx => AllowedChannelIds.includes(ctx.channel.id),
predicate: ctx => isPluginDev(UserStore.getCurrentUser()?.id) || AllowedChannelIds.includes(ctx.channel.id),
async execute() {
const { RELEASE_CHANNEL } = window.GLOBAL_ENV;

Loading…
Cancel
Save