Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Kry9toN committed Jan 22, 2021
1 parent e577ad9 commit 17a128e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion krypton.js
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ async function krypton () {

const sudo = await databaseView('SELECT * FROM sudo')
const sList = JSON.stringify(sudo)
client.isSudo = sList.includes(sender.id)
client.isSudo = sList.includes(client.sender)

// Logging Message
if (!client.isGroup && isCmd) console.log('\x1b[1;31m~\x1b[1;37m>', '[\x1b[1;32mEXEC\x1b[1;37m]', time, color(commandName), 'client.from', color(client.sender.split('@')[0]), 'args :', color(args.length))
Expand Down

0 comments on commit 17a128e

Please sign in to comment.