import discord import asyncio bots_info = { 'TOKEN_1':MTIxMjA3NDAzNjE1MTA2Njc0Nw.GomhkZ.s3eb74umXG72DrjHnvwqWuqJYFh518tTuCdA0w ('CHANNEL_ID'): "1230562752536514573" 'TOKEN_2': {'CHANNEL_ID': 'CHANNEL_ID_2'}, } async def send_owo_message(channel):https://discordapp.com/channels/1230562752536514570/1230562752536514573 await channel.send("Owo daily") async def send_owo_response(channel, author_mention): await asyncio.sleep(10) await channel.send(f"owo send @szazsy. 500") async def start_bots(): for token, bot_info in bots_info.items(): client = discord.Client() @client.event async def on_ready(): print(f'Logged in as {client.user} for token {token}') await asyncio.sleep(10) channel = client.get_channel(int(bot_info['1230562752536514573'])) await send_owo_message(channel) @client.event async def on_message(message): if message.author == client.user: return if message.content.lower() == 'owo daily': await send_owo_response(message.channel, message.author.mention) await client.start(token) async def main(): await start_bots() if __name__ == "__main__": loop = asyncio.get_event_loop() loop.run_until_complete(main())