Update user agent #5

Merged
jolheiser merged 1 commits from jolheiser-patch-1 into main 2022-03-08 21:01:29 +00:00
1 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@ type SubReddit struct {
} }
func (r *RedditConfig) UserAgent() string { func (r *RedditConfig) UserAgent() string {
return fmt.Sprintf("%s/%s by /u/%s", r.AppName, r.Version, r.Username) return fmt.Sprintf("go:%s:%s (by /u/%s)", r.AppName, r.Version, r.Username)
} }
func (r *RedditConfig) SubRedditNames() []string { func (r *RedditConfig) SubRedditNames() []string {