![]() ![]() This is mostly seen as a demo function, as opposed to a command you should actually use.Ĭhannel: discord.TextChannel object, whether ctx.channel or any channel you gather.īot: commands.Bot object to gather members who are no longer in your guild.ĭiscord.Message: The message quick_export will send, containing the embed and exported chat file.Įxample: import discord import chat_exporter from discord.ext import commands intents = discord. ![]() Using the quick_export function will gather the history of the channel you give, build the transcript then post the file and embed directly to the channel - returning a message object gathered from the message it posted. quick_export() is the simplest way of using chat-exporter. There are currently 3 methods (functions) to chat-exporter which you can use to export your chat.Įxpand the blocks below to learn the functions, arguments and usages. To clone the repository locally, run the command: git clone To install the library to your virtual environment, for bot usage, run the command: pip install chat-exporter ![]() Export Discord chats with your discord.py (or fork) bots! ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |