Bypass zero width space
This commit is contained in:
parent
eb3a0f8467
commit
329faa1fd6
1 changed files with 1 additions and 1 deletions
2
index.js
2
index.js
|
@ -61,7 +61,7 @@ client.on("interactionCreate", (int) => {
|
||||||
if(int.commandName == "ping"){
|
if(int.commandName == "ping"){
|
||||||
int.reply(`Pong! (${client.ws.ping} ms)`);
|
int.reply(`Pong! (${client.ws.ping} ms)`);
|
||||||
} else if(int.commandName == "rps"){
|
} else if(int.commandName == "rps"){
|
||||||
var shape = int.options.getString("firstmove").toLowerCase();
|
var shape = int.options.getString("firstmove").toLowerCase().replace("", "");
|
||||||
if(!shapes.includes(shape)) return int.reply("That isn't a valid shape.");
|
if(!shapes.includes(shape)) return int.reply("That isn't a valid shape.");
|
||||||
var msgRow = new dc.MessageActionRow();
|
var msgRow = new dc.MessageActionRow();
|
||||||
var rockButton = new dc.MessageButton();
|
var rockButton = new dc.MessageButton();
|
||||||
|
|
Loading…
Reference in a new issue