vscode-public-data / workspace /.bash_history
ThongCoder's picture
Upload folder using huggingface_hub
06227db
raw
history blame
1.31 kB
. #LoveSongs
mkdir discord-bot && cd discord-bot
npm init -y
npm install discord.js dotenv
mkdir video-gen-bot
cd video-gen-bot
npm init -y
npm install discord.js dotenv
touch index.js .env
cat > index.js << 'EOF'
require('dotenv').config();
const { Client, GatewayIntentBits } = require('discord.js');
const client = new Client({
intents: [
GatewayIntentBits.Guilds,
GatewayIntentBits.GuildMes
jwerjwer
wejrsages,
GatewayIntentBits.MessageContent
]
});
client.once('ready', () => {
console.log(`🤖 Logged in as ${client.user.tag}`);
});
client.on('messageCreate', async (message) => {
if (message.author.bot) return;
if (message.content === '!ping') {
await message.reply('🏓 Pong!');
}
if (message.content.startsWith('!say ')) {
const text = message.content.replace('!say ', '');
await message.channel.send(text);
}
});
client.login(process.env.DISCORD_TOKEN);
EOF
node index.js
flutter --version
help
cls
clear
hf
pip install huggingface_hub[cli]
hf
hf auth login
hf auth whoami
hf upload ThongCoder/vscode-public-data /home/vscode/ / --repo-type dataset
hf upload -h
hf upload ThongCoder/vscode-public-data /home/vscode/ / --repo-type dataset
hf upload ThongCoder/vscode-public-data /home/vscode/ / --repo-type dataset --exclude .cache/