这是Discord机器人的代码,我想将此代码转换为我的帐户selfbot,因此,我如何在代码中定义selfbot使其适用于我的帐户
import discord
import time
import asyncio
client = discord.Client()
@client.event
async def on_message(message):
x = client.get_channel(61993237976252417)
b = client.get_channel(623205069084688394)
c = client.get_channel(623888107124555776)
if message.content == '1' or message.content == 'ff' or message.content == 'f' and message.channel is x:
await b.send('**f**')
time.sleep(0.5)
if message.content == 'b' or message.content == 'g' or message.content == 'g' and message.channel is x:
await b.send('**g**')
time.sleep(0.5)
if message.content == 'u' or message.content == 'c' or message.content == 'cc' and message.channel is x:
await b.send('**c**')
time.sleep(0.5)
@client.event
async def on_ready():
print('Bot Client is ready!')
client.run('bot token')