Commit fe64c25
Fix missing string formatting in "Command not found" output (#1259)
95bb61f 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.1 parent b5561b7 commit fe64c25
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
484 | 484 | | |
485 | 485 | | |
486 | 486 | | |
487 | | - | |
| 487 | + | |
488 | 488 | | |
489 | 489 | | |
490 | 490 | | |
| |||
0 commit comments