#ID of a MP

1 messages · Page 1 of 1 (latest)

edgy hazel
#

Hey 👋 , I love python and discord but I don't know how to have the ID of a mp with a person like the ID of a channel. I'm here because maybe I have to use this API.

low arch
#

What's an MP?

#

All objects in Discord have an ID, therefore, all objects in disnake have an ID.. well, most of them

#

member.id
channel.id
message.id
etc etc

edgy hazel
low arch
#

So you need the id of a private message?

#

errr private channel?

edgy hazel
#

private channel yes

low arch
#

it's still just a channel.id but if the bot isn't part of the channel, you can't really do anything with it

edgy hazel
low arch
#

Can you show some code so I can kinda see what you're trying to do?

#

I honestly have no idea what you're after

edgy hazel
#

ID_salon is the id of the salon, it's in the {}

low arch
#

So you're not even using disnake. You're trying to access directly through the API.

#

Is this for a self bot

edgy hazel
#

I have all my project with discord api but ican change if i can't can do this without disnake

low arch
#

Are you trying to make a self bot

#

A bot that handles your personal DMs

edgy hazel
low arch
#

Against TOS.

#

We will not help you

edgy hazel
#

wath is tos ?

low arch
#

Terms of Service.

#

Discord will ban your account for self botting

edgy hazel
low arch
#

Not illegal, against discord's usage terms

edgy hazel
#

maybe use an other thing for give the result of my bot

low arch
#

I think I'm misunderstanding

#

maybe.

#

Can you explain exactly what you're trying to do

edgy hazel
#

I use the brawl stars api (api of a game i love) for give me in my mp the total of progression I do

#

with this i have my messages in discord and I can do what i want with or just look

low arch
#

So you have a bot that is sending you a DM and not actually handling DMs for you

edgy hazel
#

Yes

edgy hazel