Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/pablocorbalann/discordgo-template
- Owner: pablocorbalann
- License: mit
- Created: 2020-12-17T20:30:35.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2020-12-18T08:40:09.000Z (almost 4 years ago)
- Last Synced: 2024-05-18T02:04:01.611Z (6 months ago)
- Topics: dgo, discord-bot-template, discordgo, discorrd-go, go, gollang
- Language: Go
- Homepage: https://github.com/bwmarrin/discordgo
- Size: 4.1 MB
- Stars: 8
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
- awesome-golang-repositories - discordgo-template
README
Name of your bot
### 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)