무법지대다.
class Bot { name; owner; constructor(name, owner) { this.name = name; this.owner = owner; } }
class Punishment { rule; content; constructor(r, punish) { this.rule = r; this.punishment = punish; } }
let server = {
name: "무법지대",
bots: [new Bot("someFunBot", "serverOwner")]
};
$.getJSON("./RULE_channel.json", function(data) {
rules = data["rule"];
spaghetti = "You should not do bad things.";
rules.push(spaghetti);
spaghetti_punish = new Punishment(spaghetti, "ban");
console.log(rules, spaghetti_punish);
})
bd = {a: "an", ly: "ainst"
console.log(`You can do ${bd.a}ything that does not go ag${bd.ly} the rules.`)
console.log(`The name is 장식.`)
console.log( `Jo in u snow.`)