Code Monkey home page Code Monkey logo

mafia-quickplay-discordbot's People

Contributors

blueriiver avatar darthwolf13 avatar dylanpiera avatar zachieblade avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

mafia-quickplay-discordbot's Issues

Update Readme

This would include explanation on the game and how to use the bot.

It will not yet include the invite link, and a notice will be put up that it still is tested privately and won't be online 24/7 on those testing servers.

Bot message spam

Would be good if you could limit the bot to only one of each message type per 5 seconds... Such as if multiple users request a !tally at the same time, only respond once.

OC possibility

The possibility to start an OC by stating /OC .
This may create a seperate channel in which those players can talk privately.

General Setup Creation Problems

Any setup related issues can be posted here.

Issues so far:

  • Accepts emotes but doesn't register them. (Provided by Lone_Garurumon)
  • Show name instead of mention
  • Make sure the PM creator can only be opened once by each user. (No double running)
  • Exit exits all events, not just one from said person. (Provided by Darthwolf13)

Parameters

Allow commands that don't require parameters to have parameters instead of failing silently.

Recognise edited posts

In Discord, it is possible to edit posts but it is generally frowned upon to edit your post, and usually against the rules.

The bot should be able to recognise if a post has been edited.

Instant vote confirmation

I think the bot should give feedback when someone votes to let them know their vote has been registered.

Possibility of game modes

Giving the possibility for the !host command to have parameters like "Town of Salem" or "One Night Ultimate Werewolf".
This will then activate that game mode.

Add End of Game

Every phase there needs to be a check if the game should end,

after a (10?) timeout, the channels will be deleted and a new game can be started.

Automated Kick

If someone has joined but does not ready for a long time, automated kick.

Add Night Phase

Scum get a message that they can vote, they get the time to vote.

  • Night ends after everyone has locked their actions ( #9 optional)
  • Night ends after X minutes (tbd)

Create Subbing Mechanic

If a player is inactive people can vote to sub him out or a mod can force it and someone else can take over their spot

Recognise no lynch

Have the bot recognise when someone
!vote no lynch
instead of voting a player.

Hyper Majority / SkipDay Vote / Lock Vote

what should be the case:

  • Have a lock vote mechanic where the day would end when hyper majority of >50% is achieved with locked votes

  • Have a Hyper Majority mechanic where after reaching hyper majority of (66%?) a 1 min timer would run till end of phase

  • Skip day vote mechanic where if (66%?) vote this the day would end early

!mod command

A !mod command that if enough players use together, would pause the game and summon a moderator that can fix anything that has gone wrong, either with the bot or with a problematic player.

Semi-Auto-Hosting - A way to add Flavor Text

Subconscious Drift - Today at 3:04 PM
The bot handles role flips, phase ends/starts, etc, but there's a human host that posts flavor

This could be a cool mechanic we might add later on, we'll have to look into the specifics though, as these games are focused around being fast-paced, and a human-host (who might go inactive randomly in a game) could form problems.

On Bot Shutdown disconnect from discord

Currently the Bot doesn't disconnect on application shutdown,
we can make/find an event that runs on shutdown of the console application and disconnect from the discord servers so it doesn't need time to timeout but instead immediately logs out

To Be added role Suggestions

Current planned roles:

Alpha:

  • Vanilla
  • Goon

Version 1

  • Doctor
  • Cop
  • Godfather

Version 1.3:

  • Restless Spirit
  • Roleblocker
  • Rolecop

To be Determined

  • Survivor

Suggestions are welcome!

If you have a suggestion to add to the list, we'll add it and determine when we wanna try to add it! If multiple people back a suggestion it'll move up in priority!

End of game Tie handling

While testing today, Lone brought up a good point
if Doctor & Mafioso survive it should be a tie.

Anti-Cheat - Make bot aware if a player posts their role PM

Another solution might be to make all role PM's available public as for now the plan is not to change the flavor text between games or between setups, that wouldn't work if we do decide to do multiple flavor texts for one role though.

Bot playing

Let the bot be playing "Mafia v"&currentVersion.

Add Spectators

Spectator mode would allow people to view both the game and mafia chat but not being able to post in there.

!version

Displays current version of the bot, useful to see what I trew into the cloud.

Variable bot settings

What I would like to see added is variable bot settings.. So you, an admin or a mod can change bot settings - such as day phrase length - on the fly without having to recompile and restart the bot

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.