Skip to content

Cubing-at-Home/cubingathome-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cubing At Home Discord Bot

INVITE

This is the custom bot originally created for the Cubing@Home Discord server, but constantly expanding with more cubing-related features.

Commands

Please see the docs for command documentation.

Bug Reporting/Feature Request

Please open an issue in this repo using bug_report.md and clearly describe the issue. To request a new feature, please use feature_request.md.

Acknowledgement

The code in /utils/scrambling is primarily from cs0x7f/cstimer. The kilo scrambling is adapted from this gist, from @xyzzy on the speedsolving forums, found in this thread.

The logic in /utils/visualizer is also from cs0x7f/cstimer, specifically the Draw Scramble tool function. However, it is heavily edited so that it works with canvas-node rather than the intended web canvas. It can also be used stand-alone as a way to generate scrambles for almost any event using Node JS. The main function in image.js returns an image buffer, but can be modified to return a png, canvas object, etc..

The icons in /utils/icons are from cubing/icons, converted to png because of how annoying it is to use svgs in Discord.js embeds.

Other resources used include: