All Projects → molenzwiebel → Impostor

molenzwiebel / Impostor

Automatic Discord muting for Among Us! No installs necessary, just enter the code, join the voice channel, and you're off!

Programming Languages

typescript
32286 projects

Projects that are alternatives of or similar to Impostor

Calypsobot
A fully customizable bot built with discord.js
Stars: ✭ 131 (-6.43%)
Mutual labels:  discord-bot, discord
Pokeball Selfbot Poketwo Automation
This specific selfbot was designed to automatically catch pokemon spawned on Discord by Poketwo bot. It also offers other utility functions to automate features like trading, releasing, id search, etc. Currently the autocatcher is powered by AI making it possible to autocatch pokemons on multiple bots like PokeTwo, PokeRealm, etc.
Stars: ✭ 131 (-6.43%)
Mutual labels:  discord-bot, discord
Discljord
A Clojure wrapper library for the Discord API, with full API coverage (except voice, for now), and high scalability
Stars: ✭ 111 (-20.71%)
Mutual labels:  discord-bot, discord
Cyberdisc Bot
The bot for the Cyber Discovery Community Discord Server!
Stars: ✭ 108 (-22.86%)
Mutual labels:  discord-bot, discord
Yuudachi
Discord moderation bot
Stars: ✭ 123 (-12.14%)
Mutual labels:  discord-bot, discord
Dtel
Telephone roleplay bot on Discord
Stars: ✭ 108 (-22.86%)
Mutual labels:  discord-bot, discord
Invite Manager Bot
A discord bot that tracks invites and much more
Stars: ✭ 113 (-19.29%)
Mutual labels:  discord-bot, discord
Pengubot
Official PenguBot GitHub Repository
Stars: ✭ 98 (-30%)
Mutual labels:  discord-bot, discord
Bot
An open-source and self-hosted ticket management bot for Discord - a free alternative to the premium and white-label plans of other popular ticketing bots.
Stars: ✭ 122 (-12.86%)
Mutual labels:  discord-bot, discord
Modmail
A feature-rich Discord bot for easy communication between server staff and users.
Stars: ✭ 115 (-17.86%)
Mutual labels:  discord-bot, discord
Possumbot
A bot that will allow you to destroy discord servers.
Stars: ✭ 106 (-24.29%)
Mutual labels:  discord-bot, discord
Discord Bot
A discord bot that can play music, moderate, log events and more
Stars: ✭ 127 (-9.29%)
Mutual labels:  discord-bot, discord
Sir Lancebot
A Discord bot started as a community project for Hacktoberfest 2018, later evolved to an introductory project for aspiring new developers starting out with open source development.
Stars: ✭ 105 (-25%)
Mutual labels:  discord-bot, discord
Discord.js Musicbot Addon
This DOES NOT WORK any more. This repo only serves as an archive for is anyone wants to pickup my work. You may still join the discord however.
Stars: ✭ 109 (-22.14%)
Mutual labels:  discord-bot, discord
Music Bot
Simple music bot with a full-blown queue system that is easy to understand
Stars: ✭ 102 (-27.14%)
Mutual labels:  discord-bot, discord
Rowboat
A Discord bot for managing large communities
Stars: ✭ 111 (-20.71%)
Mutual labels:  discord-bot, discord
Discordbot
A Java Discord bot using JDA
Stars: ✭ 92 (-34.29%)
Mutual labels:  discord-bot, discord
Nitro Generator
Discord Nitro Code Generator and Checker. Generates Classic and Boost Nitro Codes. Using HTTPS Proxy (Autoscraper)
Stars: ✭ 93 (-33.57%)
Mutual labels:  discord-bot, discord
Discord Panel
📊 User friendly dashboard/tool for discord bot developpers to manage servers
Stars: ✭ 116 (-17.14%)
Mutual labels:  discord-bot, discord
Discord.js
discord.js is a powerful Node.js module that allows you to easily interact with the Discord API.
Stars: ✭ 16,432 (+11637.14%)
Mutual labels:  discord-bot, discord

Impostor

Discord

This is the source code for the Discord bot and Among Us client that compromise Impostor. Note that Impostor is not intended for self-hosting (although it is theoretically possible), so if you want Impostor on your Discord server the easiest solution is to simply click here.

Demo

Demo Thumbnail

Components

This project consists of two components, creatively named bot and client. Bot is the Discord part written in TypeScript that handles all the logic around command handling, session management, member voice channel moving, etc. Client is a simple C# implementation of the Among Us networking protocol, just barely enough to connect to the lobby, fetch player data and emit events. Bot launches a client instance for every lobby, reading events from client through stdout.

Developing Bot

To get started with developing the bot, you'll need to install dependencies. First of all you need to have Node.js installed. After that, simply run npm/yarn install to get all the dependencies needed.

./node_modules/.bin/tsc -w will start a watching TypeScript compiler that will automatically compile the TypeScript source to JavaScript. After that, simply configure your .env by copying the template and filling in values, then run node dist/index.js to start the bot.

Note that you will also need a PostgreSQL database for running the bot.

Developing Client

For the client, be sure to clone the repository with submodules enabled, then simply open the solution in client/ to develop. You can also use the dotnet CLI to build the client, using dotnet build.

Step-by-Step Instructions for Self-Hosting Impostor

  1. Install Node.js + npm, .NET Core, PostgreSQL, and any others needed.
  2. Clone the repository recursively (git clone --recursive https://github.com/molenzwiebel/Impostor)
  3. Navigate to .env.template, duplicate the file, rename to .env, and fill in the blanks. The result will look something like this:
DISCORD_TOKEN=<your token here>
AU_CLIENT_DIR=../client/bin/Debug/netcoreapp3.1
DATABASE_URL=postgresql://postgres:<your password here>@localhost:5432/postgres
  1. Update the code associated with the emojis in bot/src/constants.ts (add the ID, name, etc)
  2. Navigate to /bot in your cmd/PowerShell/terminal
  3. Run npm install to install dependencies.
  4. Run ./node_modules/.bin/tsc to compile TypeScript to JavaScript.
  5. Run node dist/index.js (pm2 is recommended to keep it running for long periods)
  6. Change directory to /client
  7. Open cmd/PowerShell/terminal and run dotnet build

Note: When using Linux, I recommend setting up a .sh file to simplify the process when rebooting the bot, as some bugs in the code require a restart.

License

MIT

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].