https://github.com/kyure-a/pttb
Posting Time Table Bot for Discord
https://github.com/kyure-a/pttb
clasp discord-bot gas googleappsscript webhook
Last synced: 3 months ago
JSON representation
Posting Time Table Bot for Discord
- Host: GitHub
- URL: https://github.com/kyure-a/pttb
- Owner: Kyure-A
- License: mit
- Created: 2023-04-27T00:39:39.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2023-05-13T09:35:59.000Z (about 2 years ago)
- Last Synced: 2025-01-11T23:24:36.116Z (5 months ago)
- Topics: clasp, discord-bot, gas, googleappsscript, webhook
- Language: TypeScript
- Homepage:
- Size: 219 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Posting Time Table bot for Discord
## Description
This Discord bot is designed to post an embedded schedule from a schedule registered on a Google Spreadsheet (see example.xlsx) to a channel via webhook.## Demo
## Requirement
- Node.js
- yarn
- Typescript
- Clasp (Command Line Apps Script Projects)## Usage
Please create a .clasp.json file in the following format:
``` json
{
"scriptId": "INSERT YOUR SCRIPT ID",
"rootDir": "./dist/"
}
```
To use this code in a Google Apps Script project after registering the script ID, please execute the following command:``` shell
yarn build
clasp push
```Please create a similar file using the attached example.xlsx as a template, and remember to enter the Webhook URL in the property service when doing so, as it should work.
## License
[GPL 3.0](https://github.com/Kyure-A)## Author
[Kyure-A](https://github.com/Kyure-A)