【发布时间】:2021-09-01 15:01:12
【问题描述】:
这是我的代码
- 顺便说一句,我正在运行 Windows 10 Home,并且正在运行带有 VS 代码的 Python 3.8.2
- 只要能解决我的 Naro 问题,任何解决方案都可以(我的软件适用于 discord.com)
- 顺便说一句,如果你有,请在解决方案中留下你的 github 链接,这样我就可以在我的 github 上记下你了 4.常见问题 5.Q-这个软件是干什么用的 6.A- 在不和谐的地方挑拨离间
- Q- 我可以被封禁吗
- A- 是的,因为您使用的是用户帐户(这违反了 TOS)
import os
file = os.path.realpath(__file__)
f = open("Tokens.txt" , 'w+')
print ('Naro by hackamous')
print('1) Spam a Channel')
print('2) Spam Friend Requests')
print('3) spam DMs')
choice = input('Enter your choice:')
if choice == '1':
server_id = input("Server id:")
Channel_id = input("Channel id:")
message = input('Message to spam:')
while True:
headers = {
'authorization:' f"{f.readlines()}"
}
payload = {
'content:' f"{message}"
}
total = f'https://discord.com/api/v9/channels/{server_id}{Channel_id}'
requests.post(f'{total}' , headers = headers , data = payload)
exit_1 = input('Exit y/n:')
if exit_1 == 'y':
exit()
else:
continue
if choice == '2':
name = input('Username:')
dircrim = input('discriminator:')
while True:
headers = {
'authorization:' f"{f.readlines()}"
}
payload = {
'discriminator:' f"{dircrim}"
'username:' f"{name}"
}
total = f'https://discord.com/api/v9/users/@me/relationships'
requests.post(f'{total}' , headers = headers , data = payload)
exit_1 = input('Exit y/n:')
if exit_1 == 'y':
exit()
else:
continue
if choice == '3':
cha_ID = input('Channel ID:')
msg = input('Message:')
while True:
headers = {
'authorization:' f"{f.readlines()}"
}
payload = {
'content:' f"{msg}"
}
total = f'https://discord.com/api/v9/channels/{cha_ID}/messages'
requests.post(f'{total}' , headers = headers , data = payload)
exit_1 = input('Exit y/n:')
if exit_1 == 'y':
exit()
else:
continue'''
【问题讨论】: