I hereby claim:
- I am monoverde888 on github.
- I am monoverde (https://keybase.io/monoverde) on keybase.
- I have a public key ASBOxeiA9_0Um-zuaIlldv8u6rxrPFKMy0Bvj8-FgoR9sQo
To claim this, I am signing this object:
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
//potente | |
const { app, BrowserWindow, protocol } = require('electron'); | |
// Handle creating/removing shortcuts on Windows when installing/uninstalling. | |
if (require('electron-squirrel-startup')) { // eslint-disable-line global-require | |
app.quit(); | |
} | |
let cmdArgs = process.argv.slice(2); |
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
NzQ3NDc5NzkyNjA5MjYzNjI2.X0Pezg.YIysVK4WJhluY9HQBvomNwZAllQ |
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
a |
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 moment = require('moment'); | |
const momentDurationFormatSetup = require("moment-duration-format"); | |
const Discord = require("discord.js"); | |
const { startsWith } = require('ffmpeg-static'); | |
module.exports = (client, message, args) => { | |
const actividad = moment.duration(client.uptime).format(" D [dias], H [hrs], m [mins], s [secs]");//hacemos un const actividad para que el uptime salga en formato de dias, horas, minutos y segundos | |
const stats = new Discord.MessageEmbed()//definimos embed | |
.setAuthor("Infinity", client.user.avatarURL()) | |
.setThumbnail(client.user.avatarURL())//hacemos un setAuhtor para que salga el nombre de tu bot y su foto de perfil | |
.addField("Developer", `${client.config.tagdev}`)//un field para el Developer pones tu nombre |
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
vps@vmi419830:~$ npm install | |
> @discordjs/opus@0.3.2 install /home/infinitybot/node_modules/@discordjs/opus | |
> node-pre-gyp install --fallback-to-build | |
node-pre-gyp WARN Using needle for node-pre-gyp https download | |
node-pre-gyp WARN Tried to download(404): https://github.com/discordjs/opus/releases/download/v0.3.2/opus-v0.3.2-node-v72-napi-v3-linux-x64-glibc-2.31.tar.gz | |
node-pre-gyp WARN Pre-built binaries not found for @discordjs/opus@0.3.2 and node@12.18.2 (node-v72 ABI, glibc) (falling back to source compile with node-gyp) | |
make: Entering directory '/home/infinitybot/node_modules/@discordjs/opus/build' | |
CC(target) Release/obj.target/libopus/deps/opus/src/opus_multistream.o |
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
Microsoft Windows [Versión 10.0.19041.329] | |
(c) 2020 Microsoft Corporation. Todos los derechos reservados. | |
C:\Users\Usuario1\Desktop\infinitybot>npm start | |
> infinitybot@0.0.2 start C:\Users\Usuario1\Desktop\infinitybot | |
> echo Iniciando bot.. && node bot.js | |
Iniciando bot.. | |
Bot iniciado correctamente, soy Infinity#9449 |
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
C:\Users\Usuario1\Desktop\infinitybot\comandos\join.js:7 | |
const connection = await message.member.voice.channel.join() | |
^^^^^ | |
SyntaxError: await is only valid in async function | |
at wrapSafe (internal/modules/cjs/loader.js:1047:16) | |
at Module._compile (internal/modules/cjs/loader.js:1097:27) | |
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1153:10) | |
at Module.load (internal/modules/cjs/loader.js:977:32) |
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
C:\Users\Usuario1\Desktop\infinitybot>npm start | |
> infinitybot@1.0.0 start C:\Users\Usuario1\Desktop\infinitybot | |
> echo Iniciando bot.. && node bot.js | |
Iniciando bot.. | |
Bot iniciado correctamente, soy [bot privado] | |
Unido a un canal de voz | |
C:\Users\Usuario1\Desktop\infinitybot\comandos\join.js:7 | |
connection.play(fs.createReadStream('test.ogg'), { type: 'ogg/opus' }); |