modulepackage
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:
Name | Command |
---|---|
discordgo | go get github.com/bwmarrin/discordgo |
cron | go get github.com/robfig/cron |
yaml | go get gopkg.in/yaml.v2 |
you must also config your bot.
- Rename
config.yml.default
toconfig.yml
- Set
prefix
to your prefix. Default value:!
- Set
giveawayHours
to hour, when bot should resolve giveaway. Default value:18
NOTE! USE VALUES IN 24 HOURS FORMAT - Set
giveawayMinutes
to minute, when bot should resolve giveaway. Default value:0
- Set
giveawaySeconds
to second, when bot should resolve giveaway. Default value:0
- 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
# Variables
Variables used for command line parameters.
Variables used for command line parameters.
Variables used for command line parameters.
Variables used for command line parameters.
Variables used for command line parameters.
Variables used for command line parameters.
Variables used for command line parameters.
Variables used for command line parameters.
Variables used for command line parameters.
Variables used for command line parameters.
# Type aliases
No description provided by the author