Skip to content
This repository has been archived by the owner on Jun 24, 2024. It is now read-only.

Commit

Permalink
Update index.js
Browse files Browse the repository at this point in the history
  • Loading branch information
vigneshd332 authored Jun 11, 2020
1 parent 6910ad4 commit a7bb5e9
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -208,11 +208,16 @@ client.on('message', async message => {
return;
} else if (message.content.startsWith(`${process.env.prefix}noncify`)) {
var pieces = message.content.split(' ');
if(pieces.length>=2) {
var user = pieces[1];
message.channel.send('Hello I am Chris Hansen, and ' + user + ' is offcially a nonce!');
var nonce = 'user nonce';
pieces = nonce.split(' ');
image(message, pieces);
}
else {
message.channel.send("Please mention a user");
}
return;
} else {
return;
Expand Down

0 comments on commit a7bb5e9

Please sign in to comment.