python - 我无法让我的不和谐机器人发送链接
问题描述
这是我使用的代码:
@client.command(pass_context = True)
async def music(ctx, *args):
global mesg
mesg = 'https://cdn.discordapp.com/attachments/759465899844567157/797828093494558740/videoplayback.mp4'.join(args)
return await client.say(mesg)
没关系,它已经被修复了,当我添加一个新命令时我不得不重新启动机器人 ♂️</p>
解决方案
推荐阅读
- javascript - 通过本地主机和服务器使用 postMessage
- android - 多次从 ViewModel 调用一种方法的好解决方案
- android-studio - @SerializedName 以红色突出显示
- google-chrome - 如何将网站快捷方式图标从默认更改为 favicon(谷歌 chrome 浏览器)
- c# - 如何在不手动编写每个单击事件的情况下为每个动态创建的按钮实现唯一的按钮单击事件?
- elasticsearch - 在 Kibana Dev Tools 中创建一个字段属性标记为“未分析”的新索引
- google-drive-api - 谷歌驱动api文件夹列表文件
- python - 我正在尝试使用 Selenium 单击嵌套 div 内的按钮
- c# - C# WPF - 如何在不覆盖 MenuItem 样式的情况下创建子菜单表单 BindingList?
- python - 将 JSON 数组转储到 Python 不起作用