星期五-discord-python

  • Z6_208430
    了解作者
  • 36.6MB
    文件大小
  • zip
    文件格式
  • 0
    收藏次数
  • VIP专享
    资源类型
  • 0
    下载次数
  • 2022-04-22 02:04
    上传日期
星期五不和谐机器人 隐私免责声明 由于该漫游器正在使用Dialogflow,因此Friday会记录其自身可见的所有消息,并将其发送给Dialogflow。 星期五不发送的消息包括链接和图像嵌入/图像链接。 向Dialogflow发送消息的目的是训练星期五将要响应的内容以及响应将是什么。 一旦星期五的响应更加稳定和准确,将来发送到Dialogflow的消息将被删除。 星期五不再使用Google的Dialogflow,并且不会将消息发送到Dialogflow,但是消息仍然会被记录下来,目的是训练星期五的机器学习。 如果记录的消息证明对培训没有用,则将其删除并且不会与任何人共享。 您好,我叫星期五,我是Discord平台的聊天机器人。 我喜欢尝试成为人,当然也喜欢模因。 我的目标是使Discord服务器更加活跃。 我可以通过回复“感谢星期五”,“你好”之类的聊天来做到这一点,如果有人想侮辱
friday-discord-python-master.zip
  • friday-discord-python-master
  • ml
  • models
  • gen_model.h5
    34.5MB
  • intent_model.h5
    2.4MB
  • custom_gen_model.h5
    10.1MB
  • intents.json
    80.4KB
  • custom_robot_text.txt
    4.5KB
  • custom_human_text.txt
    3.6KB
  • robot_text.txt
    114.6KB
  • human_text.txt
    108.9KB
  • .github
  • FUNDING.yml
    680B
  • chat
  • dynamicchat.py
    3.7KB
  • queryGen.py
    9.5KB
  • __init__.py
    0B
  • queryIntents.py
    3.3KB
  • cogs
  • redditlink.py
    8KB
  • help.py
    3.3KB
  • souptime.py
    819B
  • dice.py
    778B
  • dev.py
    5.4KB
  • info.py
    748B
  • ping.py
    1.1KB
  • music.py
    14.2KB
  • cleanup.py
    1.5KB
  • issue.py
    1.7KB
  • fun.py
    4.6KB
  • serversettings.py
    1.9KB
  • inspiration.py
    652B
  • meme.py
    3KB
  • serverinfo.py
    733B
  • custommusic.py
    1.2KB
  • rockpaperscissors.py
    1.8KB
  • functions
  • logging.py
    9.4KB
  • choosegame.py
    503B
  • embed.py
    2.1KB
  • relay_info.py
    1.1KB
  • __init__.py
    427B
  • mysql_connection.py
    1.5KB
  • messagecolors.py
    155B
  • dbl.py
    567B
  • restart.sh
    66B
  • .gitattributes
    66B
  • train.py
    14.4KB
  • train-intents.py
    4KB
  • words.pkl
    3.7KB
  • requirements.txt
    3.5KB
  • update.sh
    49B
  • LICENSE.md
    34KB
  • config.json
    8.2KB
  • README.md
    6.9KB
  • index.py
    11.3KB
  • .env-template
    218B
  • export-dialogflow.py
    2.4KB
  • .editorconfig
    166B
  • .gitignore
    1.7KB
  • classes.pkl
    142B
