Coder Social home page Coder Social logo

fullstack-news-discord-bot's Introduction

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.