Skip to content
This repository has been archived by the owner on Dec 31, 2021. It is now read-only.

Commit

Permalink
Ban Command
Browse files Browse the repository at this point in the history
  • Loading branch information
bombitmanbomb committed Mar 31, 2020
1 parent b9f230c commit 8702d19
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 6 deletions.
1 change: 1 addition & 0 deletions Lang/en
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
"Addons":"Addons",
"Misc":"Misc",
"Kick":"Kick",
"Ban":"Ban",
"Roles":"Roles",
"System":"System",
"Visual":"Visual",
Expand Down
1 change: 1 addition & 0 deletions Lang/jp
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
"Addons":"アドオン",
"Misc":"キック",
"Kick":"キック",
"Ban":"バン",
"Roles":"役",
"System":"システム",
"Visual":"視覚",
Expand Down
1 change: 1 addition & 0 deletions Pages/ServerManager.html
Original file line number Diff line number Diff line change
Expand Up @@ -264,6 +264,7 @@
}
addElement('UserListInner', 'div', '0', '', `<div class="list-group-item"><p style="">${session.Vars._Users[i].username} <span id="ROLE-${session.Vars._Users[i].username}" class="badge ${badge}">${translatedRole}</span></p>
<button type="button" class="btn btn-sm btn-danger" style="" onclick="sendCommand('kick ${session.Vars._Users[i].username}',false)">${strings.getString("Menu.Kick")}</button>
<button type="button" class="btn btn-sm btn-danger" style="" onclick="sendCommand('ban ${session.Vars._Users[i].username}',false)">${strings.getString("Menu.Ban")}</button>
<div class="btn-group btn-sm" role="group">
<button id="btnGroupDrop3" type="button" style="" class="btn btn-sm btn-info dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">${strings.getString('Menu.Roles')} </button>
<div class="dropdown-menu" aria-labelledby="btnGroupDrop3" style="">
Expand Down
6 changes: 3 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"author": "Ethan Snow",
"license": "GNU GPLv3",
"dependencies": {
"@bombitmanbomb/neosjs": "^1.1.5",
"@bombitmanbomb/neosjs": "^1.1.6",
"bootstrap": "^4.4.1",
"compare-versions": "^3.6.0",
"css.gg": "^1.0.6",
Expand Down
3 changes: 1 addition & 2 deletions start.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,7 @@ const {
Tray,
remote
} = electron;
const NeosAPI = require('Neos.js')
console.log(new NeosAPI.CloudXInterface)
const NeosAPI = require('@bombitmanbomb/neosjs')
/**
* Window Manager
*/
Expand Down

0 comments on commit 8702d19

Please sign in to comment.