• Jeppe Fihl-Pearson's avatar
    Fix missing string formatting in "Command not found" output (#1259) · fe64c251
    Jeppe Fihl-Pearson authored
    95bb61f0 attempted to switch the string formatting in `unknown_command()` to use
    f-strings instead of string concatenation, but failed to add the `f` prefix to
    the string, meaning the "Did you mean" part of the output when a nonexisting
    command is attempted is outputted literally as:
    
    > Did you mean "{self.bot_config.BOT_PREFIX}{alternatives}" ?
    
    This fixes that so the variables will be replaced in the string as intended.
    fe64c251
Name
Last commit
Last update
.github Loading commit data...
docs Loading commit data...
errbot Loading commit data...
tests Loading commit data...
tools Loading commit data...
.codeclimate.yml Loading commit data...
.eslintignore Loading commit data...
.eslintrc Loading commit data...
.gitignore Loading commit data...
.travis.yml Loading commit data...
CHANGES-pre-v4.rst Loading commit data...
CHANGES.rst Loading commit data...
COPYING Loading commit data...
MANIFEST.in Loading commit data...
README.rst Loading commit data...
conftest.py Loading commit data...
gplv3-exceptions.txt Loading commit data...
pytest.ini Loading commit data...
requirements.txt Loading commit data...
setup.cfg Loading commit data...
setup.py Loading commit data...
tox.ini Loading commit data...