archived-bot icon indicating copy to clipboard operation
archived-bot copied to clipboard

[suggestion] Let users create their own aliases with ;;alias

Open sidesvvipe opened this issue 8 years ago • 7 comments

Not sure how you'd implement this for non self hosted bot but this would be really usefully to have

sidesvvipe avatar Apr 29 '17 09:04 sidesvvipe

Can you elaborate? Do you mean allowing server admins to create aliases, or allowing selfhosters to configure a list of aliases?

freyacodes avatar Apr 29 '17 09:04 freyacodes

Both ideally, but I was thinking about first option - allowing admins to do ;;alias

sidesvvipe avatar Apr 29 '17 09:04 sidesvvipe

Why both? Wouldn't the first just make the second mostly obsolete?

freyacodes avatar Apr 29 '17 09:04 freyacodes

looking away ashamed of own stupidity yeah...

sidesvvipe avatar Apr 29 '17 09:04 sidesvvipe

The only thing you'd need for this is a database with a really fast access. Not sure what FredBoat currently uses, but redis for example could work.

Almighty-Alpaca avatar Apr 29 '17 09:04 Almighty-Alpaca

We use Postgres

freyacodes avatar Apr 29 '17 09:04 freyacodes

We actually cache our entities with ehcache, so it wouldn't really cause much delay, even if the database is located on a different continent

freyacodes avatar Apr 29 '17 09:04 freyacodes