Total Lines | 11 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | package cmd |
||
2 | |||
3 | import ( |
||
4 | "github.com/FlameInTheDark/dtbot/api/news" |
||
5 | "github.com/FlameInTheDark/dtbot/bot" |
||
6 | ) |
||
7 | |||
8 | // NewsCommand News handler |
||
9 | func NewsCommand(ctx bot.Context) { |
||
10 | ctx.MetricsCommand("news", "main") |
||
11 | _ = news.GetNews(&ctx) |
||
12 | } |
||
13 |