Skip to content

ail3ngrimaldi/bot-matrix-sdk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bot-matrix-sdk

Using the matrix-sdk for Rust to develop a bot that provides the latest news about the Kusama community.

Usage

To implement this code for any Matrix user you own, follow these steps:

  1. Set your password as an environment variable in a file named .env placed in the main directory.
  2. Modify line 52 of main.rs to include your own username and homeserver.
  3. Once you have made these changes, navigate to the src directory and run cargo run.

Current features

As of 05-19-23, this code allows you to sync your user and view the messages you send and receive through your terminal. Additionally, your user can automatically join any public room it is invited to.

Upcoming features

In the coming days, I will be adding new actions to the code, including:

  • Commands where the bot can respond to various queries.
  • The ability to fetch and update the latest news from the Kusama community and governance. This feature can be configured to update once a day, once a week, or on demand (specific timing is yet to be defined).

About

Bot created using matrix-sdk and sube

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages