Alita icon indicating copy to clipboard operation
Alita copied to clipboard

A Discord.js bot using MongoDB (npm package Mongoose) to create a bot multipurpose

Alita Dark Logo

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 v16.6.0 or higher and MongoDB.
  2. Clone the repository https://github.com/KSJaay/Alita.git
  3. Register for a Discord bot token using this Guide
  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
  • npm install
  • npm start index.js
  • And then enjoy the features Alita offers ❤️

Support

If you have any issues with the code, please open an issue by clicking here

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

Admin

  • Addcommand
  • Addemoji
  • Blacklist
  • Delcommand
  • Command
  • Setlogs

Games

  • RPS

Game statistics

  • Fortnite
  • Apex Legends
  • Rainbow Six
  • Valorant
  • Rocket League
  • Call of Duty
  • Minecraft

Moderation

  • Ban
  • Kick
  • Warn
  • Mute
  • Warnings
  • Clear
  • Unmute
  • Unban
  • CurrentBans

Social media Statistics

  • Twitter
  • Youtube