python - discord.py different outputs depens on user
问题描述
It was a long time ago I coded and kinda forget the most part. But I want to make a command that sends different outputs depends on who said the command and DON'T want it to be random.
This is may be a better explanation, I have a command that will show all the stuff you need to do (so a to do list but each user have their own list) I want to be able add a new task by the command !add <task>
but that task will just be added for the user who wrote the command. All other users will still have their own list.
I am not sure how I could do this in the best way, especially how to make everyone has their own list and not the same. That's where I am stuck
Thanks for all help!
解决方案
推荐阅读
- jetty - 是否可以在 Jetty 中使用 InetAccessHandler 以及 X-Forwarded-For 标头?
- javascript - 如何在响应ajax jquery后创建数据表
- angularjs - 如何解决 Angular cli 中的引导程序问题
- git - 如何git忽略特定的无扩展名文件
- node.js - 如果循环多次,则递归函数内的循环失败
- html - 为图像制作波浪效果
- javascript - 自动将框六调整为文本输入行?
- c++ - Qt C++ 中 QMap().begin() 函数的不明显行为
- django - nginx、flower、Django、proxy_pass 和拒绝无效的 HOST
- assembly - 无法在我用 C 编写的内核中编写 char 数组