Total Lines | 11 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | package cmd |
||
2 | |||
3 | import ( |
||
4 | "github.com/FlameInTheDark/dtbot/api/geoip" |
||
5 | "github.com/FlameInTheDark/dtbot/bot" |
||
6 | ) |
||
7 | |||
8 | // GeoIPCommand handle dice |
||
9 | func GeoIPCommand(ctx bot.Context) { |
||
10 | ctx.MetricsCommand("geoip", "main") |
||
11 | ctx.ReplyEmbed("GeoIP", geoip.GetGeoIP(&ctx)) |
||
12 | } |
||
13 |