mirror of
https://github.com/Equicord/Equicord.git
synced 2025-02-24 17:19:00 -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.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(
|
||||
<Button
|
||||
key="vc-dbg"
|
||||
onClick={async () => sendMessage(props.channel.id, { content: await generateDebugInfoMessage() })}
|
||||
>
|
||||
Run /vencord-debug
|
||||
Run /equicord-debug
|
||||
</Button>,
|
||||
<Button
|
||||
key="vc-plg-list"
|
||||
onClick={async () => sendMessage(props.channel.id, { content: generatePluginList() })}
|
||||
>
|
||||
Run /vencord-plugins
|
||||
Run /equicord-plugins
|
||||
</Button>
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue