Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ksjaay/alita
A Discord.js bot using MongoDB (npm package Mongoose) to create a bot multipurpose
https://github.com/ksjaay/alita
alita bot discord discordjs discordjs-bot easy-to-use games mongoose nodejs
Last synced: 28 days ago
JSON representation
A Discord.js bot using MongoDB (npm package Mongoose) to create a bot multipurpose
- Host: GitHub
- URL: https://github.com/ksjaay/alita
- Owner: KSJaay
- License: gpl-3.0
- Created: 2020-02-15T22:12:40.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2024-01-19T17:49:45.000Z (10 months ago)
- Last Synced: 2024-10-12T02:41:51.827Z (28 days ago)
- Topics: alita, bot, discord, discordjs, discordjs-bot, easy-to-use, games, mongoose, nodejs
- Language: JavaScript
- Homepage:
- Size: 795 KB
- Stars: 143
- Watchers: 4
- Forks: 35
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[![Alita Dark Logo](https://cdn.discordapp.com/attachments/455063175277051934/679113277099474954/banner.PNG)](https://Patreon.com/KSJaay "KSJaay")
# AlitaBot (Another Multi-Purpose Discord Bot)
A simple bot created to show the possibilities of coding using Discord.js API to create features. Will be getting more Advance over time.
## 🚀 Getting Started
Make sure you have the following applications installed and tokens registered before starting:
1. You need to install [Node.js](https://nodejs.org/en/) v16.6.0 or higher and [MongoDB](https://www.mongodb.com/).
2. Clone the repository https://github.com/KSJaay/Alita.git
3. Register for a Discord bot token using this **[Guide](https://discordjs.guide/preparations/setting-up-a-bot-application.html#your-token)**
4. PM2 - Is an optional module### Before starting
Before you start the bot you'll need to change the name of `config.sample.json` to `config.json` and then add your bots token along with the API keys required for some of the features. If you do not want get specific API keys, don't add them to config.json and the command will be automatically disabled.
### Install modules
- Launch an Admin Command Prompt in the Alita directory.
- Make sure `Package.json` is in the file location
- `yarn`
- `yarn start`
- And then enjoy the features Alita offers ❤️## Support
If you have any issues with the code, please open an issue by [clicking here](https://github.com/KSJaay/Alita/issues)
## Current Commands
### Admin
| Name | Description |
| --------------- | ----------------------------------------------------- |
| `Configuration` | Get the current configurations for this server |
| `Goodbye` | When user leaves server send message to channel |
| `Invites` | See dates when users joined the server |
| `Setprefix` | Set the prefix for your servers |
| `Welcome` | When a user joins the server, send message to channel |### Fun
| Name | Description |
| ----------- | ----------------------------------------------------- |
| `Goodbye` | When user leaves server send message to channel |
| `Setprefix` | Set the prefix for your servers |
| `Welcome` | When a user joins the server, send message to channel |### General
| Name | Description |
| ------------ | ----------------------------------------- |
| `Avatar` | Get the link for the users Avatar |
| `Botstats` | Get the current stats of the bot |
| `Calculator` | Do basic calculations |
| `Github` | Get information about a Github repository |
| `Help` | Get the list of commands Alita offers |
| `Ping` | Displays the current API latency |
| `Roles` | Get a list of all the roles |
| `Serverinfo` | Get information about the server |
| `Userinfo` | Get information about a user |### Images
| Name | Description |
| ----- | ----------------------- |
| `Dog` | Get cute images of dogs |### Statistics
| Name | Description |
| ----------- | -------------------------------------- |
| `Instagram` | Get statistics about Instagram account |## Ideas and Commands
**Name:** The name of the command
**Progress:**- ❌: Not started yet
- 🕓: Work in progress
- ✔: Finished
- 💯: Prioritising before everything else| Command | Description | Category | Status |
| ------------- | -------------------------------------------- | ----------------------- | ------ |
| `addcommand` | Add a custom command to the server | Admin | ❌ |
| `addemoji` | Add an emoji to the server | Admin | ❌ |
| `blacklist` | Blacklist a user from the bot | Admin | ❌ |
| `delcommand` | Delete a custom command | Admin | ❌ |
| `setlogs` | Set the logs channel for the bot | Admin | ❌ |
| `ban` | Ban a user from the server | Admin | ❌ |
| `kick` | Kick a user from the server | Admin | ❌ |
| `warn` | Warn a user | Admin | ❌ |
| `mute` | Mute a user | Admin | ❌ |
| `warnings` | Get a list of warnings for a user | Admin | ❌ |
| `clear` | Clear messages from a channel | Admin | ❌ |
| `unmute` | Unmute a user | Admin | ❌ |
| `unban` | Unban a user | Admin | ❌ |
| `currentbans` | Get a list of current bans | Admin | ❌ |
| `rps` | Play rock paper scissors | Games | ❌ |
| `fortnite` | Get statistics about a Fortnite account | Game statistics | ❌ |
| `apex` | Get statistics about a Apex Legends account | Game statistics | ❌ |
| `rainbow` | Get statistics about a Rainbow Six account | Game statistics | ❌ |
| `valorant` | Get statistics about a Valorant account | Game statistics | ❌ |
| `rocket` | Get statistics about a Rocket League account | Game statistics | ❌ |
| `cod` | Get statistics about a Call of Duty account | Game statistics | ❌ |
| `minecraft` | Get statistics about a Minecraft account | Game statistics | ❌ |
| `twitch` | Get statistics about a Twitch account | Social media statistics | ❌ |
| `twitter` | Get statistics about a Twitter account | Social media statistics | ❌ |
| `youtube` | Get statistics about a Youtube account | Social media statistics | ❌ |