-
-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: update monorepo root & bot readmes (#381)
* docs: update monorepo root & bot readmes * Update README.md
- Loading branch information
Showing
3 changed files
with
114 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,82 @@ | ||
# Senchabot Discord Bot | ||
|
||
Discord bot written in Go! | ||
|
||
## Getting Started | ||
|
||
Prerequisites | ||
|
||
* Go 1.19 or later | ||
* If you haven't done prerequisites written in [monorepo/README.md](../../README.md), please change into main directory and follow steps there first. | ||
|
||
## Installation | ||
|
||
1. For setting environment variables create a `.env` file based on the example file `env.example` | ||
|
||
```sh | ||
cp env.example .env | ||
``` | ||
|
||
2. Fill the environment variables in the `.env` file | ||
|
||
```sh | ||
# vim or another editor | ||
vim .env | ||
``` | ||
|
||
3. Install the required packages | ||
|
||
```sh | ||
go mod install | ||
``` | ||
|
||
## Usage | ||
|
||
1. You can start the bot by running: | ||
|
||
```sh | ||
go run ./cmd/main | ||
``` | ||
|
||
## Structure | ||
|
||
```bash | ||
. | ||
├── cmd | ||
│ └── main | ||
│ └── main.go | ||
├── Dockerfile | ||
├── documentation | ||
│ ├── feature-list.md | ||
│ ├── README.md | ||
│ └── TR | ||
│ └── README.md | ||
├── env.example | ||
├── fly.toml | ||
├── internal | ||
│ ├── command | ||
│ │ ├── addcmdaliascommand.go | ||
│ │ ├── addcmdcommand.go | ||
│ │ ├── cmdscommand.go | ||
│ │ ├── command.go | ||
│ │ ├── deletecmdaliascommand.go | ||
│ │ ├── deletecmdcommand.go | ||
│ │ ├── deletecommand.go | ||
│ │ ├── helpers | ||
│ │ │ └── helpers.go | ||
│ │ ├── invitecommand.go | ||
│ │ ├── purgecommand.go | ||
│ │ ├── setcommand.go | ||
│ │ └── updatecmdcommand.go | ||
│ └── service | ||
│ ├── event | ||
│ │ └── event.go | ||
│ ├── service.go | ||
│ └── streamer | ||
│ └── streamer.go | ||
└── README.md | ||
``` | ||
|
||
## Contributing | ||
|
||
Contributions are always welcome! Please read the [contribution guidelines](../../CONTRIBUTING.md) first. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters