koishi-plugin-toram 0.2.2-alpha.13 → 0.2.2-alpha.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/index.js +1 -1
- package/package.json +1 -1
package/lib/index.js
CHANGED
|
@@ -77,7 +77,7 @@ async function apply(ctx, config) {
|
|
|
77
77
|
}
|
|
78
78
|
;
|
|
79
79
|
const { nickname } = await session.onebot.getGroupMemberInfo(session.guildId, session.userId, true);
|
|
80
|
-
await ctx.database.upsert('toram_team', [{ id: `${session.guildId}${session.userId}`, form: session.guildId, member_id: session.userId, member_name: nickname,
|
|
80
|
+
await ctx.database.upsert('toram_team', [{ id: `${session.guildId}${session.userId}`, form: session.guildId, member_id: session.userId, member_name: nickname, until_Unix: 截止时间date.getTime(), until_string: 截止时间, content: 组队内容 }]);
|
|
81
81
|
return '成功发布求组信息到组队大厅!';
|
|
82
82
|
});
|
|
83
83
|
ctx.command('组队大厅 [页码]').action(async ({ session }, 输入页码) => {
|