New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

koishi-plugin-dicey-dungeons

Package Overview
Dependencies
Maintainers
1
Versions
50
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

koishi-plugin-dicey-dungeons - npm Package Compare versions

Comparing version 1.0.6 to 1.0.7

10

lib/index.js

@@ -47,3 +47,3 @@ "use strict";

"治愈水晶": { descriptions: "[1-3]回复□生命值", austerity: 1, dice: '1-3', quantities: 1, harm: '□', Category: ['回复'] },
"木质盾牌": { descriptions: "[1-4]获得□点护盾", austerity: 1, dice: '1-3', quantities: 1, harm: '□', Category: ['护盾'] },
"木质盾牌": { descriptions: "[1-4]获得□点护盾", austerity: 1, dice: '1-4', quantities: 1, harm: '□', Category: ['护盾'] },
"复制": { descriptions: "[4-6]复制1个骰子", austerity: 1, dice: '4-6', quantities: 1, harm: '□', Category: ['复制'] },

@@ -83,3 +83,3 @@ "铲": { descriptions: "颠倒1个骰子", austerity: 3, dice: '', quantities: 1, harm: '□', Category: ['颠倒'] },

const { userId, guildId, username } = session;
return `══骰子地下城══\n加入对战 创建对战\n对战信息 销毁对战\n结束对战 结束回合\n状态说明 BUG反馈\n游戏介绍 关于作者\nTips:对战建议一个群聊一个对战`;
return `══骰子地下城══\n加入对战 创建对战\n对战信息 销毁对战\n结束对战 结束回合\n状态说明 BUG反馈\n游戏介绍 关于游戏\nTips:对战建议一个群聊一个对战`;
});

@@ -155,6 +155,6 @@ ctx.command('骰子地下城')

const dice_group = await ctx.database.get('dice_group', { guildId });
await ctx.database.remove('dice_group', { guildId });
await ctx.database.remove('dice_player', { userId: dice_group?.[0]?.Play_1_userId });
await ctx.database.remove('dice_player', { userId: dice_group?.[0]?.Play_2_userId });
if (dice_group?.[0]?.Play_1_userId == userId || dice_group?.[0]?.Play_2_userId == userId) {
await ctx.database.remove('dice_group', { guildId });
await ctx.database.remove('dice_player', { userId: dice_group?.[0]?.Play_1_userId });
await ctx.database.remove('dice_player', { userId: dice_group?.[0]?.Play_2_userId });
return `══骰子地下城══\n->重置对战成功`;

@@ -161,0 +161,0 @@ }

{
"name": "koishi-plugin-dicey-dungeons",
"description": "中文名:骰子地下城 双人回合对战",
"version": "1.0.6",
"version": "1.0.7",
"main": "lib/index.js",

@@ -6,0 +6,0 @@ "typings": "lib/index.d.ts",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc