Skip to content

Conversation

@DavidZhang22
Copy link
Contributor

ViBot [8.12.1] (REQUIRED)

Changelog (REQUIRED)

Features

Changes

  • suspend when overwriting an old suspension now creates a new suspension, and marks the old suspension as overwritten by the new suspension issuer.

Bugs

Quality of Life

Summary (IF APPLICABLE)

Overview

Examples

@DavidZhang22 DavidZhang22 requested a review from a team as a code owner January 31, 2024 05:20
if (settings.lists.discordRoles.map(role => settings.roles[role]).includes(r.id)) return
userRoles.push(r.id)
userRolesString = userRolesString.concat(`${r.id} `)
db.query(`SELECT reason FROM suspensions WHERE id = ? AND suspended = ? `, [member.id, true], async (err, rows) => {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

await db.promise().query(...) instead? Unless you want to spin off this async promise instead.

@Ragviswa Ragviswa linked an issue Feb 4, 2024 that may be closed by this pull request
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

;pu does not show overwritten suspensions

3 participants