Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/minagishl/discord-bot-archive
Save messages sent to a specific channel on the server to a file
https://github.com/minagishl/discord-bot-archive
Last synced: 16 days ago
JSON representation
Save messages sent to a specific channel on the server to a file
- Host: GitHub
- URL: https://github.com/minagishl/discord-bot-archive
- Owner: minagishl
- License: mit
- Created: 2024-12-05T05:48:51.000Z (about 1 month ago)
- Default Branch: main
- Last Pushed: 2024-12-12T19:08:38.000Z (23 days ago)
- Last Synced: 2024-12-12T19:24:51.612Z (23 days ago)
- Language: TypeScript
- Size: 105 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Discord Bot Archive
Saves a message for a specified channel using the slash command
## Features
- **TypeScript**: Strongly typed language for building robust applications.
- **ESLint**: Linting tool for identifying and fixing problems in the code.
- **Prettier**: Code formatter to ensure a consistent style.
- **Vitest**: Testing framework for ensuring code quality.
- **Docker**: Containerization for easy deployment.## Getting Started
### Prerequisites
- Node.js
- Yarn### Installation
1. Clone the repository:
```sh
git clone https://github.com/minagishl/discord-bot-archive.git
cd discord-bot-archive
```2. Install dependencies:
```sh
yarn install
```### Usage
1. Create a `.env` file in the root directory and add your Discord bot token:
```env
DISCORD_TOKEN=your-token-here
```2. Start the bot:
```sh
yarn start
```## Scripts
- `yarn start`: Starts the bot.
- `yarn lint`: Lints the code.
- `yarn format`: Formats the code.
- `yarn test`: Runs tests.## Project Structure
- `src/`: Source code of the bot.
- `scripts/`: Scripts for managing the project.
- `tests/`: Unit and integration tests.## Contributing
1. Fork the repository.
2. Create your feature branch:
```sh
git checkout -b feature/your-feature
```
3. Commit your changes:
```sh
git commit -m 'Add some feature'
```
4. Push to the branch:
```sh
git push origin feature/your-feature
```
5. Open a pull request.## License
This project is licensed under the MIT License. See the [LICENSE](./LICENSE) file for details.
## Acknowledgments
- Inspired by the community and contributors of TypeScript and Discord.js.
---
For more information, visit the [repository](https://github.com/minagishl/discord-bot-archive).