https://github.com/kyure-a/mhnb
Managing Homework and Notifying Bot for Discord
https://github.com/kyure-a/mhnb
discord-bot discord-js glitch googleappsscript
Last synced: 11 months ago
JSON representation
Managing Homework and Notifying Bot for Discord
- Host: GitHub
- URL: https://github.com/kyure-a/mhnb
- Owner: Kyure-A
- License: mit
- Created: 2023-04-27T11:44:04.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2023-08-05T17:01:08.000Z (over 2 years ago)
- Last Synced: 2025-01-11T23:24:36.411Z (about 1 year ago)
- Topics: discord-bot, discord-js, glitch, googleappsscript
- Language: TypeScript
- Homepage:
- Size: 11.4 MB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Maneging Homework and Notifying Bot for Discord
## Description
This Discord Bot is designed to manage homework assignments on the class Discord server.
## Demo
### /create


### /list

### /delete

### /edit


## Requirement
- Node.js
- yarn
- Typescript
- Clasp (Command Line Apps Script Projects)
- Glitch Application
## Usage
Enter your .clasp.json in /gas in the following format:
``` json
{
"scriptId": "INSERT YOUR SCRIPT ID",
"rootDir": "./dist/"
}
```
## Notes for push
We need to push /glitch to Glitch's Git repo, so we import /glitch as a subtree. Therefore, when you push commits, you need to push them to Glitch in addition to the usual GitHub push.
``` shell
git push origin master
git subtree push --prefix=glitch glitch master
```
The *.js file on the Glitch side is deleted at this time, so execute the following on the Glitch console.
``` shell
tsc
refresh
```
After this, execute the following commands on the PC side (do not mind that useless commits are generated to prevent conflicts)
``` shell
git subtree pull --prefix=glitch --squash glitch master
```