Skip to content

csnewcs/GachonNoticeBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

20 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

GachonNoticeBot

ํ•™๊ต ๊ณต์ง€๊ฐ€ ์˜ฌ๋ผ์˜ค๋ฉด ์ž๋™์œผ๋กœ ์ด๋ฅผ ์•Œ๋ ค์ฃผ๋Š” ๋””์Šค์ฝ”๋“œ ๋ด‡


์‚ฌ์šฉ ํŒจํ‚ค์ง€

  • go 1.21.8
  • discordgo 0.28.1
  • goquery 1.9.1

config.json

config.default.json์˜ ์ด๋ฆ„์„ config.json์œผ๋กœ ๋ณ€๊ฒฝํ•ด ์‚ฌ์šฉํ•˜๋ฉด ๋œ๋‹ค.

token: ๋””์Šค์ฝ”๋“œ ๋ด‡ ํ† ํฐ                                        string
isTesting: ์ด ๋ด‡์ด ํ…Œ์ŠคํŠธ ๋ชจ๋“œ์ธ์ง€ ์—ฌ๋ถ€                         bool
testingGuilds: ํ…Œ์ŠคํŠธ ๋ชจ๋“œ์ด๋ฉด ์ปค๋งจ๋“œ๋ฅผ ์ƒ์„ฑํ•  ์„œ๋ฒ„๋“ค ๋ชฉ๋ก       string[P]
sendMessageChannels: ๋ฉ”์„ธ์ง€๋ฅผ ๋ณด๋‚ผ ๋””์Šค์ฝ”๋“œ ์ฑ„๋„๋“ค              string[]
lastNotice: ๋งˆ์ง€๋ง‰ ๊ณต์ง€ ๋ฒˆํ˜ธ๋“ค                                 int

์‹คํ–‰

go mod download
go run .

์ƒˆ ๊ณต์ง€ ํŽ˜์ด์ง€ ๋งŒ๋“ค๊ธฐ ๊ฐ€์ด๋“œ๋ผ์ธ

์—ฌ๊ธฐ๋ฅผ ์ฐธ์กฐํ•˜์„ธ์š”

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages