我正在做一個不和諧的機器人。我希望自己和我的朋友發佈機器人信息。我的確有消息部分回覆執行命令的人,但是我不知道如何讓消息傳遞給人。這是我迄今爲止的命令的代碼。我在其他語言中看到過這個問題的多個版本,但是我不知道如何將它們轉換爲python。 任何幫助? @UGH.command()
async def support():
message = 'A Staff member will
using Discord.Commands;
using Discord;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Runtime.Remoting.Contexts
我在使用move_member()來處理python機器人時遇到了麻煩。該命令的目的是通過將用戶移動到某個頻道來「踢」用戶,然後將其刪除,以便與語音呼叫斷開連接,但不需要邀請回服務器。我知道,僅僅移動用戶即可達到此目的,但我希望用戶能夠斷開連接。 import discord
import random
import time
import asyncio
from discord.ext