微信轰炸程序,博主亲测,歪心思勿试

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()
posted @ 2020-10-13 19:48  金钱树🌲  阅读(625)  评论(0)    收藏  举报