Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/pablocorbalann/discordgo-template

🤖 A basic template for creating a Discord Bot in Golang. that includes: A bot example, Github docs, The Golang's GitHub action. GitHub issues templates and much more.
https://github.com/pablocorbalann/discordgo-template

dgo discord-bot-template discordgo discorrd-go go gollang

Last synced: 3 months ago
JSON representation

🤖 A basic template for creating a Discord Bot in Golang. that includes: A bot example, Github docs, The Golang's GitHub action. GitHub issues templates and much more.

Awesome Lists containing this project

README

        

Name of your bot



Logo example

### You can invite the bot to your sevrer using [this](bot-invite-link) link.

##### For contributing to the bot's code, read the [CONTRIBUTING.md](CONTRIBUTING.md) file.

---

### Table of contents
- [Idea](#idea)
- [Commands](#commands)
- [Compiling from source](#compiling-from-source)
- [License](#license)
---

### Idea
**DESCRIPTION OF YOUR BOT**:
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque sit amet consequat magna. Nam malesuada vitae tortor id aliquam. Praesent congue lectus quis neque scelerisque euismod. Pellentesque malesuada diam ut purus facilisis, et ultricies tellus vulputate. Sed a consequat ipsum. Vivamus dui neque, venenatis non dui vitae, mattis pulvinar nisl. Praesent vitae viverra mi.

---

### Commands
All the commands start with the prefix `/`

| Name | Description |
|-------------------|-------------------------------------------|
| hello | Say hello to the bot! |
| ... | ... |
| ... | ... |

---

### Compiling from source
If you want to compile the bot's code to then run it in a local server, you will need:

| Name | Version | Use | Links|
|----------|---------|-----|------|
| Git | v0.9+ | Clonning the repository to your computer | [install](https://git-scm.com/downloads) [docs](https://git-scm.com/doc) |
| Go tool | v0.5.0+ | Building the actual bot as an executable | [install](https://golang.org) [docs](https://golang.org/cmd/go/) |

Then, run open a terminal / cmd and run:
###### Clone the repository
```shell
git clone https://github.com//.git
```

###### Move inside the repository
```shell
cd /bot
```
###### Use the Golang tool to build the code
```shell
go build -o bot
```
###### Execute the code
```shell
./bot -t
```

---

### License

This project is under the [MIT License](LICENSE)