Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/devuuuxd/iris-assistant-template
This repository contains the code for Iris Assistant, an all-in-one Discord bot designed to enhance your server experience. With a wide range of commands and useful features, it aims to provide a seamless and enjoyable Discord environment.
https://github.com/devuuuxd/iris-assistant-template
discord discord-bot discord-js discordbot discordjs discordv14
Last synced: about 2 months ago
JSON representation
This repository contains the code for Iris Assistant, an all-in-one Discord bot designed to enhance your server experience. With a wide range of commands and useful features, it aims to provide a seamless and enjoyable Discord environment.
- Host: GitHub
- URL: https://github.com/devuuuxd/iris-assistant-template
- Owner: devuuuxd
- License: other
- Created: 2023-07-06T07:23:18.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-02-22T03:52:32.000Z (11 months ago)
- Last Synced: 2024-05-17T22:23:38.128Z (8 months ago)
- Topics: discord, discord-bot, discord-js, discordbot, discordjs, discordv14
- Language: JavaScript
- Homepage:
- Size: 23.4 KB
- Stars: 3
- Watchers: 1
- Forks: 7
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# [πΊ Iris Assistant Template](https://discord.com/oauth2/authorize?client_id=1071623957205237771&permissions=8&scope=bot%20applications.commands)
# π€ Make Sure to Add My Bot [πΈIris-Assistant](https://discord.com/oauth2/authorize?client_id=1071623957205237771&permissions=8&scope=bot%20applications.commands) and For More Info join [πDiscord Server](https://discord.gg/QM67YC5CXr)
π This repository contains the code for Iris Assistant, an all-in-one Discord bot designed to enhance your server experience. With a wide range of commands and useful features, it aims to provide a seamless and enjoyable Discord environment.
## β¬ Installation
π€ To use Iris Assistant, please follow these steps:π Clone this repository to your local machine or download the code as a ZIP file.
π» Install the required dependencies by running the following command:
```shell
npm install
```
3. π Create a config.json file in the root directory of the project and fill in the necessary details. The format should be as follows:
```json
{
"token": "Your Token Here",
"mongo": "Your Mongo Uri",
"clientId": "Your Bot Id"
}
```
## π Make sure to replace "Your Token Here", "Your Mongo Uri", and "Your Bot Id" with your actual token, MongoDB URI, and bot ID, respectively.## πββοΈ How to run Bot
π Start the bot by running the following command:
```js
node index.js
or
node .
```
## βοΈ Command FormatβοΈ To create a new command, follow the code format below:
```js
const { SlashCommandBuilder } = require('@discordjs/builders');module.exports = {
data: new SlashCommandBuilder()
.setName('name of command')
.setDescription('description of command'),
async execute(interaction) {
try {
// Functionality of the command goes here
} catch (error) {
console.error('Error while executing command:', error);
}
},
};```
## π§ Replace 'name of command' with the desired name for your command and 'description of command' with a brief description of what the command does. The functionality of the command should be implemented within the execute method.
# π Feedback and Issues
## [If you encounter any issues or have suggestions for improvement, please feel free to open an issue here](https://github.com/DevanshxDop/Iris-Assistant-Template/issues).
# π License
# Β©οΈ This project is licensed under the terms of the [LICENSE](https://github.com/DevanshxDop/Iris-Assistant-template/blob/main/LICENSE) file. For more details, refer to the license file.