Skip to content

Conversation

@Vogel612
Copy link
Collaborator

@Vogel612 Vogel612 commented Dec 9, 2014

fixes #23 and also references #9 in a way.

Vogel612 and others added 7 commits December 22, 2014 13:18
…eir declarations where possible, also created a help-command and renamed the old help to about

fixes #23
…against Errors when executing commands, improved help-command to return properly when invoked without parameters, Cleaned up replying and failure-information in eval-command
…ing simple responses upon certain conditions
Marked old CommandHandle.Builder constructor as Deprecated and removed all calls to it.
Adjusted CommandCalling procedure to properly call commands by their names. Commands are now responsible for incorrect input.
Commandname matching is case-insensitive for now.
Also disallowed overriding enqueueMessage functionality for Bots, to guarantee functionality
 - Extracted simple commands to a CoreBotCommands utility class
 - set more focus on Constructor of Program to allow better granulation of startup process
 - completely removed ScriptRunner from Program's responsibility
Moved the already existing preset static command-provider classes into commands.sets package for centralized organization
- ChatInterface now extends AutoCloseable, having a default-method for backwards compatibility
- StackExchangeChat now overrides AutoCloseable#close
- Deprecated CommandHandle.Builder constructor is now unused, warning is suppressed
- ChatCommands now follow new Builder syntax
- ScriptRunnerCommands now follow new Builder syntax
- PrintUtilTest no more prints to System.out
- Minor javadoc changes
- Rolled back space vs. tab padding change in DefaultBot
- Program no longer holds an instance of scriptRunner
@Vogel612
Copy link
Collaborator Author

Vogel612 commented Jan 9, 2015

Vogel612 added a commit that referenced this pull request Jan 9, 2015
Chat handle changes:

- Deprecated Predicate
- Calling commands by name now
- ChatInterface is now AutoCloseable
- Created Bot to interact upon Predicate<String>
- Refactorings to Program and preset ChatHandles
@Vogel612 Vogel612 merged commit 134a8f4 into Unihedro:master Jan 9, 2015
@Vogel612 Vogel612 deleted the 23_ChatHandleChanges branch January 9, 2015 09:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Make Commands return a String

1 participant