Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# These are supported funding model platforms

patreon: https://patreon.com/alixbot
custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2']
2 changes: 2 additions & 0 deletions .replit
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
language = "nodejs"
run = "node index.js"
1 change: 1 addition & 0 deletions Procfile
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
worker: node index.js
38 changes: 38 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
<img width="150" height="150" align="left" style="float: left; margin: 0 10px 0 0;" alt="Alix-Beta" src="https://is.gd/nb1fp4">

# Alix Beta

[![Run on Repl.it](https://repl.it/badge/github/ayaan1005/Alix-Beta)](https://repl.it/github/ayaan1005/Alix-Beta)
[![](https://img.shields.io/discord/565048515357835264.svg?logo=discord&colorB=7289DA)](https://alix.glitch.me)
[![](https://top.gg/api/widget/status/693846748824862770.svg)](https://top.gg/bot/693846748824862770/vote)
[![](https://img.shields.io/badge/discord.js-v12.0.0--dev-blue.svg?logo=npm)](https://github.com/discordjs)
[![](https://img.shields.io/badge/patreon-donate-orange.svg)](https://www.patreon.com/alixbot)

> This bot is used by more than 70,000+ Discord users and more than 90+ servers.

Alix Beta Is A Open Sourced Discord Bot Can Use In Many Was Like To Make Server Full Moderation Filled, And Fun. Coded With JavaScript [Discord.js](https://discord.js.org) And [Quick.db](https://quickdb.js.org/) Made By [AyaanDEV](https://github.com/ayaan1005/)
<br> Feel free to add a star ⭐ to the repository to promote the project!

## Links

* [Commands List](https://allix.glitch.me/commands)
* [F.A.Q](https://discord.gg/qBbgnxs)
* [Discord](https://alix.glitch.me/community)
* [Github](https://github.com/ayaan1005/Alix-Beta)
* [Dashboard](https://alix.glitch.me/dashboard)
* [Embed Gen](https://alix.glitch.me/embed)

## License

Alix Beta is licensed under the GPL 3.0 license. See the file `LICENSE` for more information. If you plan to use any part of this source code in your own bot, I would be grateful if you would include some form of credit somewhere.

## Security

For secutiry purposes check `SECURITY.md`

## Top.GG

Vote Alix And Have 24h Free Credit Of Premium Usage `SOON!`<br><br>
<a href="https://top.gg/bot/693846748824862770" >
<img src="https://top.gg/api/widget/693846748824862770.svg" alt="Alix" />
</a>
15 changes: 9 additions & 6 deletions botconfig.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
{
"token": "Your Token",
"prefix": "Prefix",
"nodes": [
{ "host": "Host Name", "port": 2333, "password": "Your Pass"}
],
"ownerid": "Owner Id"
"token": "Your Bot Token",
"prefix": "Bot Prefix",
"report_channelid": "Channel ID Where Bug Reports Comes",
"support_server": "Your Bots Support Server",
"main_ownerid": "Your Id",
"extra_ownerid": [
"Owner 1",
"Owner 2"
]
}
19 changes: 0 additions & 19 deletions commands/music/leave.js

This file was deleted.

27 changes: 0 additions & 27 deletions commands/music/nowplaying.js

This file was deleted.

20 changes: 0 additions & 20 deletions commands/music/pause.js

This file was deleted.

74 changes: 0 additions & 74 deletions commands/music/play.js

This file was deleted.

28 changes: 0 additions & 28 deletions commands/music/queue.js

This file was deleted.

20 changes: 0 additions & 20 deletions commands/music/skip.js

This file was deleted.

23 changes: 0 additions & 23 deletions commands/music/volume.js

This file was deleted.

17 changes: 1 addition & 16 deletions events/client/ready.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,6 @@ const { nodes } = require("../../botconfig.json")
module.exports = bot => {
console.log(`${bot.user.username} is online`);

bot.music = new ErelaClient(bot, nodes)
.on("nodeError", console.log)
.on("nodeConnect", () => console.log("Successfully created a new Node."))
.on("queueEnd", player => {
player.textChannel.send("Queue has ended.")
return bot.music.players.destroy(player.guild.id)
})
.on("trackStart", ({textChannel}, {title, duration}) => textChannel.send(`Now playing: **${title}** \`${Utils.formatTime(duration, true)}\``).then(m => m.delete(15000)));

bot.levels = new Map()
.set("none", 0.0)
.set("low", 0.10)
.set("medium", 0.15)
.set("high", 0.25);

let activities = [ `${bot.guilds.size} servers!`, `${bot.channels.size} channels!`, `${bot.users.size} users!` ], i = 0;
setInterval(() => bot.user.setActivity(`!!help | ${activities[i++ % activities.length]}`, { type: "WATCHING" }), 15000)
};
};
4 changes: 2 additions & 2 deletions handlers/command.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ const load = dirs => {
if(pull.config.aliases) pull.config.aliases.forEach(a => bot.aliases.set(a, pull.config.name))
}
}
["miscellaneous", "moderation", "music", "owner", "games", "image", "economy"].forEach(x => load(x))
}
["miscellaneous", "moderation", "owner", "games", "image", "economy"].forEach(x => load(x))
}