Skip to content

Commit

Permalink
Update chat.js
Browse files Browse the repository at this point in the history
  • Loading branch information
huolongguo1O authored Aug 15, 2023
1 parent 4a27357 commit 54b0f6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion commands/core/chat.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import {
isAdmin,
isModerator,
} from '../utility/_UAC.js';
var crypto=require('crypto')
import crypto from 'crypto';
export const MAX_MESSAGE_ID_LENGTH = 16;
/**
* The time in milliseconds before a message is considered stale, and thus no longer allowed
Expand Down

0 comments on commit 54b0f6e

Please sign in to comment.