#Trade Bot

1 messages · Page 1 of 1 (latest)

uncut phoenix
#

https://pastebin.com/ZwsHuxrf

I understand this is in nextcord not getting much help from them. I do not care what library this is in.

Here is it explained:

The bot is trigged by

Traded with @user

Then @user replies with "confirmed"

This bot is meant for a server with roles 1-100 and 200 300 400 500 all the way to 1000 in hundred roles. Basicly the issue I am running into is that I need to make the bot support past 100 starting back at 1. Then once you got a number like 100 99 it should asign 200 and remove 100 and 99 on the next trade. Then starts back at 100. This would continue until the max being 1000.

offering nitro for working / updated code*

torpid fulcrum
#

still

uncut phoenix
#

ive tried there already

potent palm
#

Probably a function to separate 100s 10s and 1s and return a sequence of roles/IDs for each

boreal pulsar
tropic bear
#

wait you're saying this Bot should work with 1000 roles? iirc guilds can't have that much roles though

potent palm
#

No.

#

Say a user has 137 confirmed trades via the bot

They have three roles
100, 30, 7

#

So there will be like 109 total roles created.
1-100, then one for each hundred, up to 1000.

tropic bear
#

ic

#

it's weird

potent palm
#

Yeah

uncut phoenix
boreal pulsar
#

if your levelling system is so granular, does it make sense or even is it worth it to do this?

#

you can't hoist via the system since it's split up

#

and why not just one for each digit instead of 100+ roles