mirror of
https://github.com/Equicord/Equicord.git
synced 2025-02-25 01:28:52 -05:00
Fix Buttons
This commit is contained in:
parent
a0cb4624bc
commit
aa37b853f1
1 changed files with 3 additions and 3 deletions
|
@ -292,19 +292,19 @@ export default definePlugin({
|
||||||
}
|
}
|
||||||
|
|
||||||
if (props.channel.id === SUPPORT_CHANNEL_ID) {
|
if (props.channel.id === SUPPORT_CHANNEL_ID) {
|
||||||
if (props.message.content.includes("/vencord-debug") || props.message.content.includes("/vencord-plugins")) {
|
if (props.message.content.includes("/equicord-debug") || props.message.content.includes("/equicord-plugins")) {
|
||||||
buttons.push(
|
buttons.push(
|
||||||
<Button
|
<Button
|
||||||
key="vc-dbg"
|
key="vc-dbg"
|
||||||
onClick={async () => sendMessage(props.channel.id, { content: await generateDebugInfoMessage() })}
|
onClick={async () => sendMessage(props.channel.id, { content: await generateDebugInfoMessage() })}
|
||||||
>
|
>
|
||||||
Run /vencord-debug
|
Run /equicord-debug
|
||||||
</Button>,
|
</Button>,
|
||||||
<Button
|
<Button
|
||||||
key="vc-plg-list"
|
key="vc-plg-list"
|
||||||
onClick={async () => sendMessage(props.channel.id, { content: generatePluginList() })}
|
onClick={async () => sendMessage(props.channel.id, { content: generatePluginList() })}
|
||||||
>
|
>
|
||||||
Run /vencord-plugins
|
Run /equicord-plugins
|
||||||
</Button>
|
</Button>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue