Skip to content

🤖 AccessTime-integrated Discord bot for assigning roles to subscribers based on on-chain access rights. Built with discord.js + AccessTime SDK.

License

Notifications You must be signed in to change notification settings

accesstimeio/discord-bot

Repository files navigation

discord-bot

This is an open-source Discord bot that integrates with AccessTime to manage roles based on on-chain subscription data. Server admins can verify project ownership, assign roles, and users can link wallets to gain access.

🌐 Features

Admin Commands

  • /setup — Connect your AccessTime project (projectId, chainId, role) and get a unique nonce.
  • /verify — Sign a message and verify ownership using the contract's on-chain owner.
  • /sync — Trigger a manual sync of subscriber roles (auto-runs every 5 minutes).
  • /info — View current bot setup status and synced user stats.

User Commands

  • /linkwallet — Get a message to sign with your wallet.
  • /completelinkwallet — Submit your signed message and wallet address.
  • /unlinkwallet — Remove your wallet link and access role.

⚙️ Tech Stack

🛠️ Contributing

PRs welcome! Feel free to fork, customize, or submit issues.

📄 License

MIT

About

🤖 AccessTime-integrated Discord bot for assigning roles to subscribers based on on-chain access rights. Built with discord.js + AccessTime SDK.

Topics

Resources

License

Stars

Watchers

Forks