GLOBALELITE.PL GLOBALELITE.pl 83 Napisano 22 Lipca 2017 Share Napisano 22 Lipca 2017 REPORT BOTThis is my first post on AM so I hope the format is correct.short descriptionbasically someone on the server says !report <reason> or !report <username/id> <reason> and it'll add it to a database and then I have a discord bot written in NodeJS to watch for reports and post them in a channel that you have set! The bot itself has commands to block people from reporting and unblock people from reportingAnyways this plugin I have created here requires you to have a discord server as I'm sure most communities at this point do. I'm not sure what games this will run on other than TF2 because that's all I've tested it on. This was pretty much my first time creating a plugin and also creating a discord bot, so I give it as it with no warranty. Do with it as you please fix it up as you want, or even message me with suggestions on how to make it better! There is a README.txt file I will be including on how to set this up. I should also mention I edited the helpers.inc to be able to make the plugin work as I wanted, so I will also include my modified version of helpers.inc. I hope you guys find it as useful as the Vatican has!Please post any questions below and I will try to get to you ASAP Attached Files reportBot.zip (14.1 KB) Pełny artykuł: https://forums.alliedmods.net/showthread.php?t=299649&goto=newpost Odnośnik do odpowiedzi Udostępnij na innych stronach
Rekomendowane odpowiedzi