Browse Source

updated readme and auto-config

main
Michael (Parker) Parker 3 years ago
parent
commit
557696e0bf
  1. 3
      README.md
  2. 2
      configsetup.go
  3. BIN
      images/parkertron_logo.png

3
README.md

@ -1,5 +1,8 @@
# parkertron
![Parkertron Logo](images/parkertron_logo.png){:height="250px" width="250px"}
A simple discord chat bot with a simple configuration. Written using [discordgo](https://github.com/bwmarrin/discordgo).
Requirements:

2
configsetup.go

@ -4,12 +4,14 @@ import (
"fmt"
"os"
"strings"
"time"
"github.com/tcnksm/go-input"
)
// configFilecheck to check if the files exist before starting up.
func configFilecheck() bool {
time.Sleep(5 * time.Second)
if _, err := os.Stat("configs/"); err != nil {
// create configs folder
if os.IsNotExist(err) {

BIN
images/parkertron_logo.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 43 KiB

Loading…
Cancel
Save