| Conditions | 6 |
| Total Lines | 12 |
| Code Lines | 11 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | package cmd |
||
| 9 | func AlbionCommand(ctx bot.Context) { |
||
| 10 | if len(ctx.Args) > 0 { |
||
| 11 | switch ctx.Args[0] { |
||
| 12 | case "kills": |
||
| 13 | if len(ctx.Args) > 1 { |
||
| 14 | ctx.MetricsCommand("albion", "kills") |
||
| 15 | albion.ShowKills(&ctx) |
||
| 16 | } |
||
| 17 | case "kill": |
||
| 18 | if len(ctx.Args) > 1 { |
||
| 19 | ctx.MetricsCommand("albion", "kill") |
||
| 20 | albion.ShowKill(&ctx) |
||
| 21 | } |
||
| 26 |