Skip to content

Goscord/bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

192adb2 · May 4, 2023

History

78 Commits
May 4, 2023
May 4, 2023
Jan 8, 2023
Apr 7, 2023
Aug 9, 2022
Jan 8, 2023
Feb 3, 2023
Jan 26, 2023
Oct 29, 2022
May 4, 2023
May 4, 2023
Apr 4, 2023

Repository files navigation

Example bot

This is the example bot from Goscord. You can test it on our Discord.

Environment variable

You must create a .env file with the bot token variable (BOT_TOKEN).

Start it

Without Docker

You must have version 1.18 of GoLang installed on your machine. See how to install GoLang.

Then, run this command on your terminal:

go run main.go

With Docker

This bot can also be launched via Docker so you don't need to install Golang on your machine.

To start the bot with docker, here are the commands you need to do:

# Build the docker image:
docker build -t goscord-example .

# Then, run the docker image:
docker run --name goscord-bot -it --rm goscord-example