Skip to content

MasterRon/klcord

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

klcord

A basic Discord bot for getting keyboard layout information, powered by the Keynergy library.

Usage

!layout

Add to your servers

Use this link to add the bot to your server!

Contributing

Adding or editing layouts

  • If you're adding a new layout, duplicate an existing one to use as reference.
  • If there is no website for the layout, or you don't know it, you can either set link = "" or just get rid of the whole line. If the layout has a website, but it isn't in the bot, please add it!
  • If you don't know what year the layout was released, just set it to 0. If you do know the release year, but it's not there, please add it!
  • Keep map as {}, it won't work without this.
  • If the layout has more than three rows, set home_row to the index where the home row is, starting at 0. This isn't important for the bot right now, but it's good future-proofing.
  • If the layout has a thumb row, set thumb_row to the index where the thumb row is, starting at 0.

Code

KLCord has a very simple codebase right now. Even if you're not great at Rust yet, it shouldn't be very hard to work with! Take a look at the Issues if you want to work on something. You might want a basic familiarization with Keynergy and Serenity.

About

A basic discord bot for getting keyboard layout information.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 90.3%
  • Python 9.7%