diff --git a/commands.go b/commands.go index 5f62d7c..65ca2b0 100644 --- a/commands.go +++ b/commands.go @@ -75,6 +75,10 @@ var cmdLoginToken = &commands.FullHandler{ } func fnLoginToken(ce *WrappedCommandEvent) { + if len(ce.Args) == 0 { + ce.Reply("**Usage**: `$cmdprefix login-token `") + return + } ce.MarkRead() defer ce.Redact() if ce.User.IsLoggedIn() {