Updated Readme for a slight issue with Sodium on Windows. Also Changed a Note in Index.js

This commit is contained in:
MoSiren 2024-06-11 23:12:22 +00:00
parent 5e6a4388bb
commit cb5ac958a3
2 changed files with 3 additions and 1 deletions

View file

@ -3,6 +3,8 @@
## Warning
This is SUPER tossed together. Might bother cleaning it up later.
Also If you run this on Windows for Debugging, Sodium might have a few issues installing with MSVS for certain users.
## What is this?
This is meant to be a public Discord bot. It connects via XMPP to Weather.IM and allows server owners to subscribe a channel to any number of weather alerts.

View file

@ -1037,7 +1037,7 @@ discord.on("interactionCreate", async (interaction) => {
}
break;
case "leave": // Leave broadcastify stream
case "leave": // Leaves Channel
if (!interaction.inGuild()) return interaction.reply({ content: "This command can only be used in a guild", ephemeral: true });
channel = interaction.member.voice.channel;
if (!channel) return interaction.reply({ content: "You need to be in a voice channel", ephemeral: true });