هذا هو P Higros S Core L Ookup Discord Bot (AKA PSLDISCORDBOT) ،
يمكنك الحصول على درجاتك باستخدام /get-photo
، /get-scores
أو /export-scores
etc. إلخ.
إليك بعض الصور التي تعرض:
/get-photo
، شكر كبير لمستخدم Discord foxtrot لإعادة صياغة واجهة المستخدم!
/get-scores
/about-me
خادم Discord
تحقق من المساعدة
الموارد في https://github.com/yt6983138/psldiscordbot_resources
يمكنك إضافة أمرك المخصص عن طريق إضافة وظيفة في أوامر القاموس في البرنامج.
// 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
}
}
عندما تنشر:
هذا هو مشروع Cross Platform ، فقط تذكر عدم تجميع "Trim Unused Code" ، وسوف يكسر أشياء JSON.
أيضًا ، تذكر تثبيت خطوط Saira
و Saira ExtraCondensed
(وإلا فإنه سيستخدم أي خط يمتلكه النظام).