eliza icon indicating copy to clipboard operation
eliza copied to clipboard

chore: added config to whitelist the telegram users

Open tungpun opened this issue 11 months ago • 1 comments

Relates to:

Risks

Background

What does this PR do?

This PR adds functionality to allow developers to whitelist Telegram users, granting them access to the bot.

What kind of change is this?

Features (non-breaking change which adds functionality)

Documentation changes needed?

Testing

Where should a reviewer start?

Detailed testing steps

tungpun avatar Dec 19 '24 08:12 tungpun

Like this enhancement. I recently added one to whitelist Telegram groups.

Honestly think this might make more sense within the characters client config, similar to what I added.

You'll need to modify the types for the character file, but keeps the ENV less cluttered.

Reference: https://github.com/ai16z/eliza/blob/main/packages/core/src/types.ts

image

And you can see how that was/is used in the messageManager.ts file for reference.

azep-ninja avatar Dec 19 '24 15:12 azep-ninja

Hello,

We are changing our plugin development strategy to be more scalable. We have moved the plugins out into their own repos and we're looking for people to either maintain those or own them on their own Github.

Please make your code changes to this repo: https://github.com/elizaos-plugins/client-telegram

If you'd like to be a maintainer, file an issue in the plugin repo and join our Discord https://discord.gg/elizaos to coordinate.

If you'd like to control the plugin on your own Github, please add an issue to the plugin repo pointing to your repo, and add a modification to the registry. Submit a PR to edit the registry here: https://github.com/elizaos-plugins/registry

Closing this PR for now. Let us know if you have any questions

odilitime avatar Feb 23 '25 03:02 odilitime