内容介绍
<div align="center"> <h1>Friday Discord Bot</h1> <!-- <a href="" rel='nofollow' onclick='return false;'><img src="https://img.shields.io/npm/v/npm.svg?style=flat" alt="NPM Version"/></a> --> <!-- <a href="https://github.com/Brettanda/friday-discord-python/blob/master/LICENSE.md" rel='nofollow' onclick='return false;'><img src="https://img.shields.io/github/license/Brettanda/friday-discord-python" alt="GitHub license"/></a> --> <!-- <a href="https://github.com/Brettanda/friday-discord-python/issues" rel='nofollow' onclick='return false;'><img src="https://img.shields.io/github/issues/Brettanda/friday-discord-python" alt="GitHub issues"/></a> --> <a href="https://discord.gg/NTRuFjU" rel='nofollow' onclick='return false;'><img src="https://img.shields.io/discord/707441352367013899?color=7289da&logo=discord&logoColor=white" alt="Discord Chat"/></a> <a href="https://top.gg/bot/476303446547365891/vote" rel='nofollow' onclick='return false;'><img src="https://img.shields.io/badge/Vote-Friday-blue" alt="Vote"/></a> <a href="https://discord.com/oauth2/authorize?client_id=476303446547365891&permissions=322037824&scope=bot%20applications.commands" rel='nofollow' onclick='return false;'><img src="https://img.shields.io/badge/Add%20Friday-to%20your%20server-orange" alt="Add Friday to your server"/></a> <a href="https://www.patreon.com/fridaybot" rel='nofollow' onclick='return false;'><img src="https://img.shields.io/badge/-Become%20a%20Patron!-rgb(232%2C%2091%2C%2070)" alt="Become a Patron!"/></a> </div> ## Privacy Disclaimer ~~Because this bot is using Dialogflow, Friday records all messages visible to itself and sends them to Dialogflow. Messages that Friday does not send include links and image embeds/links to images. The purpose of sending messages to Dialogflow is to train what Friday will respond to and what the reply would be. Sending messages to Dialogflow will be removed in the future once Friday's responses are more stable and accurate.~~ Friday is no longer using Google's Dialogflow, and will not send message to Dialogflow, but messages will still be logged for the purposes of training Friday's Machine Learning, and nothing else. If the recorded messages prove to not be useful for training they will be deleted and not shared with anyone. Hello, my name is Friday, I am a chatbot for the platform Discord. I like trying to be human and of course memes. My goal is to make your Discord server feel more alive. I can do this by responding to chats like 'thanks Friday', 'hello' and if someone would like to make an insult towards me I can respond to that as well. ## Development Make sure to add your bot token to the `.env` file or this won't be able to connect to anything. ## Commands Another way to see the full list of commands is by typing `!help` in a Discord server that I have been invited to. You can also direct message me any commands as well (if you want to keep our conversation more private). ## D&D Dice rolling Friday can also roll D&D dice for you with the command `!d` or `!r`. This command should work with everything on [wikipedia.org/wiki/Dice_notation](https://en.wikipedia.org/wiki/Dice_notation). If the command returns with an error please ~~use the `!issue` command to~~ connect to Friday's support server to explain what happened so I can fix the problem ASAP. A simple example of what this command can do is `!d d20` and a more complex example is `!r 3d20+d4*3`. ## Inspirational Quotes ~~If you ask Friday for an inspirational quote like `@Friday could you provide me an inspirational quote` Friday will build an image from a JavaScript Canvas with a background from a list and place a string of text from an array overtop of the image then send it as a message attachment~~ The inspirational quotes command has been disabled for the time being. ## Music Friday can play music in a voice channel with the command `!play` followed by a search query, a YouTube video URL, or almost anyother video link you can find. At the moment Spotify links doen't work because it requies API keys that I haven't setup yet. Here are examples of those two uses `!play uptown funk` or `!play https://youtu.be/dQw4w9WgXcQ`. ## Chat ~~Friday can respond to normal chat without the message being directed towards Friday~~ Friday's chat response system has been disabled for the time being because since I have moved away from Dialogflow i need a larger dataset. So even though Friday will be mute (except for commands) for a bit, Friday will still be learning ### Context ~~Friday checks if a message is being directed towards Friday if the message contains a mention (`@Friday`), the word 'Friday' in capital letters or lowercase if the most recent message is from Friday, and Friday will (try) to respond to any message send through a direct message to Friday. If a phrase is said that Friday should respond to for a joke or something it will respond if it matches one of the 'no context' phrases. For example, if someone says 'Goodbye' with no context it will respond because goodbyes are apart of 'no context' and therefore can respond anyway.~~ <!-- ## Privacy Friday uses Googles Dialogflow which records all messages sent visible by Friday. As far as I can tell there is no easy way to remove message records from Dialogflow, but any messages will only be used to train the Friday Dialogflow Agent. If there is a conversation that you would like removed just message me with one of the messages from the conversation and I will remove it from Dialogflow. Dialogflow does not take any information about the Discord guild except for any persons mentioned in a message and contents of a message. The channel id is used for the Dialogflow session-id for context and so Friday can respond to questions appropriately. --> ## Todo - [ ] Auto-add intents or self-teaching ML - [x] Add queue system for playing YouTube audio - [x] Add D&D dice rolling command and dialogflow intent - [x] Make a modern-looking icon - [x] Add spam protection for the commands like `!issue` - [ ] If a role is tagged that Friday is not apart of, ignore the message. - [x] When music is playing and someone sends a message there is a little bit of a lag spike that occurs in the audio. This needs to be fixed. - [x] Add a search function to the `!play` command - [x] Friday will sometimes stop playing a video at some point and thinks that it still is playing - [ ] Add the ability to play playlists from youtube as well as adding several - [ ] Teach friday to see images and recognize them, then play uno with card images - [ ] Some commands might be able to work cross servers if getting a channel by name/id without getting the guild first - [ ] Make Friday still respond to messages sent while it was offline - [ ] Slash Commands? ## To add to the dashboard - [ ] Add some kind of server-specific settings - [ ] Custom commands for sound clips to play in a voice channel - [ ] Custom prefix setting for paying - [ ] Disable some intents like "title of your sex tape" - [ ] A command to send one message to selected chats (only for admins) - [ ] auto delete gifs with certain keywords - [ ] If the server has a specific nickname scheme send messages to those people for the nicknames like if the scheme is first name then friday will ask for their first name
评论
    相关推荐