bot open-source discord discord-bot discord-api slash-commands discord-js discordbot discord-app context-menus discord-interactions discord-slash-commands discord-slash-bot discord-slash discord-context-menus Updated Sep 2, 2023 JavaScript ming-suhi / djs-commando Star 7 Code Issues Pull requests...
在重新启动bot之后,斜杠命令不会更新,它将保留我首先创建的命令,这是我的简单代码:它们在向discord....
ENGit 是一个分布式版本控制系统,用于管理和跟踪项目的代码变更。在使用 Git 进行开发时,你可能会意外...
discord-slash-commands-bot Discord服务器的强大命令处理功能! :clipboard: 设置项目 从创建一个新的应用程序并构建一个机器人。 然后将bot从auth部分添加到服务器。 授予Discord bot权限(用于负载斜线命令) https://discord.com/oauth2/authorize?client_id=YOUR_CLIENT_ID&scope=applications.commands 。
discordpy-slash旨在简化在discord.py Discord机器人中实施斜杠命令的过程。 您只需要做很少甚至不需要重写现有命令的方法即可工作。 该库可能存在错误,如果发现任何错误,请提出问题。 我该如何安装? 在Linux和Mac上运行此命令pip3 install discordpy-slash ,或者如果您在Windows上,请pip install discordpy-slash 如何...
Put the value as the token of your bot which can be obtained from the Discord Developer Portal. To host the bot, copy the link after running it and use a provider such as: StarlinkHosting Freshping BetterUptime. Examples The base examples of the commands have been given here. The Command...
@nextcord.slash_command(name = 'avatar', description = f'🎴 Display your avatar or a specific user avatar.') async def get_user_avatar(self, ctx, user: nextcord.Member = None) 我想拥有一个名称的斜杠命令:“用户头像”,在此单词之间有一个空间。 您需要首先将discord discord.py nextcord...
import discord.ext from datetime import timedelta, datetime 这是树的变量: tree = discord.app_commands.CommandTree(client) 我已经试过了: @tree.command(name='test', description='test', guild=discord.Object(12345678)) async def slash_command(interaction: discord.Interaction, reporttype: discord.Sele...
NodeJS Discord.js V14 Slash命令通道选项类型您可以使用addChannelTypes()方法来筛选要显示的类型。它...
html#guild-commands 请注意此导入:const { REST, Routes } = require('discord.js');