| Slash Command | Inputs | Usage |
|---|---|---|
/quote |
content, author | Saves a quote manually using user input |
/quotelink |
message link | Saves a quote using a link provided |
/deleteone |
id | Deletes a single quote |
/deleteall |
Deletes all server quotes | |
/searchauthor |
author | Searches for and returns all quotes said by a specific author |
/searchid |
id | Searches for and returns a quote with specified id |
/searchphrase |
phrase | Searches for and returns a set of quotes with a specific phrase |
/listall |
Lists all of the server quotes | |
/inspire |
Displays an inspirational image with a quote | |
/exportcsv |
Exports all server quotes as a csv file |
There is also a context menu command. Right click the message you want to quote, go to apps, and press 'quote this'
- Discord.js v14.12.1: Facilitates the bot's interaction with the Discord API.
- Node.js v20.4.0: Provides the backend runtime environment for the bot.
- MongoDB v5.7.0: Utilized for quote storage and retrieval.
This tutorial is specifically for contributing to the Quote Bot project and not for self-deployment of the bot. Hosting the bot yourself is not supported.
While I'm the sole maintainer of this Quote Bot, if you want to suggest any changes or improvements, here's how:
- Visit the Quote Bot repository.
- Click the "Fork" button in the top right corner of the repository page.
- This will create a copy of the repository under your GitHub account.
- Go to your forked repository on GitHub.
- Click the "Code" button and copy the repository URL.
- Open your terminal or command prompt.
- Navigate to the directory where you want to clone the repository.
- Run the following command to clone your fork:
git clone <repository-url>
- Create a new branch for your changes:
git checkout -b <your-feature-branch> - Make necessary changes to the code.
- Commit your changes:
git commit -m "Your commit message"
- Push your changes to your fork:
git push origin your-feature-branch
- Visit your forked repository on GitHub.
- You should see a banner indicating your recent push. Click on "Compare & pull request".
- Fill in the details of your pull request, describing the changes you made.
- Click "Create pull request".
I'll review your pull request and provide feedback if necessary.
This project is licensed under the Apache License 2.0. For the full terms and conditions, please refer to the LICENSE file.
Copyright (C) 2023 Katerina Sofroniou
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
