Cog-Creators / Cog-Creators/Red-DiscordBot
[V3 Alias] F-strings don't work in alias
- Dominant language
- Python
- Stars
- 5.7k
- Forks
- 2.5k
- Avg merge
- 6d 16h
- Merged PRs (30d)
- 1
Description
# Command bugs
#### Command name
`[p]alias global add` (possibly `[p]alias add` too)
#### What cog is this command from?
alias
#### What were you expecting to happen?
The eval to run as normal
#### What actually happened?
It just responds with nothing
#### How can we reproduce this issue?
Create an alias for an eval, make sure that the eval has an f-string in it. Then, try to run the alias.
Contributor guide
Research direction
Start by reproducing the problem with the `[p]alias global add` command and an eval containing an f-string, then inspect the alias cog's handling of evals. Done means the alias runs the eval normally when it contains an f-string, with the related alias behavior covered by the project's tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100