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:

  1. Clone the repository
  2. Ensure that all dependencies are installed
  3. 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:
go mod download

Building and Running

To build and run the code, execute the following command:
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:
  1. Clone the repository
  2. Ensure that all dependencies are installed
  3. Configure the AWS account credentials
  4. Deploy the infrastructure

Prerequisites

  • Pulumi v3.0 or later
  • AWS account and API key

Installation

To install the dependencies, run the following command:
npm install

Configuration

To configure the AWS account credentials, run the following command:

pulumi config set aws:accessKeyId <ACCESS_KEY_ID>
pulumi config set aws:secretAccessKey <SECRET_ACCESS_KEY> --secret

Deployment

To deploy the infrastructure, execute the following command:

pulumi up

License

This project is licensed under the MIT License.

Contributing

This project is on hold.