Categorygithub.com/CDFN/giveaway-golang-bot
repositorypackage
0.0.0-20220112225219-3f789b2a87e4
Repository: https://github.com/cdfn/giveaway-golang-bot.git
Documentation: pkg.go.dev

# README

GoLang Giveaway Bot

This project is maintained (for educational purposes) by 14 yo programmer. I made this bot just for fun, i wanted to learn some aspects of golang, so i decided to make this project. Have fun using and improving it.

To run project u must have:

NameCommand
discordgogo get github.com/bwmarrin/discordgo
crongo get github.com/robfig/cron
yamlgo get gopkg.in/yaml.v2

you must also config your bot.

  1. Rename config.yml.default to config.yml
  2. Set prefix to your prefix. Default value: !
  3. Set giveawayHours to hour, when bot should resolve giveaway. Default value: 18 NOTE! USE VALUES IN 24 HOURS FORMAT
  4. Set giveawayMinutes to minute, when bot should resolve giveaway. Default value: 0
  5. Set giveawaySeconds to second, when bot should resolve giveaway. Default value: 0
  6. Set botToken to your bot's token. See this.

Giveaway will be resolved defaultly at 18:00:00

Please notice that it's pre-pre-alpha version, feel free to commit and improve code ✨

P.S. I don't admit this code xD Its license-free