1
0
Fork 0
mirror of https://github.com/syuilo/ai.git synced 2025-03-25 21:12:56 +00:00
This commit is contained in:
L̷O̷N̷D̷O̷N̷少林 2025-01-21 11:31:06 -05:00 committed by GitHub
parent a7e19674e4
commit a8926f927f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -57,13 +57,13 @@ export default class extends Module {
@bindThis
private async mentionHook(msg: Message) {
if (msg.includes(['迷路'])) {
if (msg.includes(['maze'])) {
let size: string | null = null;
if (msg.includes(['接待'])) size = 'veryEasy';
if (msg.includes(['簡単', 'かんたん', '易しい', 'やさしい', '小さい', 'ちいさい'])) size = 'easy';
if (msg.includes(['難しい', 'むずかしい', '複雑な', '大きい', 'おおきい'])) size = 'hard';
if (msg.includes(['死', '鬼', '地獄'])) size = 'veryHard';
if (msg.includes(['']) && msg.includes(['本気'])) size = 'ai';
if (msg.includes(['Entertainment'])) size = 'veryEasy';
if (msg.includes(['easy', 'easy', '易しい', 'やさしい', '小さい', 'ちいさい'])) size = 'easy';
if (msg.includes(['hard', 'difficult', '複雑な', '大きい', 'おおきい'])) size = 'hard';
if (msg.includes(['very hard', 'extreme', '地獄'])) size = 'veryHard';
if (msg.includes(['Indigo']) && msg.includes(['Serious'])) size = 'ai';
this.log('Maze requested');
setTimeout(async () => {
const file = await this.genMazeFile(Date.now(), size);