fullstack-news-discord-bot
所属分类:自然语言处理
开发工具:GO
文件大小:71KB
下载次数:0
上传日期:2023-04-09 04:48:48
上 传 者:
sh-1993
说明: FullStack新闻的Discord机器人程序
(Discord bot for FullStack-News)
文件列表:
.golangci.yml (14862, 2023-04-09)
Dockerfile (355, 2023-04-09)
Makefile (278, 2023-04-09)
fullStack-news-discord-bot.iml (337, 2023-04-09)
go.mod (793, 2023-04-09)
go.sum (5153, 2023-04-09)
infrastructure (0, 2023-04-09)
infrastructure\Pulumi.dev.yaml (69, 2023-04-09)
infrastructure\Pulumi.yaml (99, 2023-04-09)
infrastructure\index.ts (351, 2023-04-09)
infrastructure\modules (0, 2023-04-09)
infrastructure\modules\lambdas.ts (2662, 2023-04-09)
infrastructure\package-lock.json (162803, 2023-04-09)
infrastructure\package.json (335, 2023-04-09)
infrastructure\tsconfig.json (438, 2023-04-09)
src (0, 2023-04-09)
src\internal (0, 2023-04-09)
src\internal\application (0, 2023-04-09)
src\internal\application\event_application_service.go (1899, 2023-04-09)
src\internal\domain (0, 2023-04-09)
src\internal\domain\event (0, 2023-04-09)
src\internal\domain\event\event.go (630, 2023-04-09)
src\internal\domain\event\event_factory.go (1220, 2023-04-09)
src\internal\domain\event\event_factory_test.go (2410, 2023-04-09)
src\internal\domain\event\event_repository.go (348, 2023-04-09)
src\internal\infrastructure (0, 2023-04-09)
src\internal\infrastructure\discord (0, 2023-04-09)
src\internal\infrastructure\discord\discord_event_repository.go (540, 2023-04-09)
src\internal\infrastructure\discord\ping_pong_bot.go (2012, 2023-04-09)
src\internal\interfaces (0, 2023-04-09)
src\internal\interfaces\rest (0, 2023-04-09)
... ...
GoLang Discord Bot
This GoLang Discord Bot project is designed to help users interact with a Discord server. It uses several dependencies such as aws-lambda-go, discordgo, uuid, wire, testify, and exp.
Getting Started
To get started with this project, follow these steps:
- Clone the repository
- Ensure that all dependencies are installed
- Build and run the code
Prerequisites
- Go v1.13 or later
- Discord server and API key
- AWS account (optional)
Installation
To install the dependencies, run the following command:
``` shell
go mod download
```
Building and Running
To build and run the code, execute the following command:
``` shell
go build -o bot ./main.go
./bot
```
Features
- Moderation of messages
- Responding to certain commands
- Automatic generation of unique user IDs using uuid
- Dependency injection using wire
License
This project is licensed under the MIT License.
Infrastructure
The infrastructure directory contains the necessary files to deploy the GoLang Discord Bot on the AWS cloud platform using Pulumi. It has several dependencies such as aws, aws-native, awsx, command, and pulumi.
Getting Started
To get started with this project, follow these steps:
- Clone the repository
- Ensure that all dependencies are installed
- Configure the AWS account credentials
- Deploy the infrastructure
Prerequisites
- Pulumi v3.0 or later
- AWS account and API key
Installation
To install the dependencies, run the following command:
``` shell
npm install
```
Configuration
To configure the AWS account credentials, run the following command:
``` shell
pulumi config set aws:accessKeyId
pulumi config set aws:secretAccessKey --secret
```
Deployment
To deploy the infrastructure, execute the following command:
``` shell
pulumi up
```
License
This project is licensed under the MIT License.
Contributing
This project is on hold.
近期下载者:
相关文件:
收藏者: