Python
Java
PHP
IOS
Android
Nodejs
JavaScript
Html5
Windows
Ubuntu
Linux
如何使discord.py中的数据以表格形式显示?
您好 我正在创建一个可以制作积分表 排行榜的机器人 下面是效果非常好的代码 def check ctx return lambda m m author ctx author and m channel ctx channel async
python
Discord
discordpy
如何获取任何 Discord 服务器的成员总数?
我正在尝试构建一个抓取脚本来获取一堆 Discord 服务器的全部成员 实际上 我是用 Puppeteer 这样做的 如下所示 但我认为我的 IP 地址已被禁止 因为即使邀请链接有效 我也会收到来自 Discord 的 邀请无效 错误 我的
API
axios
Discord
puppeteer
如何创建频道然后找到ID
我正在创建一个频道message guild channels create 我该如何找到该频道的消息 ID 并在新创建的频道中发送消息 message guild channels create bug priority reportPr
javascript
nodejs
Discord
discordjs
如何查看文本通道的权限值? [不和谐.py]
我想检查文本通道是否已将权限设置为特定值 特别是发送信息允许 基本上我想要这样的东西 bot command async def perm ctx channel discord TextChannel None if send messa
Discord
discordpy
Discord.py on_member_join 没有响应
我正在使用一个 client event为我的功能on member join事件 我希望它在用户加入时发送消息 但是控制台没有响应或错误 这是我当前尝试的代码 client event async def on member join m
Discord
discordpy
如何通过代理连接不和谐机器人
我正在尝试使用discord py 并通过代理运行discord 机器人 这关于此的不一致文档 https discordpy readthedocs io en latest api html highlight proxy discor
Discord
aiohttp
JDA - 将“用户”转换为“会员”
为了删除不同用户的角色 我使用以下代码行 Member member e getMember Guild guild member getGuild for Role role guild getRoles System out print
Java
Discord
discordjda
Discord.py(重写)on_member_update 无法正常工作
我对 discord py 包的 on member update 函数有疑问 我的问题是 on member update 函数仅在机器人本身更新时触发 如角色更新 而不是在其他用户更新时触发 它应该如何工作 这是我的代码的细分 impo
python
Discord
discordpy
在discord.js 中,我可以使用 Discord Bot 向用户发送直接消息吗?
我想使用 Discord 机器人向用户发送私人消息 用户与机器人不在同一服务器中 如果我可以使用author sendMessage 我如何初始化 查找 author变量 我可以通过 User id 找到该用户吗 感谢您的阅读 对于任何有兴
Discord
discordjs
Discord 机器人如何加入 Discord Rewrite 中的语音频道?
我想让我的不和谐机器人连接到我打字时的语音通道 join 我尝试使用以下代码执行此操作 但出现此错误 bot BotInstance of Bot has no voice client int memberpylint no member
python
Discord
discordpy
Discord.js - 如何编辑 message.embed() 语句?
我正在执行 ping 命令 编码非常简单 但我完全不知道如何编辑我正在使用的嵌入 这是我的代码 我正在使用命令处理程序来解释exports run 语句 const Discord require discord js exports ru
javascript
EMBED
Discord
discordjs
识别某人正在玩的游戏而无需聊天(discord bot python)
不和谐机器人蟒蛇 代码是 如果有人聊天 如果这个人正在玩 守望先锋 他或她将被提升为玩家角色 如果没有 他或她将被删除或什么也不会发生 但我正在寻找一种无需聊天即可识别正在玩的游戏的方法 有人能帮我吗 client event async
python
Discord
如何使用带有代理的discord python bot?
需要使用带有代理的discord bot https 或socks 例如 代理为 192 168 1 1 3125 代理授权为 proxy login proxy pass 我已经尝试过这个例子 如何通过代理连接不和谐机器人 https s
python
proxy
Discord
discordpy
Discord.js 禁用“交互失败”
如果交互 例如点击按钮 没有得到回复 discord 会在客户端显示 交互失败 他们希望你做什么 inter reply stuff 我想做的事 inter channel send stuff 这不是一个错误 我只是想防止出现 交互失败
javascript
nodejs
Discord
discordjs
discord.py 的颜色代码
我发现在discord py 中更改颜色 例如嵌入颜色 有点困难和烦人 我为不同的颜色代码创建了一个类 以便在discord py 中使用 可以将其导入到主文件中 class colors default 0 teal 0x1abc9c d
python
Discord
discordpy
Discord.js V14 interaction.editReply 给出无效的 webhook 令牌错误
当我尝试使用编辑对斜杠命令的回复时interaction editReply 使用推迟后interaction deferReply 我收到 DiscordAPIError 50027 无效的 Webhook 令牌 deferReply 顺
nodejs
Discord
discordjs
不一致 <@!user id> 和 <@userid>
所以我正在使用 Node JS Discord JS 创建一个机器人 我有一个问题 在某些服务器上 当您提及用户时 它会在控制台中返回为 lt userid gt 在其他方面它返回为 lt userid gt 我的机器人有一个简单的点 级别
nodejs
points
Discord
userid
discord.py 中的 Cog 和 Extension 有什么区别?
在discord py文档中 有 扩展 https discordpy readthedocs io en stable ext commands extensions html https discordpy readthedocs io
python
Discord
discordpy
TypeError:TextIOWrapper 类型的对象不可 JSON 序列化
如果代码正常工作 那么每当有人在聊天中输入内容时 他们都会获得 5 经验 并且该信息会被放入 json文件 但发生的情况是每当有人在聊天中输入内容时就会出现此错误 on message users json dumps f TypeErro
python
json
Discord
discordpy
python37
Discord.py SSLCertVerificationError
我一直在开发一个机器人 昨晚它根据需要运行得很好 但今天早上当我在终端中打开机器人时 出现以下错误 Traceback most recent call last File d Documents Bots DS BOT bot py li
python
python3x
Discord
discordpy
«
1
2
3
4
5
6
7
8
...11
»