Skip to content

Commit 8a017ea

Browse files
committed
release reminder added
1 parent cff280e commit 8a017ea

File tree

2 files changed

+13
-14
lines changed

2 files changed

+13
-14
lines changed

gh/client.go

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -13,36 +13,35 @@ import (
1313

1414
// List of github repos for release remind
1515
var reposToRemind = []string{
16-
// Base
17-
"graphql/graphiql",
18-
"graphql/graphql-js",
19-
"graphql/express-graphql",
20-
21-
// Hasura
22-
"hasura/graphql-engine",
23-
"hasura/graphqurl",
24-
2516
// Apollo
2617
"apollographql/apollo-client",
2718
"apollographql/apollo-server",
2819
"apollographql/graphql-tools",
2920
"apollographql/react-apollo",
3021

22+
// Hasura
23+
"hasura/graphql-engine",
24+
"hasura/graphqurl",
25+
3126
// Prisma
3227
"prisma/graphql-playground",
3328
"prisma/graphql-yoga",
3429
"prisma/prisma",
3530

36-
// Other
37-
"Akryum/vue-apollo",
38-
"graphile/postgraphile",
39-
4031
// Python
4132
"graphql-python/graphene",
4233
"graphql-python/graphene-django",
4334

4435
// Ruby
4536
"rmosolgo/graphql-ruby",
37+
38+
// Other
39+
"graphile/postgraphile",
40+
"graphql/graphiql",
41+
"graphql/graphql-js",
42+
"graphql/express-graphql",
43+
"Akryum/vue-apollo",
44+
"graphql-ru/bot",
4645
}
4746

4847
// Client provides basic features

main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ func main() {
2424
tgClient.Use(handlers.Commands)
2525
tgClient.Use(handlers.Join)
2626

27-
ghClient.ReminderTicker(5*time.Second, func(msg string) {
27+
ghClient.ReminderTicker(1*time.Hour, func(msg string) {
2828
telegram.ToAdmins(tgClient.Bot, msg)
2929
})
3030

0 commit comments

Comments
 (0)