Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nikkoro/uncharted-waters-bot
King's Choice discord bot for Uncharted Waters event. Share ports info fast and easily, upload screenshot and it will automatically update google sheet with values.
https://github.com/nikkoro/uncharted-waters-bot
Last synced: 5 days ago
JSON representation
King's Choice discord bot for Uncharted Waters event. Share ports info fast and easily, upload screenshot and it will automatically update google sheet with values.
- Host: GitHub
- URL: https://github.com/nikkoro/uncharted-waters-bot
- Owner: Nikkoro
- Created: 2023-02-21T20:14:10.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-11-29T01:53:23.000Z (about 1 year ago)
- Last Synced: 2023-11-29T17:36:04.074Z (about 1 year ago)
- Language: JavaScript
- Size: 1.97 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# uncharted-waters-bot
## Requirements
- .env file in base directory ([>click<](#example-env))
- Google account data in json format in base directory ( [>click<](#google-account-data))- config.json in src directory ([>click<](#discord-config))
## Installation
```bash
npm install
```## Usage
```bash
npm run start
npm run start:dev # with nodemon
```## Example env
```bash
DISCORD_TOKEN=your-token
CHANNEL_ID=your-channel-id
GOOGLE_ACCOUNT_DATA=path-to-google-json
GOOGLE_SHEET_ID=your-sheet-id
GOOGLE_SHEET_TITLE=your-sheet-title
```## Google account data
**GOOGLE_ACCOUNT_DATA** is a path to a json file with google account data. See https://developers.google.com/identity/protocols/oauth2/service-account#creatinganaccount
## Discord config
```json
{
"token": "token",
"clientId": "client-id",
"guildId": "guild-id"
}
```