corpnewt / CorpBot.py

A very clumsy python bot for discord
MIT License
194 stars 91 forks source link

You like? #5

Closed recondiscord closed 7 years ago

recondiscord commented 7 years ago

I changed your bot, in every language of xp, and the setup now it can work simultaneously with the 2 systems, both with xp reservation and xp per hour, do you want me to send you a copy of the edition that I did?

corpnewt commented 7 years ago

Sure - I'll give it a look!

recondiscord commented 7 years ago

http://cloud.anasor.com/CorpBotModXPReconcuddly.zip

recondiscord commented 7 years ago

By the tests that I did, the bot operates normally, I'll leave it running for 1 week to see if it will show any defect

corpnewt commented 7 years ago

I'm at work right now - but I'll give it a look when I get home (in about 7 hours or so). Chances are, I'll do the same when I get home - and reconfigure it to allow xp or xp reserve increments (possibly both).

recondiscord commented 7 years ago

Yes, I made it work with both, since I need the 2 running, it was not very difficult to modify in case I tested it by changing the system time to 20 seconds, I left it for 2 minutes and it seems to work normally giving both xp reserve Which I have set, and the normal xp as well as seven, I have also modified the setup so it can also configure the xp reservation system, so the person can set the amount that he wants for both

corpnewt commented 7 years ago

Sounds good - I'll give it a look tonight and see what I can see. If it looks good I may merge it - or I may tweak it as well. Either way - I'm glad the bot works well for your needs! :)

recondiscord commented 7 years ago

and this is my output consoly

CorpBotXP-AnasotHostBOT - Today at 3:20 PM Auto-role shall remain set to: Not a Pony?. XP Management System

I can help auto-manage roles by promoting/demoting based on xp.

Would you like to go through that setup? (y/n)

Current settings:

Default xp on join: 25 Default xp reserve on join: 10 Hourly xp: 20 Hourly xp reserve: 5 Hourly xp requires users to be online: Yes Required Role to use the XP system: Everyone Admins can spend unlimited xp: No Users can be promoted based on xp: Yes Users can be demoted based on xp: Yes Reconcuddly - Today at 3:20 PM y CorpBotXP-AnasotHostBOT - Today at 3:20 PM How much xp should each user get when they join?

Current is 25. Reconcuddly - Today at 3:20 PM 25 CorpBotXP-AnasotHostBOT - Today at 3:20 PM Default xp reserve is now 25! How much xp reserve (xp they can gift, gamble,) should each user get when they join?

Current is 10. Reconcuddly - Today at 3:21 PM 10 CorpBotXP-AnasotHostBOT - Today at 3:21 PM Default xp reserve is now 10! How much xp should each user get per hour?

Current is 20. Reconcuddly - Today at 3:21 PM 20 CorpBotXP-AnasotHostBOT - Today at 3:21 PM Hourly xp now 20! How much xp reserve should each user get per hour?

Current is 5. Reconcuddly - Today at 3:21 PM 10 CorpBotXP-AnasotHostBOT - Today at 3:21 PM Hourly xp reserve now 10! Would you like the bot to require users to be Online in order to gain hourly xp? (y/n)

Current is Yes. Reconcuddly - Today at 3:21 PM Yes y CorpBotXP-AnasotHostBOT - Today at 3:21 PM Require Online set to Yes. What should the minimum role be to use the xp system? (type everyone to give all users access)

Current is Everyone. Reconcuddly - Today at 3:21 PM everyone CorpBotXP-AnasotHostBOT - Today at 3:21 PM Minimum xp role set to Everyone. Would you like to give server admins unlimited xp reserve? (y/n)

Current is No. Reconcuddly - Today at 3:21 PM n CorpBotXP-AnasotHostBOT - Today at 3:21 PM Unlimited xp reserve for admins set to No. Would you like me to auto-promote users based on xp? (y/n) - You'll be able to set which roles can be promoted to - and their xp requirements.

Current is Yes. Reconcuddly - Today at 3:21 PM y CorpBotXP-AnasotHostBOT - Today at 3:21 PM XP promote set to Yes. Would you like me to auto-demote users based on xp? (y/n) - You'll be able to set which roles can be demoted to - and their xp requirements.

Current is Yes. Reconcuddly - Today at 3:21 PM y CorpBotXP-AnasotHostBOT - Today at 3:21 PM XP demote set to Yes. To set up your xp promotion/demotion roles - use the $addxprole [role] [required xp] and $removexprole [role] in the main chat. As an anti-spam protection measure, I have a cooldown between each picture I can display. What would you like this cooldown delay to be (in seconds)?

Current is 2. Reconcuddly - Today at 3:21 PM 2 CorpBotXP-AnasotHostBOT - Today at 3:21 PM Anti-spam picture cooldown is now 2! Would you like me to ignore users when I get too hungry (I always listen to admins)? (y/n)

Current is No. Reconcuddly - Today at 3:21 PM no CorpBotXP-AnasotHostBOT - Today at 3:21 PM Hunger lock set to No. What would you like the default volume of the music player to be? (values can be 1-100)

Current is 1. Reconcuddly - Today at 3:21 PM 1 CorpBotXP-AnasotHostBOT - Today at 3:21 PM Default volume is now 1! Setup Status for Anasor Server:

COMPLETE

Thanks, BinaryPony, for hanging out with me and getting things setup. If you want to explore my other options - feel free to check them all out with $help.

Also - I work best in an admin role and it needs to be listed above any roles you would like me to manage.

Thanks!

recondiscord commented 7 years ago

The name anasorhostbot, is my company, in case I put this to show that it is the anasor company that keeps the bot, we are a community, and we currently maintain several bots online, in case I loved the idea of ​​your bot, and how It is easily moldable, it is even better, since thus it can attend to all :+1: :1st_place_medal:

corpnewt commented 7 years ago

Just make sure that you credit me if you share the code or talk about the bot's internal workings ;) Other than that, he's free to mold, share, edit, etc!

recondiscord commented 7 years ago

Its description of my bot

Creator corpnewt GitHub: https://github.com/corpnewt This bot Is free, and Code is GPL

Creator XP system : Corpnewt Modded by : ReconCuddly Host Bot : Anasor Community

corpnewt commented 7 years ago

Perfect! Thanks man :)

recondiscord commented 7 years ago

Anything just call me in the discord Reconcuddly#3240