| 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 | // DiceCommand handle dice |
||
|
|
|||
| 9 | func GeoIPCommand(ctx bot.Context) { |
||
| 10 | ctx.MetricsCommand("geoip") |
||
| 11 | ctx.ReplyEmbed("GeoIP", geoip.GetGeoIP(&ctx)) |
||
| 12 | } |