Skip to content
This repository has been archived by the owner on Jul 7, 2021. It is now read-only.

Commit

Permalink
First Release! v0.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
CosasDePuma committed Mar 23, 2018
1 parent cc05a0b commit e8da84d
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion main.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ let win

function createWindow() {
win = new BrowserWindow({
width: 800, height: 600,
width: 400, height: 350,
titleBarStyle: 'hidden',
show: false, frame: false,
transparent: true, resizable: false
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
{
"name": "chappie",
"version": "0.0.1",
"version": "0.1.0",
"description": "Suraei's Twitch Bot",
"main": "main.js",
"scripts": {
"start": "electron .",
"test": "electron . --disable-gpu --force-cpu-draw",
"build": "electron-packager ."
},
"repository": {
Expand Down
6 changes: 3 additions & 3 deletions pet.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@
h1 {
font-family: Pixel;
position: absolute;
top: 5%;
top: 9%;
left: 47.5%;
transform: translate(-50%, -50%);
}

img {
margin-top: 5%;
margin-top: 9%;
}

.dialog {
Expand All @@ -29,7 +29,7 @@
</style>

</head>
<body style="-webkit-app-region: drag">
<body style="-webkit-app-region: drag; background-color: #00ff00">
<div align=center>
<img id="pet"/>
<h1 id="msg"></h1>
Expand Down
4 changes: 2 additions & 2 deletions pet.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Conseguimos los elementos de la ventana
// Conseguimos los elementos de la ventana
const msg = document.getElementById('msg')
const pet = document.getElementById('pet')

Expand Down Expand Up @@ -96,7 +96,7 @@ var chappie = new tmi.client(options);
// Rutina al conectarse
chappie.on("connected", function(address, port) {
console.log("[*] Bot conectado")
chappie.say(owner, "Chappie... estar... ¡vivo!")
//chappie.say(owner, "Chappie... estar... ¡vivo!")
})

// Rutina al leer un mensaje del chat
Expand Down

0 comments on commit e8da84d

Please sign in to comment.