Accessible only to administrators of the server. delete will remove the conversation in the cache at the ith position, 0-indexed. write will save all conversations in the cache. clear will reset the cache and delete recently taught conversations. edit args: 'clear', 'write', 'delete i'.Note that while one parameter is required, more than one can be passed in at once. clear is accessible only to administrators of the server. basic will train based on the default English corpus, custom will train based on saved conversations, and clear will reset the AI storage (not saved custom conversations) before retraining. $train args: 'basic', 'custom', 'clear'.If cache is full, all conversations will be saved. Takes every message in a reply chain and caches it as a conversation. $teach (in reply to another message or reply chain).Any bot commands, numbers, and symbols are stripped before being interpreted. Takes any string of lowercase letters as input for the AI to respond to. When this script is running, your bot should be online and available for use! Commands Using any python interpreter, run the chat-bot.py script. You can change the directory in which conversations are saved by changing the CONVO_DIR variable within the chat-bot.py script. You can create your own files manually (following the number file name scheme) or teach the bot with commands within Discord (see below). To do (soon) Fix small chat glitches Refresh the Navigation tree when the chat is reload Embed support File support Private message support Generate a. Each file represents one conversation in which each line is a valid response to the one before it. Discord Chat: Set up if the Discord chat should start when VSCode is opened Discord Chat: Open the Discord Chat (must be started before) Discord Chat: Reload the Discord Bot Preview. Github Connect GitHub to import your private repos.-> Only select repositories-> ChatGPT-Discord-Bot Github URL ChatGPT-Discord-Bot -> Import from Github. Set up convos directoryĬhatbot saves conversations cached by discord users to numbered. If chatterbot fails to install, type pip install chatterbot=1.0.0 instead. If running the chat-bot.py script gives an error that either of the modules are not found, you should attempt to use pip3 instead to ensure the modules are installed to the correct python version. To install these, open a command prompt and type pip install chatterbot and pip install discord.py and wait for each to install. Install dependenciesĬhat-bot.py requires the modules that are imported at the top of the script, namely chatterbot and discord.py. Set up your bot and copy the token in Discord's developer portal at Application > (your application) > Bot > Token. You must download this repository and run the chat-bot.py script using your own bot account. The perfect discord music bot with an extensive dashboard How to play music in discord. This project uses some functionality of Chatterbot, but is not endorsed by Chatterbot nor a distribution of the code.ĭue to the necessity of storing files to train the AI, the bot is not hosted publicly. Discord Bots (0) Discord Servers (0) Viper Account Generator. Implementation of Chatterbot using Discord API.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |