我想将引导程序行分为五列,但设备有12个单位。如何将其分为五个?
答案 0 :(得分:0)
对每一列使用const Discord = require("discord.js");
let coins = require("../coins.json");
module.exports.run = async (bot, message, args) =>{
//coins
if(!coins[message.author.id]){
coins[message.author.id] = {
coins: 0
};
}
let uCoins = coins[message.author.id].coins;
let coinEmbed = new Discord.RichEmbed()
.setAuthor(message.author.username)
.setColor("#6666ff")
.addField("", uCoins);
message.channel.send(coinEmbed).then(message => {message.delete(50000)});
}
module.exports.help = {
name: "coins"
}
还使用col-*-2
将列居中(因为一个不必要的列(12/2 = 6))
justify-content-center