Rework AI and add more stats

This commit is contained in:
Aslan 2025-12-28 17:35:36 +01:00
parent 29832dfce3
commit c8de53bfc7
14 changed files with 197 additions and 169 deletions

View file

@ -61,17 +61,21 @@ const onHelp = (_text: string, roomId: string) => {
client.sendHtmlMessage(
roomId,
"",
`<h3>Role: User</h3>
`<h3>Role: Any</h3>
<ul>
<li><b>!ping</b> - Pong!</li>
<li><b>!info</b> - Prints information about this bot</li>
<li><b>!say {text}</b> - Repeats your message</li>
<li><b>!bowling {text}</b> - Repeats your message in bowling</li>
<li><b>!help</b> - Prints this help message</li>
<li><b>!level</b> - Prints your level and experience</li>
<li><b>!me</b> - Prints your role, level, experience, money and ai cost</li>
<li><b>!leaderboard</b> - Prints total user ranking</li>
<li><b>!aileaderboard</b> - Prints total user ai cost</li>
</ul>
<h3>Role: User</h3>
<ul>
<li><b>!ai {text}</b> - Say something to Gemini 3</li>
<li><b>!img {text}</b> - Generate an image (also works with "{name} when/ked {text}")</li>
<li><b>!img {text}</b> - Generate an image</li>
</ul>
<hr/>
<h3>Role: Moderator</h3>
@ -85,7 +89,7 @@ const onHelp = (_text: string, roomId: string) => {
<li><b>!setrole {user} {role}</b> - Set role for a user</li>
<li><b>!shutdown</b> - Shutdown bot</li>
</ul>
<h4>AsloBot version ${packageConfig.version}</h4>`,
<h4>AsloBot version ${packageConfig.version}</h4>`,
);
};