Formatting changes + Update version to 1.0.0

This commit is contained in:
2025-05-11 22:49:14 -05:00
parent e728666332
commit 27c72c53eb
12 changed files with 3372 additions and 149 deletions

View File

@@ -1,36 +1,43 @@
const { EmbedBuilder, MessageFlags, SlashCommandBuilder } = require('discord.js');
const {
EmbedBuilder,
MessageFlags,
SlashCommandBuilder,
} = require("discord.js");
module.exports = {
data: new SlashCommandBuilder()
.setName('help')
.setDescription('Show the help page'),
.setName("help")
.setDescription("Show the help page"),
async execute(interaction) {
const embed = new EmbedBuilder()
.setTitle("O-Bot Help")
.setDescription("Type `/` to view a list of commands.")
.addFields(
{
name: "Commands",
value: "`/pi`: Make O-Bot say something in text chat\n\n`/voice [type]`: Make O-Bot join the voice channel you're currently in and speak. `type` can be `Normal`, `Alt`, `JP`, or `JP Alt`.\nIf left blank, the default is `Normal`.\n\n`/radio`: Enjoy listening to high-quality rips all day long with a 24/7 radio featuring SiIvaGunner's finest! Also available [here](https://radio.gizmo4487.dev).\n\n`/leave`: Disconnect O-Bot from the voice channel\n\n`/help`: Show this page",
inline: false
},
{
name: "YouTube",
value: "[gizmo4487](https://youtube.com/@gizmo4487)",
inline: true
},
{
name: "Twitch",
value: "[notengonombreusario](https://twitch.tv/notengonombreusario)",
inline: true
},
)
.setColor("#ffe511")
.setFooter({
text: "Created by gizmo4487",
iconURL: "https://gizmo4487.dev/O.jpg",
});
.setTitle("O-Bot Help")
.setDescription("Type `/` to view a list of commands.")
.addFields(
{
name: "Commands",
value: "`/pi`: Make O-Bot say something in text chat\n\n`/voice [type]`: Make O-Bot join the voice channel you're currently in and speak. `type` can be `Normal`, `Alt`, `JP`, or `JP Alt`.\nIf left blank, the default is `Normal`.\n\n`/radio`: Enjoy listening to high-quality rips all day long with a 24/7 radio featuring SiIvaGunner's finest! Also available [here](https://radio.gizmo4487.dev).\n\n`/leave`: Disconnect O-Bot from the voice channel\n\n`/help`: Show this page",
inline: false,
},
{
name: "YouTube",
value: "[gizmo4487](https://youtube.com/@gizmo4487)",
inline: true,
},
{
name: "Twitch",
value: "[notengonombreusario](https://twitch.tv/notengonombreusario)",
inline: true,
}
)
.setColor("#ffe511")
.setFooter({
text: "Created by gizmo4487",
iconURL: "https://gizmo4487.dev/O.jpg",
});
await interaction.reply({ embeds: [embed], flags: MessageFlags.Ephemeral });
await interaction.reply({
embeds: [embed],
flags: MessageFlags.Ephemeral,
});
},
};

View File

@@ -1,10 +1,10 @@
const { SlashCommandBuilder } = require('discord.js');
const { SlashCommandBuilder } = require("discord.js");
module.exports = {
data: new SlashCommandBuilder()
.setName('pi')
.setDescription('Make O-Bot say something'),
.setName("pi")
.setDescription("Make O-Bot say something"),
async execute(interaction) {
await interaction.reply('Pipi? Pipi-pipipipipi!');
await interaction.reply("Pipi? Pipi-pipipipipi!");
},
};