mirror of
https://github.com/Vendicated/Vencord
synced 2024-08-26 03:37:47 -04:00
Make vencord-debug usable everywhere if user is pluginDev
This commit is contained in:
parent
05a40445c8
commit
2b565fed25
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue