• 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
core.py 29.5 KB