Commit
·
99ab9b1
1
Parent(s):
eb9372d
Delete files .bash_history .index.html with huggingface_hub
Browse files- .bash_history +0 -59
.bash_history
DELETED
|
@@ -1,59 +0,0 @@
|
|
| 1 |
-
. #LoveSongs
|
| 2 |
-
mkdir discord-bot && cd discord-bot
|
| 3 |
-
npm init -y
|
| 4 |
-
npm install discord.js dotenv
|
| 5 |
-
mkdir video-gen-bot
|
| 6 |
-
cd video-gen-bot
|
| 7 |
-
npm init -y
|
| 8 |
-
npm install discord.js dotenv
|
| 9 |
-
touch index.js .env
|
| 10 |
-
cat > index.js << 'EOF'
|
| 11 |
-
require('dotenv').config();
|
| 12 |
-
const { Client, GatewayIntentBits } = require('discord.js');
|
| 13 |
-
|
| 14 |
-
const client = new Client({
|
| 15 |
-
intents: [
|
| 16 |
-
GatewayIntentBits.Guilds,
|
| 17 |
-
GatewayIntentBits.GuildMes
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
jwerjwer
|
| 21 |
-
wejrsages,
|
| 22 |
-
GatewayIntentBits.MessageContent
|
| 23 |
-
]
|
| 24 |
-
});
|
| 25 |
-
|
| 26 |
-
client.once('ready', () => {
|
| 27 |
-
console.log(`🤖 Logged in as ${client.user.tag}`);
|
| 28 |
-
});
|
| 29 |
-
|
| 30 |
-
client.on('messageCreate', async (message) => {
|
| 31 |
-
if (message.author.bot) return;
|
| 32 |
-
|
| 33 |
-
if (message.content === '!ping') {
|
| 34 |
-
await message.reply('🏓 Pong!');
|
| 35 |
-
}
|
| 36 |
-
|
| 37 |
-
if (message.content.startsWith('!say ')) {
|
| 38 |
-
const text = message.content.replace('!say ', '');
|
| 39 |
-
await message.channel.send(text);
|
| 40 |
-
}
|
| 41 |
-
});
|
| 42 |
-
|
| 43 |
-
client.login(process.env.DISCORD_TOKEN);
|
| 44 |
-
EOF
|
| 45 |
-
|
| 46 |
-
node index.js
|
| 47 |
-
flutter --version
|
| 48 |
-
help
|
| 49 |
-
cls
|
| 50 |
-
clear
|
| 51 |
-
hf
|
| 52 |
-
pip install huggingface_hub[cli]
|
| 53 |
-
hf
|
| 54 |
-
hf auth login
|
| 55 |
-
hf auth whoami
|
| 56 |
-
hf upload ThongCoder/vscode-public-data /home/vscode/ / --repo-type dataset
|
| 57 |
-
hf upload -h
|
| 58 |
-
hf upload ThongCoder/vscode-public-data /home/vscode/ / --repo-type dataset
|
| 59 |
-
hf upload ThongCoder/vscode-public-data /home/vscode/ / --repo-type dataset --exclude .cache/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|