Comments (14)
I propose !ban
rather than /ban
, so it doesn't conflict with the actual /ban
command.
from camper-gitter-bot.
The command can be what ever we want. We can even do 'fluffy foo @`
from camper-gitter-bot.
We can even do
fluffy foo @<username>
I fully endorse and insist on this command name.
from camper-gitter-bot.
I humbly submit bye felicia @<username>
as a candidate for the ban command
from camper-gitter-bot.
Project Ban Hammer, Test 0001
Naive implementation, have the bot "say" /ban @username
appears to have failed. The bot literally says it, no effect on test subject.
Looking through the docs it's not clear the a bot even can issue commands as distinct from messages.
from camper-gitter-bot.
The bot cannot ban people until it has write access.
from camper-gitter-bot.
I have my personal bot, "SaintBot", set up with a room created by that account. I was able to manually ban a user with that account, but the bot was not able to with the same account.
from camper-gitter-bot.
Dang. Does the text show up in the general chat?
from camper-gitter-bot.
Yes: ☝️ November 22, 2015 6:20 PM
Note that although the activity shows a ban and unban in that room, that was me confirming that I as "SaintBot" could manually ban/unban them.
@abhisekp had a conversation with @MadLittleMods and he indicated he didn't know if it would work or not and asked us to file an issue: gitterHQ/gitter#989
So, at least for the moment, this appears to be a dead letter.
from camper-gitter-bot.
Bummer.
from camper-gitter-bot.
According to a recent response on that issue this functionality should be possible through a previously undocumented API endpoint.
from camper-gitter-bot.
@ltegman yes. It's possible using the following API command endpoints
Ban
POST /rooms/:roomId/bans
{"username":"trolluser"}
Unban
DELETE /rooms/:roomId/bans/:username
from camper-gitter-bot.
Since we have a repo for Gitter mods and the recent ability to add mods directly through Gitter (even though we've decided to stick with using the repo) would we consider this issue to be resolved and no longer necessary?
Having camperbot issue the ban also raises some issues with logging and resolving ban cases.
from camper-gitter-bot.
The only thing we can't do now that we could program camperbot to do would be to programmatically ban a user from all our rooms
from camper-gitter-bot.
Related Issues (20)
- Disable Camperbot greeting or make it less frequent HOT 14
- remove /rollem HOT 11
- Add more 'thank you' phrases as as camperbot trigger words HOT 4
- Brownie Points bug: placing dots before 'Thanks' has no effect HOT 5
- remove about HOT 3
- remove echo HOT 3
- Make camperbot welcome people over DM HOT 9
- n/a
- Fix "arigatou" too "arigato" (Thank you in Japanese) HOT 1
- Update holler command to ignore usernames
- Update readme, to latest updates and remove unwanted/unused details.
- Should allow issue numbers without comment HOT 3
- bug - ignore brownies when in names HOT 1
- remove codingjobs from lists of rooms
- remove backend-challenges from list of rooms
- change .com -> .org
- Repeat thanks giving incorrect message HOT 1
- Limit CamperBot's thanks list to 1 or 2 people HOT 2
- Remove 'find' from triggering keywords HOT 1
- Add a "ban" command? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from camper-gitter-bot.