mirror of
https://github.com/ChomeNS/chomens-bot-mc.git
synced 2025-02-17 06:40:17 -05:00
remove myuser
bye :(
This commit is contained in:
parent
946fd88d36
commit
4520e95620
1 changed files with 0 additions and 34 deletions
|
@ -1,34 +0,0 @@
|
|||
/* eslint-disable max-len */
|
||||
module.exports = {
|
||||
name: 'myuser',
|
||||
alias: [],
|
||||
description: 'Shows your username (not nickname)',
|
||||
usage: '',
|
||||
trusted: 0,
|
||||
execute: function(bot, username, usernameraw, sender, prefix, args) {
|
||||
bot.tellraw('@a',
|
||||
[
|
||||
{
|
||||
text: 'Your username is: ',
|
||||
color: 'white',
|
||||
},
|
||||
{
|
||||
text: bot.getplayerusername[sender],
|
||||
color: 'gold',
|
||||
clickEvent: {
|
||||
action: 'copy_to_clipboard',
|
||||
value: bot.getplayerusername[sender],
|
||||
},
|
||||
hoverEvent: {
|
||||
action: 'show_text',
|
||||
contents: [
|
||||
{
|
||||
text: 'Click here to copy the username to your clipboard',
|
||||
color: 'green',
|
||||
},
|
||||
],
|
||||
},
|
||||
},
|
||||
]);
|
||||
},
|
||||
};
|
Loading…
Reference in a new issue