微信轟炸程式,博主親測,歪心思勿試

金錢樹?發表於2020-10-13
from wxpy import *
import time

#bot =Bot(cache_path=True)
import io
import sys
sys.stdout = io.TextIOWrapper(sys.stdout.buffer,encoding='gb18030')
# # bot.file_helper.send("goodye of wold")
bot = Bot()
# friends = bot.friends()
# for friend in friends:
# print(friend)
friend=bot.friends().search('...')[0]
# group=bot.groups().search('...')[0]
for i in range(1):
#
friend.send('')
# group.send('測試下')
# #group.send('for test')
# 訊息接收監聽器
@bot.register()
def print_others(msg):
# 輸出監聽到的訊息
print(msg)
# 回覆訊息
msg.reply("hello world")

embed()

相關文章