Skip to content
This repository has been archived by the owner on Apr 9, 2021. It is now read-only.

Bot gives error when trying to dm a dump #72

Closed
ZachVan opened this issue Feb 8, 2017 · 1 comment
Closed

Bot gives error when trying to dm a dump #72

ZachVan opened this issue Feb 8, 2017 · 1 comment

Comments

@ZachVan
Copy link

ZachVan commented Feb 8, 2017

When you do a ;;dump -q or ;;dump 200 -r the bot respawns with
java.lang.NumberFormatException: For input string: "-q" java.lang.NumberFormatException.forInputString(NumberFormatException.java:65) java.lang.Integer.parseInt(Integer.java:580) java.lang.Integer.valueOf(Integer.java:766) fredboat.command.util.DumpCommand.onInvoke(DumpCommand.java:53) fredboat.commandmeta.CommandManager.prefixCalled(CommandManager.java:105)

@freyacodes
Copy link
Owner

It seems you are using the command wrong. Proper usage:

;;dump 150
;;dump -q 150

You can't do this:

;;dump 150 -r
;;dump -q```

Last argument expected should be a number. `-r` has never been an option.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants