dolfies / discord.py-self

A fork of the popular discord.py for user accounts.
https://discordpy-self.rtfd.io/en/latest/
MIT License
648 stars 153 forks source link

Slash Commands With Arguments Are Not Sent #695

Open 22Black22 opened 1 month ago

22Black22 commented 1 month ago

Summary

Slash Commands With Arguments Are Not Sent

Reproduction Steps

for example this timeout command. await child.call(channel=channel, user=user). i have tried with several different commands and the user had the appropriate permissions and it works as a user

Code

async for command in channel.slash_commands(query="timeout"):
            if command.name == "untimeout":
                break
            print(f"command: {command}")
            user = client.get_user(userid)

            command = await command.__call__(channel=channel, user=user)

Expected Results

the command in sent and executed in the channel

Actual Results

no output of the user running the command in the channel

System Information

Checklist

Additional Information

No response