PrototonBot

所属分类:自然语言处理
开发工具:C#
文件大小:2791KB
下载次数:0
上传日期:2023-05-18 21:18:53
上 传 者sh-1993
说明:  ShepherdBot Classic的继承者,这是一款为娱乐目的而编写的具有交互式命令的Discord Bot。莫特...
(The successor to ShepherdBot Classic, a Discord Bot written for entertainment purposes with interactive commands. Mother language was JavaScript, rewritten in C#. :))

文件列表:
InteractionHandler.cs (6100, 2023-05-19)
Interactions (0, 2023-05-19)
Interactions\ActionCommands.cs (3964, 2023-05-19)
Interactions\AdminCommands.cs (11618, 2023-05-19)
Interactions\GenerateCommands.cs (3408, 2023-05-19)
Interactions\InfoCommands.cs (5300, 2023-05-19)
Interactions\InteractionModule.cs (3517, 2023-05-19)
Interactions\InventoryCommands.cs (23310, 2023-05-19)
Interactions\ProfileCommands.cs (50314, 2023-05-19)
Interactions\StoreCommands.cs (25896, 2023-05-19)
Logger (0, 2023-05-19)
Logger\ConsoleLogger.cs (652, 2023-05-19)
Logger\ILogger.cs (200, 2023-05-19)
Logger\Logger.cs (305, 2023-05-19)
MongoUtility (0, 2023-05-19)
MongoUtility\MongoHandler.cs (9245, 2023-05-19)
MongoUtility\Objects.cs (3063, 2023-05-19)
Program.cs (6219, 2023-05-19)
PrototonBot.csproj (997, 2023-05-19)
ServiceHandler.cs (5472, 2023-05-19)
Storage (0, 2023-05-19)
Storage\BarlowCondensed-Regular.ttf (97132, 2023-05-19)
Storage\ProfileAssets (0, 2023-05-19)
Storage\ProfileAssets\AllThemesPreview.png (870437, 2023-05-19)
Storage\ProfileAssets\AvatarMask.png (23996, 2023-05-19)
Storage\ProfileAssets\Badges (0, 2023-05-19)
Storage\ProfileAssets\Badges\abroflag.png (348, 2023-05-19)
Storage\ProfileAssets\Badges\aceflag.png (170, 2023-05-19)
Storage\ProfileAssets\Badges\biflag.png (162, 2023-05-19)
Storage\ProfileAssets\Badges\demiflag.png (504, 2023-05-19)
Storage\ProfileAssets\Badges\gayflag.png (223, 2023-05-19)
Storage\ProfileAssets\Badges\heteroflag.png (164, 2023-05-19)
Storage\ProfileAssets\Badges\lesbianflag.png (191, 2023-05-19)
Storage\ProfileAssets\Badges\lgbtflag.png (288, 2023-05-19)
... ...

PrototonBot Discord
# What is Prototon Bot? *Click [here](https://discord.com/oauth2/authorize?client_id=919110017142095914&scope=bot&permissions=536804191486) to invite PrototonBot to your server. :)* *ProtogenBot's current icon was made via [Mod's Protogen Creator](https://picrew.me/image_maker/362292)* PrototonBot is the successor to ShepherdBot Classic, a Discord Bot written by [DonnieCodesIt](https://github.com/donniecodesit). The previous bot had been written in JavaScript and was later rewritten and improved in 2020 in C# with Discord.Net. The old bot has been since discontinued and is now being completely revised and renewed as of 2022, using everything I've learned about programming so far. I've also been taking an Engineering course at Thinkful and have learned a lot about JavaScript and Front-End and Back-End development, but that's not quite related to this bot. # How to build Prototon Bot ## Notice Please be careful when building this project and follow the instructions accordingly as they are listed. Every build here is considered "functional and tested". It may be best to only download the source code or compiled bot from the *Releases* tab, as main branch still undergoes changes and updates. **I nor any co-developers will assist or support developing, building, or hosting your modified bot.** The time, people, and resources to do this are unavailable. Follow the instructions below! ### Requirements Before building this bot and setting it up, you're going to need these requirements. - .NET is required for this bot to compile. Version 6.0.x is used in production: [Download Here](https://dotnet.microsoft.com/download/dotnet/5.0) - MongoDB is required for this bot to operate. Version 4.4.x is used in production: [Download Here](https://www.mongodb.com/try/download/community) - Otherwise, making sure to properly follow setup. To test the Mongo databast locally, you can run it on `localhost`. ### Modifying The Bot If you're familiar with the C# language, take some time to read through the layout of the project to understand how the bot works. In it's current state, it's very easy to customize and add/remove to this bot. If you add or remove commands, be sure to update that on the `help` command. If you add or remove user info or inventory keys, or server keys, be sure to update the objects in `MongoUtil/` ### Setup 1. Fork or clone the latest version of this respository, or use the source code from the *releases* tab. 2. Compile the bot inside the root directory using `dotnet build`. The output will then appear in `bin/Debug/net5.0`. 3. Next, copy the `Storage` directory into the `net5.0` folder, the bot requires that folder. 4. Update `net5.0/Storage/config.toml` with the API keys and IDs required inside the file. - Required: `DiscordToken`, `UserID`, `MongoURL`, `DeveloperIDs`, `CacheDir`. - Optional: `EnableBotList`, `BotListToken`. (Only relevant if you're wanting to list your bot on Discord Bot List's website.) 5. Start your MongoDB server and make sure to add these collections: `servers.info`, `users.info`, `users.inventory`. 6. Start the bot by opening `PrototonBot.exe`, or the command `./PrototonBot`. # Contributors and Resources ## Contributors Over the course of the bot's lifetime, three users have helped with this bot. For now, each of them will remain anonymous unless they request to be added to this README. - Thank you to the one who has helped consistently with the bot's programming and server setup. ’ - Thank you to the one who helped implement a few commands and also gave some general tips and advice. ’ - Thank you to the one who has been the morale support and curious one with the bot. § - *ProtogenBot's current icon was made via [Mod's Protogen Creator](https://picrew.me/image_maker/362292)* If you want to contribute or help, please feel free to join our [TO_BE_ADDED_SERVER](https://discord.com) and ask for help/feedback in the support section. Or you can provide ideas, thoughts, feedback, or contributions to the features section. ## Resources and Tools used: - [Discord.Net](https://github.com/discord-net/Discord.Net) - [DiscordBotList's API](https://top.gg/) - [MongoDB Driver](https://github.com/mongodb/mongo-csharp-driver) - [Nett](https://github.com/paiden/Nett) - [Magick.NET-Q8-AnyCPU](https://github.com/dlemstra/Magick.NET) # Legal Stuffs.. ## Using PrototonBot Please provide credit in your project wherever it is due. It's important to credit the original creators of projects, spend some time reading the license. I do not mind users using this bot, please use and follow the same license agreement, and do not just copy/modify the project without crediting me. ^^ ## License This project is licensed under the Creative Commons BY-NC-SA 4.0 License. You can read about the license [here](https://creativecommons.org/licenses/by-nc-sa/4.0), or the full license text in [license.txt](https://github.com/donniecodesit/PrototonBot/blob/main/license.txt).

近期下载者

相关文件


收藏者