MCPcopy Index your code
hub / github.com/codebymitch/TitanBot / getWarningCount

Method getWarningCount

src/services/warningService.js:67–70  ·  view source on GitHub ↗
(guildId, userId)

Source from the content-addressed store, hash-verified

65 }
66
67 static async getWarningCount(guildId, userId) {
68 const warnings = await this.getWarnings(guildId, userId);
69 return warnings.length;
70 }
71
72 static async removeWarning(guildId, userId, warningId) {
73 try {

Callers

nothing calls this directly

Calls 1

getWarningsMethod · 0.95

Tested by

no test coverage detected