Werewolves VIP Official
galax-bot-talk
<@102036304845377536>
205 messages
Werewolves VIP Bot BOT 30-Nov-18 03:52 AM
Look, look! Over @here, a new conspiracy channel has been created!
Lord of Galaxy 30-Nov-18 03:52 AM
See
!list
Werewolves VIP Bot BOT 30-Nov-18 03:52 AM
Werewolves Season SVIP3
bot
@marhjo
Creator
🦈 - The Shadow
Lord of Galaxy 30-Nov-18 03:53 AM
Oh damn
Lord of Galaxy 30-Nov-18 08:41 AM
@Vyryn in case I haven't told already, to end the poll use !endPoll <id>
You should be able to find the ID in the game-log channel
Once you end the poll, it will print the results and delete the old messages
Neater that way
Try it once
Vyryn 30-Nov-18 10:58 PM
oh nice. good to know for the future
Lord of Galaxy 01-Dec-18 02:32 AM
@Vyryn one more problem, sometimes the bot fails to add an emoji in the polls. If that happens, do !checkPoll <id>
And did you not kill Joke's on you?
Vyryn 01-Dec-18 02:33 AM
I gave him dead participant, why?
He's dead
Lord of Galaxy 01-Dec-18 02:33 AM
To kill a player you should do !kill <mention/emoji>
Vyryn 01-Dec-18 02:33 AM
!kill @Cubuzz
Werewolves VIP Bot BOT 01-Dec-18 02:33 AM
@Vyryn, killed @Cubuzz
Vyryn 01-Dec-18 02:33 AM
!kill @marhjo
Werewolves VIP Bot BOT 01-Dec-18 02:33 AM
@Vyryn, killed @marhjo
Lord of Galaxy 01-Dec-18 02:33 AM
Otherwise it messed up some stuff
Vyryn 01-Dec-18 02:34 AM
!makePoll o test
Werewolves VIP Bot BOT 01-Dec-18 02:34 AM
@Vyryn, !makePoll o is an unknown command.
Vyryn 01-Dec-18 02:34 AM
um what's the poll command again
Lord of Galaxy 01-Dec-18 02:34 AM
create
Vyryn 01-Dec-18 02:34 AM
!createPoll o test
Werewolves VIP Bot BOT 01-Dec-18 02:34 AM
@Vyryn, !createPoll o is an unknown command.
Lord of Galaxy 01-Dec-18 02:34 AM
Oh no sorry
!startPoll
Werewolves VIP Bot BOT 01-Dec-18 02:34 AM
@Lord of Galaxy, I'm sorry, but you don't have permission to run that command!
Vyryn 01-Dec-18 02:34 AM
!startPoll o test
!help command?
Werewolves VIP Bot BOT 01-Dec-18 02:35 AM
@Vyryn, !help command? is an unknown command.
Lord of Galaxy 01-Dec-18 02:35 AM
No help sorry
Next version
Vyryn 01-Dec-18 02:35 AM
For now can you make a message with some important commands that I can pin in the GM chat?
Lord of Galaxy 01-Dec-18 07:30 AM
Ok
Important commands: !g opensignups - open sign-ups !g startseason - close sign-ups,start the season. Automatically updates the roles (signed-up to Participant) !g kill <emoji/mention> - kills a player, updates roles (participant to dead participant) !g revive <emoji/mention> - undoes kill !g endseason - anyone alive is given the dead participant role, and some clean up of bot data is done !p startPoll <type (o/l/c/w)> <Message> - starts a poll !p checkPoll <id> - if a poll has some missing emojis, add them !p endPoll <id> - end a poll, and print it's results (only prints who voted for whom, doesn't tell you who winner is, since some votes can count double etc etc)
Those are all the important ones
Vyryn 01-Dec-18 11:06 PM
Thanks
HurricanKai 02-Dec-18 09:09 AM
🤔
Lord of Galaxy 02-Dec-18 09:32 AM
Hmm
Lord of Galaxy 02-Dec-18 06:02 PM
Oh figured it out
I guess Vyryn removed some reactions the bot had added in some poll. Is that correct @Vyryn?
Easy fix
Added to TODO list
Do tell me about as many bugs as you can so that I can fix them by next version
Lord of Galaxy 02-Dec-18 06:15 PM
The code is obviously a mess though so don't expect it to ever become neat (edited)
Unless I feel everything from scratch which could be quite boring
HurricanKai 02-Dec-18 06:40 PM
no worries
Vyryn 02-Dec-18 11:20 PM
Yeah I removed some reactions when I didn't know how to make the bot not show those people
Vyryn 06-Dec-18 09:05 AM
We'll keep this channel in case we run into any bot issues.
Lord of Galaxy 06-Dec-18 09:05 AM
Ok
Lord of Galaxy 10-Dec-18 09:13 AM
Where did my TODO list vanished?
I thought it was here...
HurricanKai 10-Dec-18 03:36 PM
no, it was in some CC
Lord of Galaxy 10-Dec-18 03:37 PM
Great
And the CC is gone
And I have successfully forgotten everything
How do I keep doing this...
Vyryn 11-Dec-18 02:24 AM
This is the bot cc you made, just renamed.
HurricanKai 11-Dec-18 09:42 AM
There were two
Lord of Galaxy 11-Dec-18 04:52 PM
Ya
And I forgot to fix the bot today. Thankfully we have an extra day
Vyryn 11-Dec-18 11:18 PM
Good to start tomorrow then?
Lord of Galaxy 12-Dec-18 05:51 AM
I made the first small fix already Now I'm trying to remember what and all I'm supposed to be doing
Any ideas?
Vyryn 12-Dec-18 06:07 AM
uhhh
Lord of Galaxy 12-Dec-18 06:10 AM
This is hilarious
Normally I forget stuff, and to prevent that I made a TODO list
Now the list is gone
Vyryn 12-Dec-18 06:11 AM
okay um
limit signups to x number of people
restart/reset so a new game can begin through a command alone
command for players to see how long until day/night is supposed to change, and another command to set this (not do day/night automatically, just set it so the bot can say "5 hours left to the time the gm's set as day, 4pm est") - this could be set daynight 1600 24 or something like that (edited)
help command that lists the usable commands
Lord of Galaxy 12-Dec-18 06:14 AM
The time can be complicated because of timezones, I'm not sure if it will work properly
Limiting sign-ups and help I can do
Restarting game with a command I guess I can do but I'm not sure of it
Vyryn 12-Dec-18 06:16 AM
not sure if you know how, or not sure if it's wise? (edited)
Lord of Galaxy 12-Dec-18 06:17 AM
Not sure if I know how. It might break something somewhere But I'm sure I'll pull it off, given enough time
Vyryn 12-Dec-18 06:18 AM
cool
no rush
perhaps a !night command or something that sends a reminder/ping to each night user's channel to request their ability
The only thing I'd say is high priority, though, is a help that lists the commands
Lord of Galaxy 12-Dec-18 06:21 AM
Help will take bit of time (edited)
Vyryn 12-Dec-18 06:21 AM
okay
Lord of Galaxy 12-Dec-18 06:21 AM
A couple days I gues
Vyryn 12-Dec-18 06:22 AM
we have this list from you for now
Important commands: !g opensignups - open sign-ups !g startseason - close sign-ups,start the season. Automatically updates the roles (signed-up to Participant) !g kill <emoji/mention> - kills a player, updates roles (participant to dead participant) !g revive <emoji/mention> - undoes kill !g endseason - anyone alive is given the dead participant role, and some clean up of bot data is done !p startPoll <type (o/l/c/w)> <Message> - starts a poll !p checkPoll <id> - if a poll has some missing emojis, add them !p endPoll <id> - end a poll, and print it's results (only prints who voted for whom, doesn't tell you who winner is, since some votes can count double etc etc) Those are all the important ones
Lord of Galaxy 12-Dec-18 06:22 AM
Yep
That is for GMs ofc
Vyryn 12-Dec-18 06:35 AM
yeah, though that's the only list I have right now
Lord of Galaxy 12-Dec-18 06:53 AM
I am currently thinking about a new system that would make help much easier to handle, along with having some other benefits
But it will take some work to implement
Vyryn 12-Dec-18 06:59 AM
up to you
Lord of Galaxy 12-Dec-18 07:05 AM
What and all do you need immediately before you can start a game?
Ah and I need to handle Spectators too For now only CCs because of time constraints but next version the bot will completely handle Spectators
Vyryn 12-Dec-18 07:44 AM
ah yeah spectators, frozen and dead, though I think you were handling them more or less correctly
I don't think there's anything vital in order to start the next game
Lord of Galaxy 12-Dec-18 10:21 AM
Alright then
I'll do the easy stuff first
Spectator done
Later I'll add a spectate command
But not now
Next thing to do is help
Which will take time
Vyryn 12-Dec-18 10:52 PM
👍
Vyryn 13-Dec-18 05:04 AM
@Lord of Galaxy looks like !g startseason only gave about half the signed up people the participant role
Lord of Galaxy 13-Dec-18 05:14 AM
Hmm
That shouldn't have happened...
@HurricanKai what error does it show?
Also, for startPoll did you update config?
With the new channel IDs
Lord of Galaxy 13-Dec-18 05:55 AM
You know I just realised that that whole 'type' thing in polls is useless, since the bot doesn't handle mayor and all
Vyryn 13-Dec-18 08:37 AM
yeah, though I figured you had that planned for some point down the road
Lord of Galaxy 13-Dec-18 08:46 AM
I don't quite know what I had planned lol
Lord of Galaxy 13-Dec-18 12:01 PM
Okay so now I've added a system to limit number of players
Not uploaded to GitHub yet
HurricanKai 14-Dec-18 04:23 PM
@Lord of Galaxy do i really have to delete console to make stuff work? i cant git pull like this :c
Lord of Galaxy 14-Dec-18 04:26 PM
No can do
I haven't set up gitignore
Lord of Galaxy 14-Dec-18 04:27 PM
Thanks
I don't know myself what the logs contain, but worst case scenario they can contain a list of all the CCs. No way for me to get roles for anyone
I learnt nothing new
Lol
The logs were of no real use
And I wonder why I'm not logging the stack trace of all errors
HurricanKai 14-Dec-18 04:38 PM
<@&486067182623784961>
just saw them, they might help ¯\_(ツ)_/¯
looks like both bots started as usual
(updated both)
Lord of Galaxy 14-Dec-18 04:40 PM
Most important thing to do - set up a gitignore
I'll rename config.json to config-template.json
HurricanKai 14-Dec-18 07:26 PM
i did
Lord of Galaxy 15-Dec-18 07:22 AM
Are you sure you got the channel IDs correct?
@HurricanKai
HurricanKai 15-Dec-18 10:15 AM
I'll check again, but I think so
Lord of Galaxy 15-Dec-18 12:25 PM
Guild IDs too
HurricanKai 15-Dec-18 12:27 PM
Though again I can only check in the evening, at my father's place today.
Lord of Galaxy 15-Dec-18 12:28 PM
Ok
Because the polls part was working before, I can't understand what would make it stop working
HurricanKai 17-Dec-18 09:34 AM
@Lord of Galaxy did you implement un-signuping people yet?
Lord of Galaxy 17-Dec-18 10:08 AM
I think I did
Yeah I did
But what I don't know is if I have uploaded it to GitHub
Wait I'll check
Lord of Galaxy 17-Dec-18 10:25 AM
@HurricanKai ya it's there
Command is g remove <emoji/mention>
HurricanKai 17-Dec-18 10:34 AM
thanks
it seems to error 🤔
Lord of Galaxy 17-Dec-18 12:45 PM
What error?
HurricanKai 17-Dec-18 01:40 PM
[!] TypeError: First argument must be a string, Buffer, ArrayBuffer, Array, or a rray-like object. at Function.Buffer.from (buffer.js:183:11) at Object.exports.toBase64 (C:\Users\BotMaster\Desktop\Bots\Main_Werewolves\ utils.js:30:17) at C:\Users\BotMaster\Desktop\Bots\Main_Werewolves\game.js:373:69 at new Promise (<anonymous>) at Object.exports.resolve_to_id_all (C:\Users\BotMaster\Desktop\Bots\Main_We rewolves\game.js:363:9) at Object.exports.commands.remove (C:\Users\BotMaster\Desktop\Bots\Main_Were wolves\game.js:83:10) at module.exports (C:\Users\BotMaster\Desktop\Bots\Main_Werewolves\msg_handl er.js:117:35) at Client.client.on.msg (C:\Users\BotMaster\Desktop\Bots\Main_Werewolves\ind ex.js:65:4) at emitOne (events.js:116:13) at Client.emit (events.js:211:7) [!] ReferenceError: removePlayer is not defined at exports.resolve_to_id_all.then (C:\Users\BotMaster\Desktop\Bots\Main_Were wolves\game.js:84:3) at <anonymous>
Lord of Galaxy 17-Dec-18 02:41 PM
The second error is because I'm abysmally stupid
At line 84 in game.js it should be removeUser not removePlayer
@HurricanKai ^ can you do that?
The first is probably not a big issue, it won't happen if the command is used in the proper way
Lord of Galaxy 20-Dec-18 07:00 AM
We need to figure out why the polls suddenly stopped working @HurricanKai
Can you help with that?
HurricanKai 20-Dec-18 07:23 AM
Sure (edited)
Lord of Galaxy 20-Dec-18 09:51 AM
Check that all the channel IDs are correct
Lord of Galaxy 20-Dec-18 10:54 AM
I've got so many versions of the not lying around that I'm not sure which one works rn 😓
Vyryn 31-Jan-19 10:36 PM
Pinned a message.
Lord of Galaxy 01-Feb-19 08:27 AM
What happened?
Lord of Galaxy 20-Jul-19 06:21 PM
BTW @Game Master there's probably quite a few people who haven't played in any of the last three games With the exception of a few people, most have refused to even give any reason for it, and don't even bother to reply. I recommend giving all of them the @Inactive role too
WhyThough 20-Jul-19 06:22 PM
might be worth naming a few names
Lord of Galaxy 20-Jul-19 06:23 PM
My memory isn't so good. If you give me temporary access to the game-log channel, however, I shall be more than willing to compile a list
WhyThough 20-Jul-19 06:23 PM
you should have access to it now
Lord of Galaxy 20-Jul-19 06:23 PM
I think dead participants have access BTW
Oh ok thanks
Give me a few mins
Oh I forgot to add one message last time, I'm just doing it this time
There's Illio and Bart who never really said whh they haven't played
One more person seems to have left the server as I'm pretty sure there were three
WhyThough 20-Jul-19 06:30 PM
didn't bart recently join
Lord of Galaxy 20-Jul-19 06:30 PM
Eh
I think he's been around for three games, not surr
*surr
He was among the first of the most recent wave
WhyThough 20-Jul-19 06:31 PM
yes, it's been 2 games since then if I can count correctly
I'll give illio the inactive role though
Lord of Galaxy 20-Jul-19 06:31 PM
Ah yes
Only two
BTW this doesn't include inactivity in game
But I guess that's too subjective so no point
That would add ubq too BTW
And either Ts or marhjo, but I'm not sure who
WhyThough 20-Jul-19 06:33 PM
I think it's best I leave ts and marhjo alone
Lord of Galaxy 20-Jul-19 06:33 PM
Yeah
Ubq will probably be kicked sooner or later anyways, as soon as Vyryn decides to do a purge based on playing performance
WhyThough 20-Jul-19 06:34 PM
yeah
Lord of Galaxy 20-Jul-19 06:34 PM
Yeah, that's about it
Vyryn has certainly kicked a person or two recently, I just can't remember who
Lord of Galaxy 20-Jul-19 06:59 PM
That. That. That is why we no longer have as good games
They better not blame you if this list turns out to be unbalanced because they never thought of it themselves (edited)
WhyThough 20-Jul-19 07:00 PM
oh dear
if it comes to that
Lord of Galaxy 20-Jul-19 07:01 PM
Wdym? (edited)
WhyThough 20-Jul-19 07:01 PM
if it comes to that I will lose hope in absolutely everything
Lord of Galaxy 20-Jul-19 07:02 PM
Are referring to my second statement or first
WhyThough 20-Jul-19 07:02 PM
second
Lord of Galaxy 20-Jul-19 07:02 PM
Ah ok
Yes, certainly
I hope not though