This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package latihanpbo; | |
import java.util.Scanner; | |
public class Penjualan { | |
public static void main(String[] args) { | |
// inisialisasi Scanner untuk mendeksi inputan | |
Scanner in = new Scanner(System.in); | |
// membuat Menu Interface | |
System.out.println("+================+================+==========+"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const Discord = require("discord.js") | |
const moment = require('moment'); | |
const _fs = require("fs"); | |
const packages = JSON.parse(_fs.readFileSync('./package.json', 'utf-8')); | |
require('moment-duration-format'); | |
const os = require('os'); | |
let cpu = os.cpus(); | |
exports.run = (client, message, args, tools) => { | |
const duration = moment.duration(client.uptime).format(" D [days], H [hrs], m [mins], s [secs]"); |
NewerOlder