Questions tagged [chat]

To chat is to talk in a friendly and informal way. A chatroom is a place where two or more users can post messages to talk with each other. A chat service is a service providing two or more users with the ability to communicate.

Filter by
Sorted by
Tagged with
4
votes
4answers
1k views

Unix chat server making communication between terminals possible

This Server handles clients communicating with each other. Because I was not willing to actually give every client a name, they are named by their socket's file descriptor. This is my first ...
2
votes
0answers
121 views

Socket chat room made with Tkinter Python

This is a real live chatroom that I have made with Tkinter I posted a question before about making a chatroom but the problem that I had with that one was that only one user could connect to the ...
6
votes
2answers
751 views

Socket chat room in Python

This is a Python chat room that I've been working on and it enables to you to chat to other people on the same network through Python. Server.py: ...
3
votes
2answers
537 views

Simple multithreaded chat server in Rust

I'm trying to develop a simple Rust chat server. I'm not a Rust expert and come from Java and Kotlin. This same server in Kotlin is: ...
0
votes
1answer
328 views

Java Multi-threaded Chat Room

In an attempt to learn more with Java, I decided to challenge myself by creating a GUI-based, multi-threaded chat room. Currently, you run the Client and it prompts you to either create or join a ...
2
votes
1answer
136 views

Interview Take Home Challenge: Chat server

Recent take-home challenge I was assigned from a recruiter prior to technical interviews with the team. The team wanted it written in GOlang (I had no experience in the language) but told the ...
3
votes
1answer
75 views

(IRC) Internet Relay Chat Bot Core with Plugins System

I started learning Python by making an IRC bot, as it took some pains in another language. I've improved it now over time. As it involves networking, I'd also like some comments on that side. ...
4
votes
1answer
95 views

OO design for chat protocol

I'm writing a typical client-server architecture for a chat program. My goal is to make the protocol flexible so that I could add more functionality in the future. (Any good software should allow that)...
10
votes
1answer
97 views

Cardshifter chat lobby using vanilla JS

This is part 2 of my re-writing of a Angular client to vanilla JS. Part 1 is here: Cardshifter login page using vanilla JavaScript This animated GIF illustrates the basic functionality of the lobby. ...
1
vote
0answers
167 views

Socket.IO chat app with extra features

I added more features to a Socket.IO tutorial and wanted to know how I can improve my code. I have some questions about how it's built at the moment, especially when a client or the server should ...
4
votes
0answers
2k views

UDP chat program with server, client and listener

This is a little chat program that I have been working on and I want general feedback such as feature suggestions, efficiency comments, etc... The server will setup a DGRAM socket and constantly ...
8
votes
2answers
2k views

Checking some rules before a Telegram bot replies to a message

So far, I've created a couple of programs, and the issue that comes up is how ugly and non-scalable they look. For example, currently I'm working on a telegram bot. Before replying to a message I ...
3
votes
0answers
136 views

Chat program with C++ and SFML

This is my client code: (My server is very similar at the moment but I will upload it below this one just in case somebody wants to run it) ...
3
votes
2answers
161 views

GroupMe Bot made entirely in PHP

I made a GroupMe bot entirely in PHP and would like a review on the code and would also like suggestion on what I should add. Here is the GitHub Repo. I have a few directed questions in addition to ...
1
vote
0answers
940 views

Winsock chat server and client application

I have made a C++ command line chat with server and clients as a hobby project. Here is the GitHub link. ...
3
votes
1answer
379 views

Async Slack bot

I'm building a Slack bot to facilitate the standups for teams of developers. I want the bot to run async and not have to wait for one person's response before it starts interviewing others. Here's ...
1
vote
0answers
564 views

Twitch chat bot using node, express, mongodb

I need help on truly understanding my self project. Javascript is a language I struggle the most with so I decided to create a project using Javascript. In my education I'm mostly familiar with C++, ...
4
votes
2answers
226 views

Kik bot made using Flask

I created a Kik messenger bot using Flask microframework and python that accepts POST requests on the provided webhook and then responds appropriately. I have excluded custom module imports because ...
1
vote
0answers
1k views

Simple chat client and server in Java. (tried to refactor on Head First Java code example)

In the book Head First Java there was this coding example that created a very simple chat client and server. Both the server and the client consisted of just one class. I left the server code as is, ...
3
votes
1answer
1k views

Simple chat room

I'm writing this simple chat room in Java, and I wish to refactor a couple of things, like the following switch statement that should be replaced with polymorphism ...
1
vote
1answer
350 views

groupme chat bot

This is my second serious project using php, I made a groupme bot before but the only php was to write the post data to a file and run a bash script that did all of the work. I want to know if I did ...
2
votes
0answers
56 views

Small IRC library w/ message loop

So I felt like creating a small library to make IRC bots. It's separated in two classes. TelClient is a class that handles the low-level socket programming and ...
4
votes
1answer
129 views

Onebox hider for Stack Exchange chat

I sometimes don't like to look at images in chat. When they're just a URL then I'm fine, as then I have the choice to look at the image or not, and blends in with the other text. Therefore, I decided ...
4
votes
2answers
138 views

Text messaging app that allows you to interact with AI

I'm developing an android app that is basically a text messaging app that allows you to interact with AI. What should I do about staying organized while starting my first large project? I fear that ...
2
votes
1answer
448 views

Simulated chat bot

