diskord
diskord copied to clipboard
Converters raising attribute error.
Summary
commands.Greedy not working
Reproduction Steps
import diskord
from diskord.ext import commands
class Test(commands.Cog):
def __init__(self, client):
self.client = client
@diskord.application.slash_command()
@diskord.application.option("channels", required = True)
async def test(self, ctx, *, channels : commands.Greedy[diskord.TextChannel]):
pass
def setup(client):
client.add_cog(Test(client))
Minimal Reproducible Code
No response
Expected Results
No error
Actual Results
Gives the error: AttributeError: 'Greedy' object has no attribute '__name__'
Full error: https://pastebin.com/pBRwzjkm
Intents
None
System Information
- Python v3.9.7-final
- diskord v2.6.1-final
- aiohttp v3.7.4.post0
- system info: Linux 4.9.82-perf+ #2 SMP PREEMPT Sat Mar 6 01:27:24 CST 2021
Checklist
- [X] I have searched the open issues for duplicates.
- [X] I have shown the entire traceback, if possible.
- [x] I have removed my token from display, if visible.
Additional Context
No response
hmm i dont think slash commands support commands.Greedy?