modified: .env
modified: README.md modified: commands/moderation/moveuser.js modified: handler/index.js modified: index.js modified: package.json commands/moderation/ban.js node_modules/ package-lock.json
This commit is contained in:
78
README.md
78
README.md
@@ -1,19 +1,71 @@
|
||||
# User Friendly Discord BOT - WiP
|
||||
a Discord BOT with User friendly commands, moderation commands and more!
|
||||
# 🤖 User-Friendly Discord Bot
|
||||
|
||||
### It's not 100% finished yet!
|
||||
Welcome to the **User-Friendly Discord Bot**! 🌟
|
||||
|
||||
This bot is designed to enhance your Discord experience with easy-to-use commands, moderation tools, and more! Whether you're managing a community or just want some fun commands, this bot has you covered!
|
||||
|
||||
### ✨ Features
|
||||
- **🛠️ Moderation Commands:** Tools to help manage your server effectively.
|
||||
- **👥 User-Friendly Commands:** Simple and intuitive commands for all users.
|
||||
- **🔔 Custom Notifications:** Set reminders and alerts for important events.
|
||||
- **🎨 Customizable Settings:** Tailor the bot's behavior to fit your server's needs.
|
||||
|
||||
### 💻 Technologies
|
||||
- **Node.js:** The backbone of the bot, providing a robust runtime environment.
|
||||
- **Discord.js:** A powerful library for interacting with the Discord API.
|
||||
- **dotenv:** For managing environment variables securely.
|
||||
- **JavaScript:** The core language for logic and command handling.
|
||||
|
||||
### 🎯 Purpose
|
||||
This project was created to practice coding skills while providing a valuable tool for Discord communities. Feel free to explore, give feedback, or contribute!
|
||||
|
||||
## 🚀 About Me
|
||||
👋 Hi there! I'm Noah Pombas, a 14-year-old aspiring developer and tech enthusiast from Switzerland. My journey into coding began with a curiosity about technology, which quickly evolved into a passion for creating and problem-solving.
|
||||
|
||||
I’m currently diving into various programming languages and tools, with a strong interest in web development and bot creation. I love tackling new challenges and learning something new every day.
|
||||
|
||||
On this GitHub, you'll find a collection of my projects, experiments, and contributions as I continue to grow my skills. Whether it's a web app or a Discord bot, I’m always looking to push my creative boundaries.
|
||||
|
||||
When I'm not coding, you can find me exploring the outdoors, playing video games, or experimenting with new tech gadgets.
|
||||
|
||||
Feel free to check out my projects, provide feedback, or connect with me at [noahpombas.ch](https://noahpombas.ch). I'm excited to be part of the coding community and can't wait to see where this journey takes me!
|
||||
|
||||
🚀 Let’s build something amazing together!
|
||||
|
||||
## 🔗 Links
|
||||
[](https://github.com/noahpombas-dev/User-Friendly-Discord-Bot)
|
||||
|
||||
[](https://noahpombas.ch/)
|
||||
|
||||
## Support
|
||||
Need help? Send an email to [info@noahpombas.ch](mailto:info@noahpombas.ch).
|
||||
|
||||
## License
|
||||
[](https://choosealicense.com/licenses/mit/)
|
||||
|
||||
|
||||
## Instructions
|
||||
- .env
|
||||
- replace yourDiscordBotToken with your Token
|
||||
## FAQ
|
||||
|
||||
<br>
|
||||
#### Does it work without being hosted on a server?
|
||||
No! You will need to run it on your local machine or a server to have it active in your Discord server.
|
||||
|
||||
- handler/index.js
|
||||
- replace yourDiscordServerID with your discord server ID
|
||||
- <b>Important: The Bot needs to be in the server!</b>
|
||||
<br>
|
||||
#### How do I add the bot to my Discord server?
|
||||
To add the bot, you need to generate an invite link using your bot's client ID and the necessary permissions. You can find detailed instructions in the Discord Developer Portal.
|
||||
|
||||
- npm i (download all libraries)
|
||||
- node index.js (to start the bot)
|
||||
#### How can I report issues or request features?
|
||||
You can report issues or suggest features by opening an issue on the GitHub repository. Please provide as much detail as possible!
|
||||
|
||||
#### Is there a way to contribute to the bot?
|
||||
Definitely! Contributions are welcome! Feel free to fork the repository, make changes, and submit a pull request.
|
||||
|
||||
#### What if I encounter bugs?
|
||||
If you find any bugs, please report them on the GitHub issues page. Include steps to reproduce the issue, and I'll do my best to address it.
|
||||
|
||||
#### How often will the bot be updated?
|
||||
Updates will be made regularly as new features are developed and bugs are fixed. Check the repository for the latest changes!
|
||||
|
||||
#### Can I use this bot for multiple servers?
|
||||
Yes! You can run multiple instances of the bot or use it in different servers by adding it to each one separately.
|
||||
|
||||
#### Do I need any programming knowledge to use this bot?
|
||||
Basic understanding of JavaScript and Node.js will help you set up and customize the bot, but the default features are ready to use out of the box.
|
||||
|
||||
@@ -48,21 +48,24 @@ module.exports = {
|
||||
.setColor("Green")
|
||||
.setFooter({ text: `Member moved: ${member.user.username}`, iconURL: member.user.displayAvatarURL() })
|
||||
.setTimestamp()
|
||||
.setURL(`https://discord.com/channels/${interaction.guild.id}/${canalV.id}`)
|
||||
.setTitle("🧹 - Member Moved!")
|
||||
.setThumbnail(interaction.guild.iconURL({ dynamic: true, extension: 'png' }))
|
||||
.setDescription("*✅ - Member moved successfully!*")
|
||||
.setFields(
|
||||
{
|
||||
name: "🎙 - Voice Channel:",
|
||||
value: `*${canalV}*`,
|
||||
value: `*${channel}*`,
|
||||
inline: true
|
||||
},
|
||||
{
|
||||
name: "🆔 - Voice Chanel ID:",
|
||||
value: `*${canalV.id}*`,
|
||||
value: `*${channel.id}*`,
|
||||
inline: true
|
||||
},
|
||||
{
|
||||
name: " ",
|
||||
value: ` `,
|
||||
inline: false
|
||||
},
|
||||
{
|
||||
name: "👤 - Moved Member:",
|
||||
value: `*${member}*`,
|
||||
@@ -78,8 +81,8 @@ module.exports = {
|
||||
await interaction.editReply({ embeds: [embedVoice] })
|
||||
member.voice.setChannel(channel)
|
||||
|
||||
} catch {
|
||||
interaction.editReply({ content: `**Error: Something didn't work...**`, ephemeral: true })
|
||||
} catch (err) {
|
||||
interaction.editReply({ content: `**Error: Something didn't work...** ${err}`, ephemeral: true })
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -54,7 +54,7 @@ const loadSlashCommands = async function (client) {
|
||||
}
|
||||
|
||||
client.on("ready", async () => {
|
||||
await client.guilds.cache.get("yourDiscordServerID").commands.set(slash);
|
||||
await client.guilds.cache.get("serverid").commands.set(slash);
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
2
index.js
2
index.js
@@ -11,4 +11,4 @@ client.slash = new Discord.Collection();
|
||||
handler.loadEvents(client);
|
||||
handler.loadSlashCommands(client);
|
||||
|
||||
client.login(process.env.TOKEN);
|
||||
client.login(process.env.token);
|
||||
|
||||
@@ -12,6 +12,7 @@
|
||||
"@discordjs/voice": "^0.16.1",
|
||||
"chalk": "^4.1.2",
|
||||
"discord.js": "^14.12.1",
|
||||
"dotenv": "^16.4.5"
|
||||
"dotenv": "^16.4.5",
|
||||
"nodemon": "^3.1.7"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user