I am creating a very basic simulated chat bot/dialogue tree. I have the whole conversation mapped based on what a user selects. However, I am doing this by storing all of the conversation in ...
1
vote
0answers
89 views

A compiling IRC bot in Java

I made a compiling IRC bot in Java that compiles JavaScript code using Nashorn engine, bans users if they say bad words and replies for simple user requests. I'd like ask about review my code. Main....
1
vote
1answer
604 views

Multithreaded telnet chat server in Java

I have writed a multithreaded telnet chat application in Java. In main method I run telnet server. In server class at run method I bind in specified port (8189) and I spawn listener threads for every ...
3
votes
1answer
1k views

TCP/IP multithread chat

I'm learning C# and would love to receive some feedback for my code. Server: ...
6
votes
1answer
539 views

Simple slack bot in python

I wrote a simple slack bot, which is able to save links (command: "save name link") and print them (command: "get name"). Optionally, a delay in minutes and seconds can be specified (command: "get ...
1
vote
0answers
101 views

Simple Sinatra app that acts as a webhook for an api.ai chatbot

I'm in the process of learning Ruby which I never used. I've built quite a few web applications in different languages, but this is my first time using Ruby. Things work, I enjoy writing Ruby, but I ...
2
votes
1answer
3k views

Making Discord great again - TrumpBot

I am no longer running this server, nor does this question reflect my current political views. I am currently running a small Donald Trump-themed Discord server. Recently, a few members requested ...
2
votes
1answer
82 views

Server side of a chat program - part 2

A few days ago I posted a question about my code. It was obviously awful and thanks to some advice from Hosch250 I learnt a lot of things about OOP. Now, I rewrote the program. To me it seems a ...
8
votes
1answer
348 views

Server side of a chat program

This is just the server part of a chat program. The user of the server can receive and send messages to all the clients connected to the server. Everything works fine but since I'm a beginner I don't ...
2
votes
1answer
163 views

Chat Application

I've written a backend for a chat app but I'm not sure, if I'm following all the SOLID principles and if my code is clean enough. IModel interface for my db ...
10
votes
2answers
6k views

Simple IRC Bot in C#

This was a simple IRC bot I threw together a long time ago, found recently, and was curious as to if there were any kind of significant improvements that could be made. ...
2
votes
0answers
404 views

Custom TCP protocol concurrent chat server

So the task was to first create a custom TCP protocol (namely ebl0) with certain parameters in its header and a number of methods to use with it (e.g. Login, Create, Join etc.). I'm not listing it ...
8
votes
1answer
69 views

Chat Channel Definition and Registry

This is an excerpt of a part of a (very large) program that I'm writing. This particular section handles the creation and management of chat channels. However, I think that this code is rather ...
4
votes
1answer
1k views

TCP chat room in Python

I have recently started looking into networking with Python. I saw some tutorials about the socket library so I decided to give a "live chat room" idea a go. It works (on Windows, ...
5
votes
1answer
810 views

Simple (base) Twitch IRC bot

I've created the beginnings of a Twitch IRC bot. As of current, it only has one command (!echo), though the infrastructure is (hopefully) there to library this code ...
4
votes
1answer
888 views

Simple chatbot written in Python

I wrote a simple chatbot in Python a while ago, and I'd like to know how it could be improved. Here's the code: ...
6
votes
1answer
118 views

RPG Stack Exchange chat bot

Recently, I made a small bot to simulate an ASCII-based RPG in a chat room. The other users can enter commands (.left, .right, <...
3
votes
1answer
12k views

Jarvis the discord.js chat bot

Just finished creating my first bot using Discord.js for the chat application, Discord. This is my first bot and first javascript program I have ever created. I'm mainly interested in ways I can ...
5
votes
1answer
59 views

SOXXY: a daemon stated IRC client project

This script is basically a proxy service; except it doesn't require an active client connection. In fact it expects the client connection to connect before, and disconnect after every transaction. ...
2
votes
1answer
350 views

Conversational bot architecture

I am currently building a small conversational bot, and I am struggling with the architecture. I use Facebook Messenger combined with Wit.ai's API and a Shopify store API. My rails app is the ...
3
votes
1answer
2k views

Chat server implemented using Java NIO

I am learning Java's NIO and as an exercise, I have implemented a simple chat server. I would like to ask if I am using NIO's features in the correct way. ...
-1
votes
2answers
829 views

Primitive Twitch.tv IRC Chat Bot

So currently I have this basic little chat bot that can read commands and can timeout users if their message contains a banned word or phrase. I was wondering how I can improve on this bot to be able ...
8
votes
1answer
125 views

Smoke the SmokeDetector

In Tavern on the Meta, our spam detector is a bot named SmokeDetector. While you can ignore the bot, you can't ignore specific replies to Smokey without ignoring users, so I wrote a UserScript to ...
15
votes
2answers
594 views

Stack Exchange Chat Caret Pathfinder

In The Nineteenth Byte, we have an excessive amount of carets (carrots, if you will) that direct one's attention to another message. For example: Amidst the confusion, I made a userscript that ...
5
votes
2answers
195 views

Terminal Chat Room

Summary I have written a pair of Perl scripts that form a UDP chat room allowing users to send messages over the internet with RSA encryption, making the messages imune to MITM attacks. The scripts ...
5
votes
0answers
518 views

A full-duplex connection to an IRC server

This connection class can be used, through composition, to make IRC clients for different kinds of IRC services. ...