Galarzaa90 / NabBot

Discord bot for Tibia servers
https://nabbot.xyz
Apache License 2.0
52 stars 25 forks source link

Rework character registration and stalk command #81

Closed Galarzaa90 closed 6 years ago

Galarzaa90 commented 6 years ago

The character registration system needs some changes, specially unregistering. Instead of permanently deleting a character upon unregistering, along with all his level ups and deaths, a deleted field should be added.

The stalk command needs to be reworked, so they can't be abused or cause irreversible damage to the database.

This, along with /claim (#80) will make /stalk a bit less necessary.

Galarzaa90 commented 6 years ago

In commit f2f2960, /imnot was changed, now it only sets the character's user_id to 0 instead of completely deleting it and its entries.

The delete field won't be used.

Galarzaa90 commented 6 years ago

/stalk subcommands are now stand alone commands. They all have been moved to the admin cog (only users with the manage server permission can use them).

/namelock was moved to the owner cog.