generate functionSun, 13 Nov 2022

Send a text file to discord.

import discord def text_to_discord(client: discord.Client, text: str, channel: str): channel = client.get_channel(channel) channel.send(text)

Want to kickstart your project?Use the new AI Studio to create your code