Improve PHP bot - Roll dice claiming system


I currently have a custom PHP Discord bot that syncs with wordpress. Users can !claim a woocommerce order and it will send them some details for the order. They do this by typing !claim ORDER# (!claim 3423).

Right now, the claim system goes to the first user to type !claim. I need it to instead allow multiple users to claim then roll a dice for each user. Giving the highest rolled user the order.

1. Up to 3 users can claim

2. After 3 users have typed !claim or after 30 seconds (timer starts when first user !claims an order), the bot will roll a dice 1-10 for each user

3. If the users with the top roll are tied, it will need to reroll the dice

4. There needs a seniority system. Our database records +1 for every order completed for each user. Of the three users claiming the order, the user with the most orders should get a +2 to their roll. The second highest gets a +1 to his final roll and the last place gets +0 (I have the code that will display this count for the current user)

5. If roll is greater than 10 then roll = 10

6. If the order is older than 10 minutes, it should not roll, it should just do the normal claim system

[login to view URL] possible, don't store the rolls in the database

In short, users claim an order. It rolls a dice for each user. They get bonus points based on claimers seniority. Highest roll will need to trigger the already made code that sends order details.

Habilidades: MySQL, PHP, WordPress

Veja mais: roll dice flash, php bot form submit, messenger php bot, discord dice bot, dicebot scripts, duck dice bot, roll dice flash project, roll dice flash cs3, php bot post form, php bot irc autorespondedor, php bot data, php bot source code, hi5 php bot, php bot proxies, php bot irc facebook, php bot extract data, The current μC/OS-III is task-centric instead of data oriented. Design and implement a datacentric programming interface, where

Acerca do Empregador:
( 2 comentários ) Raleigh, United States

ID do Projeto: #18705361

Concedido a:


Description is clear so not much to ask. I've written bunch of bots (including discord) so... count me in because this project sounds like fun.

$180 USD em 2 dias
(9 Comentários)

6 freelancers estão ofertando em média $215 para esse trabalho


Dear hiring manager, I am a professional Web developer, I have gone through the project description. My Work : ( Laravel ) [login to view URL] [login to view URL] ( Codeigniter Mais

$300 USD in 3 dias
(45 Comentários)

Hey there, I am very excited for applying over your requirements, we always seeking the opportunity to build the long term relationships with our clients by providing exceptional services. We are ready to get starte Mais

$277 USD in 3 dias
(14 Comentários)

Hi I am experienced PHP developer with more than 8 years in the industry. I can complete the project within your timeline and budget. Let me know how soon we can start . Thanks

$250 USD in 5 dias
(9 Comentários)

Hello,Hope you are doing Great ! Let me introduce myself, I am a full stack web developer having more than 5 years experience in this field.I have a verified track record of projects deliver on time with accuracy, e Mais

$30 USD em 1 dia
(1 Comentário)

I believe that my experience and skill in this background will prove to be of great help to you. Contact me to discuss more on the details

$250 USD in 4 dias
(0 Comentários)