This commit is contained in:
CorwinDev 2022-12-13 13:51:10 +01:00
commit 177f5f08a0
5 changed files with 26 additions and 60 deletions

View file

@ -3,6 +3,7 @@ MONGO_TOKEN=
GIPHY_TOKEN=
WEBHOOK_ID=
WEBHOOK_TOKEN=
DISCORD_ID=
# Not neccessary variables
DISCORD_STATUS="Listening to meself, I'm a stupid bot, https://github.com/corwindev/discord-bot"
@ -12,4 +13,4 @@ SPOTIFY_CLIENT_ID=
SPOTIFY_CLIENT_SECRET=
LAVALINK_HOST=lava.link
LAVALINK_PASSWORD=I'm a secret
LAVALINK_PORT=80
LAVALINK_PORT=80

View file

@ -1,47 +1,22 @@
# Discord-Bot
Discord bot with over 400 commands.
## 🤖 Discord bot with over 400 commands.
This contains: Moderation, Music, Economy and much more!
Discord: https://discord.gg/qHXxpQKC2H
![image](https://user-images.githubusercontent.com/88144943/207117434-d98356b1-bf19-418e-9e12-0ef83e0d9a21.png)
## ⚒️ Requirements
- Node.JS v17
- FFMPEG
- Discord bot
Don't wanna host it yourself? [Use our public bot!](https://discord.com/api/oauth2/authorize?client_id=1051755231848972328&permissions=8&scope=bot%20applications.commands)
### Replit: https://replit.com/@CorwinDeveloper/Discord-Bot?v=1
### Discord: https://discord.gg/qHXxpQKC2H
| Category |
| ------------- |
| AFK |
| Announcement |
| AutoMod |
| AutoSetup |
| Birthdays |
| Bot |
| Casino |
| Config |
| Custom-Commands |
| Developers |
| Economy |
| Family |
| Fun |
| Games |
| Giveaway |
| Guild |
| Images |
| Invites |
| Levels |
| Messages |
| Moderation |
| Music |
| NotePad |
| Profile |
| Radio |
| ReactionRoles |
| Search |
| Serverstats |
| Setup |
| SoundBoard |
| StickyMessages |
| Suggestions |
| Thanks |
| Tickets |
| Tools |
| Voice |
*You may not claim this as your own!!*
**Copyright to DotwoodMedia and CorwinDev**

View file

@ -24,7 +24,6 @@ module.exports = async (client, interaction, args) => {
thumbnail: client.user.avatarURL({ size: 1024 }),
fields: [{
name: "📢┆Alert!",
value: 'After more than 1 year we decided to stop Bot on April 15th, for more information go to [this server](https://discord.gg/techpoint)',
inline: false,
},
{
@ -54,12 +53,12 @@ module.exports = async (client, interaction, args) => {
},
{
name: "🔧┆Bot owner",
value: `<@!534398298002292739> `,
value: `<@!755297485328482356> `,
inline: true,
},
{
name: "🔧┆Bot developer",
value: `<@!402893517749354516>`,
value: `<@!755297485328482356>`,
inline: true,
},
{
@ -143,4 +142,4 @@ module.exports = async (client, interaction, args) => {
})
}

View file

@ -57,11 +57,7 @@ module.exports = async (client, interaction, args) => {
});
}
else {
<<<<<<< HEAD
const output = new Discord.AttachmentBuilder(Buffer.from(outputResponse), { name: 'output.txt' });
=======
const output = new Discord.MessageAttachment(Buffer.from(outputResponse), 'output.txt');
>>>>>>> d66e109605f85a2a9d710732e8db419070b0f6e8
var embed2 = new Discord.EmbedBuilder()
.setAuthor(client.user.username, client.user.avatarURL())
.addFields(
@ -102,4 +98,4 @@ const clean = text => {
return text;
}

View file

@ -321,13 +321,13 @@ module.exports = async (client, message) => {
new Discord.ButtonBuilder()
.setLabel("Invite")
.setURL(
"https://discord.com/oauth2/authorize?&client_id=798144456528363550&scope=applications.commands+bot&permissions=8"
client.config.discord.botInvite
)
.setStyle(Discord.ButtonStyle.Link),
new Discord.ButtonBuilder()
.setLabel("Support server")
.setURL("https://discord.gg/56FZySQaY7")
.setURL(client.config.discord.serverInvite)
.setStyle(Discord.ButtonStyle.Link)
);
@ -337,11 +337,6 @@ module.exports = async (client, message) => {
title: "Hi, i'm Bot",
desc: `Use with commands via Discord ${client.emotes.normal.slash} commands`,
fields: [
{
name: "📢┆Alert!",
value: 'After more than 1 year we decided to stop Bot on April 15th, for more information go to [this server](https://discord.gg/techpoint)',
inline: false,
},
{
name: "📨┆Invite me",
value: `Invite Bot in your own server! [Click here](${client.config.discord.botInvite})`,
@ -404,15 +399,15 @@ module.exports = async (client, message) => {
if (command) {
let row = new Discord.ActionRowBuilder().addComponents(
new Discord.ButtonBuilder()
.setLabel("Invite")
.setLabel("Invite")
.setURL(
"https://discord.com/oauth2/authorize?&client_id=798144456528363550&scope=applications.commands+bot&permissions=8"
client.config.discord.botInvite
)
.setStyle(Discord.ButtonStyle.Link),
new Discord.ButtonBuilder()
.setLabel("Support server")
.setURL("https://discord.gg/56FZySQaY7")
.setURL(client.config.discord.serverInvite)
.setStyle(Discord.ButtonStyle.Link)
);