Skip to content

Bot migration notes

Robert Konigsberg edited this page Oct 28, 2023 · 7 revisions

I created a new local git repo

  1. Copied all the files from Pylon the repo. There's no way to download all the code at once, so sadly, it's a big copy/paste operation.
  2. One of the major compiler issues is the discord component, using the IDE I shift-clicked the discord entry and found lib.pylon.discord.d.ts. Copied that into a dedicated pylon directory.
  3. Same for pylon and lib.pylon.d.ts.
  4. I tweaked a little code but undid as much of it as I could remember so I could...
  5. git init; git commit -a
  6. Removing declarations from the pylon files that cross with lib.dom.
  7. Added these two lines to every file
/// <reference path="../pylon/lib.pylon.d.ts" />
/// <reference path="../pylon/lib.pylon.discord.d.ts" />

with the .. replaced with other prefixes as necessary.

Clone this wiki locally