腾讯云
开发者社区
文档
建议反馈
控制台
登录/注册
首页
学习
活动
专区
圈层
工具
MCP广场
文章/答案/技术大牛
搜索
搜索
关闭
发布
文章
问答
(9999+)
视频
沙龙
1
回答
On_member_join(成员)从未在
discord
.py中被调用
、
、
我正在用python3.8.6上的
discord
.py制作一个不和谐的机器人。bot = commands.Bot(command_prefix =".")
浏览 6
提问于2020-10-19
得票数 1
回答已采纳
1
回答
如何在
discord
.py中使用on_member_join和on_member_remove
、
、
我刚开始使用
discord
.py,发现on_member_join和on_member_remove对我不起作用。请记住,on_ready函数运行得非常好。import
discord
bot = commands.Bot(command_prefix = "!")
浏览 14
提问于2020-10-18
得票数 0
1
回答
消息对象没有属性'server‘
、
、
= ctx.message.server我得到了错误:
discord
.ext.commands.errors.CommandInvokeError
浏览 28
提问于2018-06-02
得票数 5
回答已采纳
1
回答
GuildMemberJoin PN消息
、
\n" + "[**Da Hood - The Best Gaming-
Discord
!
浏览 2
提问于2019-11-22
得票数 0
1
回答
单击该反应时不会发出该角色
、
我的异常告诉我user = null,但我不明白为什么?在调试器中传递UserId { {
浏览 0
提问于2020-10-30
得票数 0
1
回答
在访问
服务器
之前获取成员计数
、
在实际访问一个不和谐的
服务器
之前,是否有任何方法让成员计数。基本上我只有
discord
.gg url,我需要成员计数https://
discord
.gg/satoshirunners Satoshi Runners Official Collectionhttps://
discord
.gg/pd PixelDucks NFT https://
discord
.gg/fancybirds Fancy Birds
浏览 16
提问于2022-02-11
得票数 0
回答已采纳
1
回答
我如何创建一个JS不和谐机器人,将PMed的任何文本转发到不和谐
服务器
的通道中?
、
、
、
、
用户PM、bot和bot将复制文本,并将其粘贴到不和谐
服务器
的文本通道中,以及用户的不和谐名称。这是我真正需要做的,但我不知道如何编程一个不和谐的机器人。
浏览 1
提问于2018-02-03
得票数 0
回答已采纳
1
回答
不和谐的机器人状态,如何“观看%100%的会员”?
、
、
、
我的守则: await bot.change_presence(status=
discord
.Status.online, activity=
discord
.Activity(type=
discord
.ActivityType.watching, name="Members:")) awaitbot.change_presence(status=
discord
.Status.o
浏览 1
提问于2021-05-06
得票数 1
1
回答
在
discord
.js中生成带有前缀的命令处理程序时出现问题
、
、
、
this yet because I'm getting an error in the messageCreate.js1.对不起代码块太长了3.我的
discord
.js
浏览 0
提问于2021-08-26
得票数 1
回答已采纳
2
回答
为什么我的不和谐机器人在网上显示但不起作用?
、
#LINK FILESimport taskimport
discord
import os token = bot_token.token@client.event当我运行代码时,它显示机器人是在线的,但是当我在
服务器
上发送!hi时,bot没有反应。我
浏览 6
提问于2022-09-05
得票数 -1
回答已采纳
1
回答
discord
.py bot启动中的DM
、
、
我的代码:async def on_ready(): activity =
discord
.Activity( name = "Pokemon Go
Discor
浏览 0
提问于2021-01-04
得票数 0
回答已采纳
1
回答
无法访问quart生命周期中的
discord
bot实例
、
、
、
我对事件循环感到困惑,这可能是一个常见的问题,因为人们似乎正在将
discord
.py与quart一起使用。我正在尝试集成
discord
.py、quart和celery。我正在尝试让芹菜使用
discord
.py实例 # .= commands.Bot( # add cogs here
浏览 31
提问于2021-08-01
得票数 0
回答已采纳
1
回答
无法禁止成员退出
服务器
.py cog
、
@commands.has_guild_permissions(ban_members=True) embed =
discord
.Embedawait ctx.send(title) 因此,我希望我的代码基本上可以启动一个使用ID离开我的
服务器
的成员。我已经查看了以前的问题,但这似乎对我没有
浏览 4
提问于2022-02-02
得票数 -1
回答已采纳
2
回答
不和谐的机器人只能看到自己,而在公会中没有其他用户。
、
、
、
、
import osclient =
discord
.Client() async
浏览 3
提问于2020-10-01
得票数 11
回答已采纳
1
回答
如果消息包含
服务器
邀请链接
、
、
、
我想做一个自动审核系统,这样机器人将警告谁发送了一个
服务器
邀请链接的成员。我如何做到这一点呢?
浏览 12
提问于2021-08-29
得票数 1
回答已采纳
1
回答
向消息中指定的特定用户
discord
.py发送消息
、
、
在我的
discord
.py代码中,我尝试向消息作者指定的用户设置一条简单的发送消息。 if message.content.startswith('!
浏览 14
提问于2019-01-08
得票数 0
回答已采纳
1
回答
不和谐的bot正在运行,但在使用VS代码后没有响应命令。
、
、
、
、
__init__() missing 1 required keyword-only argument: 'intents'client =
discord
.Client()client =
discord
.Client(intents=
discord
.Intents.default()) 机器人似乎在控制台中运行,但实际上它没有运行
浏览 2
提问于2022-07-07
得票数 1
回答已采纳
2
回答
不一致py机器人不触发on_member_join功能
、
、
我的
discord
py机器人不会触发"on_member_join“事件。其他的一切都很好。我还有其他正常触发的事件方法。我在这里做错了什么?当人们加入时,它甚至不会打印控制台语句。# Libsfrom
discord
.ext import commands token
浏览 0
提问于2019-12-08
得票数 2
1
回答
我怎么做一个能指出链接的不和谐机器人呢?
、
、
我一直在尝试制作一个删除不一致
服务器
邀请的不一致机器人,但我不知道怎么做才能让机器人知道链接是什么,这是我到目前为止一直在尝试的:from
discord
.ext importcommands client = commands.Bot(command_prefix = "https://
discord
.")#This along with the 'def gg' is trying to specify a
disco
浏览 13
提问于2020-11-17
得票数 0
1
回答
如何在任务循环中向特定的不和谐通道发送消息?
、
、
、
import
discord
from
discord
_webhook import DiscordWebhook bot = commands.Bot(command_prefix="$") async def getAlert
浏览 9
提问于2022-02-03
得票数 0
回答已采纳
点击加载更多
热门
标签
更多标签
云服务器
ICP备案
对象存储
云点播
实时音视频
活动推荐
运营活动
广告
关闭
领券