We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e302c95 commit 38ef73cCopy full SHA for 38ef73c
src/bot/util/discord.ts
@@ -228,7 +228,6 @@ export const AVATAR_IMAGE_SIZE = 512;
228
* @param n The maximum number of characters for the returned string
229
* @param cutoffIndicator A string added at the end of the result only if the
230
* input string needed to be cut down. Defaults to a single-character ellipsis.
231
- * @see https://discord.com/developers/docs/resources/audit-log#audit-log-entry-object
232
*/
233
export function truncate (str: string, n: number, cutoffIndicator = '\u2026') {
234
if (str.length <= n) {
0 commit comments