Update Settings.ts

This commit is contained in:
Slara 2025-07-28 17:14:12 +02:00 • committed by GitHub
parent f392d2dc8a
commit ac9dfe4807
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,55 +1,53 @@
import { React } from "@vendetta/metro/common";
import { Forms } from "@vendetta/ui/components";
const { FormSection, FormRow, FormText, FormSwitchRow } = Forms;
const { FormSection, FormRow, FormText } = Forms;
export default () => {
return (
<FormSection title="🎵 Rickroll Plugin Settings">
<FormRow
label="How to use"
trailing={FormRow.Arrow}
>
<FormText>
Type "/rick" or "/rickroll" in any channel! Your message becomes rickroll text and YOU hear the sound locally.
</FormText>
</FormRow>
<FormRow
label="Features"
trailing={FormRow.Arrow}
>
<FormText>
• Plays audio locally (only you hear it){'\n'}
• Replaces your message with rickroll text{'\n'}
• Works in any Discord channel{'\n'}
• Multiple backup audio sources{'\n'}
• Fallback beep sound if audio fails
</FormText>
</FormRow>
<FormRow
label="Pro Tips"
trailing={FormRow.Arrow}
>
<FormText>
• Use "/rick" for a quick rickroll{'\n'}
• Perfect for pranking friends{'\n'}
• The element of surprise is key!{'\n'}
• Great for lightening the mood{'\n'}
• Rick Astley would be proud 🕺
</FormText>
</FormRow>
<FormRow
label="Warning"
trailing={FormRow.Arrow}
>
<FormText style={{color: '#ff6b6b'}}>
Use responsibly! Don't spam rickrolls or your friends might get annoyed.
Remember: with great power comes great ricksponsibility! 🎵
</FormText>
</FormRow>
</FormSection>
export default function Settings() {
return React.createElement(FormSection, { title: "🎵 Rickroll Plugin Settings" },
React.createElement(FormRow, {
label: "How to use",
trailing: FormRow.Arrow
},
React.createElement(FormText, null,
"Type \"/rick\" or \"/rickroll\" in any channel! Your message becomes rickroll text and YOU hear the sound locally."
)
),
React.createElement(FormRow, {
label: "Features",
trailing: FormRow.Arrow
},
React.createElement(FormText, null,
"• Plays audio locally (only you hear it)\n" +
"• Replaces your message with rickroll text\n" +
"• Works in any Discord channel\n" +
"• Multiple backup audio sources\n" +
"• Fallback beep sound if audio fails"
)
),
React.createElement(FormRow, {
label: "Pro Tips",
trailing: FormRow.Arrow
},
React.createElement(FormText, null,
"• Use \"/rick\" for a quick rickroll\n" +
"• Perfect for pranking friends\n" +
"• The element of surprise is key!\n" +
"• Great for lightening the mood\n" +
"• Rick Astley would be proud 🕺"
)
),
React.createElement(FormRow, {
label: "Warning",
trailing: FormRow.Arrow
},
React.createElement(FormText, { style: { color: '#ff6b6b' } },
"Use responsibly! Don't spam rickrolls or your friends might get annoyed. " +
"Remember: with great power comes great ricksponsibility! 🎵"
)
)
);
};
}