An discord-bot written in golang.

discord-bot

I wanted to experiment controlling my "smart" lights at home with a chat bot interface.

Originally wanted to use Google Chat for this task (as I've created a bot previously). Looks like Google Chat using Gmail does not support bots yet!

I'm very impressed with the API that Discord has created for bots, it's so well thought out.

Followed this tutorial / inspiration from https://dev.to/aurelievache/learning-go-by-examples-part-4-create-a-bot-for-discord-in-go-43cf.

Things to tidy up

  • Clean up error handling.
  • Clean up signal handling.
  • Clean up use of fmt.Sprintf(), I'm sure this is asking for it.
  • Figure out a clever way of allowing people other than adminUsername to interact with bot.
  • Figure out how to abstract the hardcoded lights(), and support other devices.
Similar Resources

A bot based on Telegram Bot API written in Golang allows users to download public Instagram photos, videos, and albums without receiving the user's credentials.

InstagramRobot InstagramRobot is a bot based on Telegram Bot API written in Golang that allows users to download public Instagram photos, videos, and

Dec 16, 2021

Discord-dl: a tool to archive discord channels

discord-dl discord-dl is a tool to archive discord channels. I think it's safe t

May 18, 2022

Discord-notif - Send notifications to discord in Your pipelines or scripts

Discord-notif - Send notifications to discord in Your pipelines or scripts

discord-notif Send notifications to discord in Your pipelines or scripts install

Dec 15, 2022

Discord-finder - The back-end for retrieving information about people on discord

Discord-finder - The back-end for retrieving information about people on discord

About This is the backend application for Discord Finder, it allows you to retrive information about people on discord just like the discord lookup we

Jan 4, 2022

Wipe-discord - TUI application to erase Discord messages

Wipe-discord - TUI application to erase Discord messages

wipe-discord Terminal user interface (TUI) application to delete Discord message

Aug 21, 2022

Bot para o discord escrito em Golang durante o workshop ministrado na Codecon 2021

Codecon Bot Bot para o discord escrito em Golang durante o workshop ministrado na Codecon 2021 Primeiramente no arquivo main.go coloque o TOKEN do bot

Oct 4, 2021

Discord Bot in Golang

Discord Bot in Golang

Discord Bot in Golang. In this we will be creating a simple discord bot which retur **pong** when we type **ping** . For this you have to be admin of

Dec 19, 2022

A REALLY crappy discord bot with golang

DiscordTubeFeeder This is some shitty discord bot that looks at a youtube xml fe

Dec 18, 2021

Wordle Discord Bot With Golang

Wordle Discord Bot Early on in my Golang journey, a curious little game called W

Feb 5, 2022
A simple Discord bot developed for the Bedrock Gophers discord server.

Bedrock Gopher A simple Discord bot developed for the Bedrock Gophers discord server. Click here to invite the bot to your guild. You will also need t

Mar 12, 2022
Feline-bot - Feline Bot for Discord using Golang

Feline Bot for Discord Development This bot is implemented using Golang. Feature

Feb 10, 2022
Bot-template - A simple bot template for creating a bot which includes a config, postgresql database

bot-template This is a simple bot template for creating a bot which includes a c

Sep 9, 2022
An easy-to-use discord bot template written in golang using discordgo

Discord Bot An easy-to-use discord bot template written in golang using discordgo. This template was written for learning golang. It will be updated a

Oct 30, 2021
Discord Bot written in Go. Created for 'Intro to Golang', Fall 21

goDiscordBot Discord Bot written in Go. Created for 'Intro to Golang', Fall 21 Session where we coded the bot (goes over setup steps): https://gdsc.co

Nov 3, 2021
An discord-bot written in golang.

discord-bot I wanted to experiment controlling my "smart" lights at home with a chat bot interface. Originally wanted to use Google Chat for this task

Jan 7, 2022
An easy-to-use discord bot written in go

Discord Bot An easy-to-use discord bot template written in golang using discordgo. This template was written for learning golang. It will be updated a

Jan 23, 2022
A Discord Bot written in Go. Provides some fun commands and utility.

asuka About Asuka is a project to finally learn Golang and get comfortable with the language while exploring many different concepts in programming. A

Jan 7, 2022
A Discord bot written with love.

Nabot A Discord bot written with love. Table of contents Nabot Table of contents Getting started Download Run With Docker Authors License Getting star

Dec 28, 2021
Diswordle - A Discord Wordle bot written in Go

discordle A Discord Wordle bot written in Go. Uses my own Go package, wordle. In

Nov 7, 2022