#Don't you drive the message

1 messages · Page 1 of 1 (latest)

sage mauve
#

Does not output a message, please help me what to do

unborn tendon
#

what?

sage mauve
#

help please

unborn tendon
#

I dont understand you question

#

add " and comma ,

sage mauve
#

I'm trying to make this command output as a message, but it doesn't work, please help bro

unborn tendon
#

add self as first arg

sacred tapir
unborn tendon
#

async def pp(self, inter)

unborn tendon
sacred tapir
#

no images containing only text pleaes

sacred tapir
unborn tendon
#

that's ur problem, kek

sage mauve
#

sorry

sacred tapir
unborn tendon
sacred tapir
sage mauve
#

But I saw that others have photos

sacred tapir
sage mauve
#

not

unborn tendon
sage mauve
#

No, I didn't understand much, maybe I'll send you this code and you edit it?

sage mauve
#

I mean

sage mauve
sacred tapir
#

you post it here

sage mauve
#

But the person is not yet a rock by the type of ok

sage mauve
compact mason
#

Few things wrong here...

Missing commas in kwargs
Two responses
Missing self as first arg

Might be there, but no setup function in the ss.

sage mauve
#

Of course, thank you for your help, but I don't understand you much by the type of where and what needs to be added.

#

@unborn tendon @compact mason sorry for the ping, but can you tell me again what exactly needs to be fixed there

unborn tendon
#

I said

unborn tendon
sage mauve
#

well, can I please tell you in more detail

unborn tendon
#

I think you don't know python basic

sage mauve
#

Yes it is, I am studying it for this I asked for help

unborn tendon
#

I think you just copy pasted the code from somewhere

compact mason
#

^

#

Out here trying to build a bird house, but haven't learned how to use a hammer or read the instructions.

sage mauve
sage mauve
#

That's if that's the code

#

@commands.slash_command(description="Multiplies the number by 7")
async def ppp(inter, name=None, time=None, prize1=None, prize2=None):
await inter.response.send_message(name=name, time=time, prize1=prize1, prize2=prize2)
await inter.response.send_message(
embed=disnake.Embed(
title="Events",
description=f"{name}, {time}, {prize1}, {prize2}",
colour=0xF0C43F,
)
)

unborn tendon
#

Add self pls

sage mauve
#

it's like

unborn tendon
sage mauve
unborn tendon
#

Wut

sage mauve
#

this is where

compact mason
#

send_message does not take an unlimited amount of args

#

-d InteractionResponse.send_message

loud wingBOT
#

await send_message(content=None, *, embed=..., embeds=..., file=..., files=..., allowed_mentions=..., view=..., components=..., tts=False, ephemeral=..., suppress_embeds=..., flags=..., delete_after=...)```
This function is a [*coroutine*](https://docs.python.org/3/library/asyncio-task.html#coroutine).

Responds to this interaction by sending a message.
sage mauve
#

Yes, I'm not an American or an Englishman, I'm Russian, I can't find out exactly what you wrote, so I'm asking you to just change the code

unborn tendon
#

We won't write code for you

sage mauve
#

I understand, but I ask you to correct this I do not understand

#

Just tell me what's wrong there exactly the line where you need to change and what needs to be done there

sage mauve
#

Oh finally thank you because my stupid friend threw off your ds server