이것은 p higros 의 핵심 lookup discord 봇 (일명 psldiscordbot),
/get-photo
, /get-scores
또는 /export-scores
사용하여 점수를 얻을 수 있습니다.
다음은 보여주는 몇 가지 사진입니다.
/get-photo
, UI 재 작업을위한 Discord 사용자 FoxTrot 덕분에 큰 감사합니다!
/get-scores
/about-me
Discord Server
HELP.MD를 확인하십시오
리소스는 https://github.com/yt6983138/psldiscordbot_resources에 있습니다
clog.cs의 사전 명령에 함수를 추가하여 사용자 정의 명령을 추가 할 수 있습니다. CSS는 다음 예를 참조하십시오.
// look at CommandBase.cs for more info
// attribute to add to global command, without this command wont be added
[ AddToGlobal ]
public class HelpCommand : // CommandBase or GuestCommandBase or AdminCommandBase, depends on comand type
{
public override string Name => /* command name */ ;
public override string Description => /* command description */ ;
public override SlashCommandBuilder CompleteBuilder =>
this . BasicBuilder ;
// use .AddOption to add option and add other things
public override async Task Callback (
SocketSlashCommand arg ,
UserData ? data ,
DataBaseService . DbDataRequester requester ,
object executer )
{
// actual callback, note you do not need arg.DeferAsync, already did that in Execute
}
}
게시 할 때 :
이것은 크로스 플랫폼 프로젝트입니다. "미사용 코드 트림"을 컴파일하지 말고 JSON을 깨뜨릴 것입니다.
또한 Saira
와 Saira ExtraCondensed
글꼴을 설치하십시오 (그렇지 않으면 시스템이 가지고있는 모든 것을 사용합니다).