Rizbot
File:WikiBot Rizbot Image.png
Description A bot that automatically updates Rizline pages with game data.
Creator User:TadeLn
Source code GitLab
License GNU General Public License v3.0

A bot created by User:TadeLn that automatically updates Rizline data on the wiki. Source code is available on GitLab.

Status

Last login

Last login to Rizbot occurred at: 2025-01-10T18:35:41.947939211Z (using mediawiki-rizbot)

Last processing results

Results from 2025-01-10T17:49:12.395195221Z:

87 total | 87 successful, 0 errors | 43 updated pages, 44 unchanged pages

Rizline:The Next Arcady - Page edited successfully

Rizline:Eschatology - Page edited successfully

Rizline:Macro.wav - Page edited successfully

Rizline:ILLEGAL LEGACY - Page edited successfully

Rizline:V!rtuaresort - Page edited successfully

Rizline:LEONIDS - Page edited successfully

Rizline:漂流 - Page edited successfully

Rizline:BRAVE:ROAD - Page edited successfully

Rizline:Clock Paradox - Page edited successfully

Rizline:Alexandrite - Page edited successfully

Rizline:Midnight Flux - Page edited successfully

Rizline:Puppet Show - Page edited successfully

Rizline:Lost Future - Page edited successfully

Rizline:Super Universe (Knighthood Remix) - Page edited successfully

Rizline:On And On!! - Page edited successfully

Rizline:Dice 20 - Page edited successfully

Rizline:Electric Comet - Page edited successfully

Rizline:Comet Coaster - Page edited successfully

Rizline:Psychometry - Page edited successfully

Rizline:Hydra - Page edited successfully

Rizline:Journey To The Rainbows - Page edited successfully

Rizline:Authentic (Game ver.) - Page edited successfully

Rizline:Lavender Leaf (feat. Lexi) - Page edited successfully

Rizline:Vicious Mockery - Page edited successfully

Rizline:D-Birth - Page edited successfully

Rizline:NO ONE YES MAN - Page edited successfully

Rizline:Bring Me Back - Page edited successfully

Rizline:Conway's Child - Page edited successfully

Rizline:LINK x LIN-S - Page edited successfully

Rizline:蒼天 (Sta's Key-Kai mix) - Page edited successfully

Rizline:Dot-Line (feat. ななひら) - Page edited successfully

Rizline:Avataar ~Reincarnation of Kalpa~ - Page edited successfully

Rizline:R.I.P. - Page edited successfully

Rizline:Pastel Lines - Page edited successfully

Rizline:Disc 2 - Page edited successfully

Rizline:Sound effects - Page edited successfully

Rizline:Bio - Page edited successfully

Rizline:Disc 1 - Page edited successfully

Rizline:Disc EX - Page edited successfully

Rizline:Coin - Page edited successfully

Rizline:List of songs - Page edited successfully

Rizline:NightTheater - Page unchanged

Rizline:Grimheart - Page unchanged

Rizline:SAtElLites - Page unchanged

Rizline:Relieve - Page unchanged

Rizline:Power Attack - Page unchanged

Rizline:Intruder - Page unchanged

Rizline:Restricted Access - Page unchanged

Rizline:Turning POINT - Page unchanged

Rizline:天灵灵地灵灵 - Page unchanged

Rizline:Enneaquest - Page unchanged

Rizline:The Last Page - Page unchanged

Rizline:Reversed Zenith - Page unchanged

Rizline:Contortion - Page unchanged

Rizline:CANDYLAND - Page unchanged

Rizline:FORTALiCE - Page unchanged

Rizline:竹 - Page unchanged

Rizline:Empire - Page unchanged

Rizline:Contact - Page unchanged

Rizline:F℟IEND - Page unchanged

Rizline:Tempest - Page unchanged

Rizline:Encrux - Page unchanged

Rizline:Revenant - Page unchanged

Rizline:Antler - Page unchanged

Rizline:Afterdark - Page unchanged

Rizline:Hullbreaker - Page unchanged

Rizline:Abiogenesis - Page unchanged

Rizline:Skyscape - Page unchanged

Rizline:MilK - Page unchanged

Rizline:Shattered - Page unchanged

Rizline:DOMINATOR - Page unchanged

Rizline:Arcade ViruZ - Page unchanged

Rizline:Sthenno - Page unchanged

Rizline:Slic.hertz - Page unchanged

Rizline:Kaguya - Page unchanged

Rizline:DropDown - Page unchanged

Rizline:Polygons - Page unchanged

Rizline:Paradial Resonator - Page unchanged

Rizline:Crimsonate - Page unchanged

Rizline:Colorful Flavor - Page unchanged

Rizline:Abgrund - Page unchanged

Rizline:Giselle - Page unchanged

Rizline:Sakura Fubuki - Page unchanged

Functionality and scope

This bot is a work-in-progress. Currently not all functionality is implemented.

Input

The bot fetches JSON data from the following pages to generate blocks of wikitext:


Output

When run, the bot automatically updates:

Planned functionality includes automatic updating and generation of:

  • Song statistics - note counts, colors, etc.
  • Asset tables for songs

Usage

When run, the bot searches the wiki for specific markers within HTML comments (described below), and finds the appropriate function to use. It then replaces the text between the BEGIN and END markers with generated content. If the content is different from what it was originally, the bot makes an edit and saves the new version of the page.

Currently the bot is ran manually by User:TadeLn. If you need the bot to be ran, you can ask User:TadeLn to do so, by sending a message on Discord, or sending an e-mail via the wiki.

The sections that the bot should edit are indicated manually with markers:

  • <!-- ## RIZBOT BEGIN command_name [arg1 [arg2...]] ## -->, and
  • <!-- ## RIZBOT END command_name ## -->,

where command_name is the type of the section that the bot should generate (for example, rizline_song_info_box, or rizline_song_stats). All command names are described below. Additional space-separated arguments may be added after the section_type in the BEGIN marker.

Warning: It is important to remember that anything that is between the BEGIN and END markers will be overwritten. Manual changes to the content in-between the markers will be lost when the bot will be launched again.

Rizline Song Info Box (rizline_song_info_box)

To generate a song info box using Rizbot, use the following syntax:

<!-- ## RIZBOT BEGIN rizline_song_info_box RizlineLevelID ## -->
<!-- ## RIZBOT END rizline_song_info_box ## -->
  • RizlineLevelID - Internal ID of the level for which to generate the info box.
    • For example: PastelLines.RekuMochizuki.0 - Generate a song info box for Pastel Lines. Used in: Rizline:Pastel Lines.
    • If song data associated with this ID cannot be found, an error will occur.

Rizline Song List (rizline_song_list)

To generate a list of songs using Rizbot, use the following syntax:

<!-- ## RIZBOT BEGIN rizline_song_list ListType ## -->
<!-- ## RIZBOT END rizline_song_list ## -->
  • ListType - One of the values below, indicating the type of the list.
    • all - Generate a list of all songs. Used in: Rizline:List of songs.
    • disc_1 - Generate a list of songs in Disc 1. Used in: Rizline:Disc 1.
    • disc_2 - Generate a list of songs in Disc 2. Used in: Rizline:Disc 2.
    • disc_ex - Generate a list of songs in Disc EX. Used in: Rizline:Disc EX.
    • coin - Generate a list of songs purchasable with coins. Used in: Rizline:Coin.
    • Any other value will cause an error.