• 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
..
backends Loading commit data...
core_plugins Loading commit data...
rendering Loading commit data...
storage Loading commit data...
templates Loading commit data...
__init__.py Loading commit data...
backend_plugin_manager.py Loading commit data...
bootstrap.py Loading commit data...
botplugin.py Loading commit data...
cli.py Loading commit data...
config-template.py Loading commit data...
core.py Loading commit data...
flow.py Loading commit data...
logs.py Loading commit data...
plugin_info.py Loading commit data...
plugin_manager.py Loading commit data...
plugin_wizard.py Loading commit data...
repo_manager.py Loading commit data...
streaming.py Loading commit data...
templating.py Loading commit data...
utils.py Loading commit data...
version.py Loading commit data...