S
S
sanek_ek_makorek2020-03-23 12:36:48
Computers
sanek_ek_makorek, 2020-03-23 12:36:48

I can’t create a kick command for a VK bot in python, what should I do?

I don't know what value to specify "member_id"
I want to make the command "removeChatUser" , but python throws an error "vk_api.exceptions.ApiError: [100] One of the parameters specified was missing or invalid: you should specify member_id"
here is the command code:
vk.method("messages.removeChatUser", {"chat_id": chat_id, "user_id": user_id, "random_id": random.randint(1, 2147483647)})
please help

Answer the question

In order to leave comments, you need to log in

6 answer(s)
R
r4khic, 2019-08-28
@r4khic

I think this assembly will not just work, but fly! Only one stone is worth a good price-quality ratio. Cold (low tdp) almost any buzzer will cool it down (provided it is stock)
New fresh architecture at the time of release (AMD's Ryzen line is really happy and creates healthy competition in the market - stagnation)
Just one question, will you use only one SSD as a hard drive? I think you need another hard terabyte

R
Rsa97, 2019-08-28
@Rsa97

Memory is not enough, it is worth taking 32Gb.
Instead of SAMSUNG 860 EVO, you should take SAMSUNG 970 EVO.
Additionally, add a terabyte HDD.

S
smilingcheater, 2019-08-28
@smilingcheater

Why do you need such a powerful CPU cooler with a TDP of 65 watts? AMD is almost not chasing, there is no point in buying a cooler with more than 100 watts.
Why do you take not an NVMe SSD, but an outdated SATA one?
Memory, if the budget allows, it is better to take 32GB.

F
Flafster, 2019-08-28
@Flafster

Cooler, I take this one for the processor, because it is very powerful, and the difference with just a good one is 1k.
Another version from Samsung is really expensive, yes, it is much faster, but compared to a regular ssd in games, there are no advantages in download speed.
In addition to the ssd from the assembly, there is my ssd for the system and a terabyte hard drive.
I consider 32 RAM to be superfluous 6a at the moment a waste. Buying later is not a problem, but for now 93k is already fat ((
I read your reviews, I was generally inspired. I ordered the assembly, there is time to change my mind before Saturday)

W
Welgen, 2019-08-28
@Welgen

The power supply is bad (quality, technology.). Reliable FSP and SEASONIC (of those that are in the citylink.) You need at least one, keep in mind that the video card is voracious. https://www.citilink.ru/catalog/computers_and_note... It's not worth saving on a PSU. And do not forget to check the availability of all power connectors for the mother + processor and the video card.
I propose to replace the RAM with this, proven version, they are excellently chasing. Corsairs are not as flexible and more expensive as a rule. https://www.citilink.ru/catalog/computers_and_note... But in principle, even at 3200 you will already get a good result, a further increase in performance compared to the drain within 4-10%
You can use this cooler, also a proven solution, it cools perfectly and hotter processors in overclockinghttps://www.citilink.ru/catalog/computers_and_note...
And another tip - the case is more spacious. In a compact case, the video card can be warm, despite 3 coolers.

N
Nikita, 2020-03-23
@sanek_ek_makorek

vk.method("messages.removeChatUser", {"chat_id": peer_id - 2000000000, "member_id": from_id})
what random_id in removeChatUser are you talking about?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question