09-03-2020, 10:08 PM | #1 |
Senior Member
Join Date: Jun 2009
Location: USA
Posts: 205
|
help with tellegram buttplug_bot
hi years a go i met a guy on telegram that had a bot that made clickable buttons that gave control of his hush plug from lovense
the bot is "@buttplug_bot i was told that it asks for an email but that no longer works as lovense changed there friend request systems but that entering your user id did work. for the life of me i cant get this to work. does anyone know of a way to make this work or another system that does something similar? apologies if this is in the wrong place not sure where this should of been posted. ps i think this is the code but cant make heads or tails of it https://github.com/teledildonics/buttplugbot thank you for any help you can provide
__________________
34 male Loves: puppy play, bondage, water sports, feet Hard Limits: family, public(visible), blood, permanent damage, alcohol, smoking, non contained messes, garbage, outside, tasks lasting longer than free time Toys: Bondage: rope, chain, leash, locks, mitts, collar cuffs: ankle, wrist, hand, thigh Anal: butt plugs: s m l, tail plug, huge dog dildo Pain: binder clips, clothes pins humbler, candle, toothpaste, icy hot, hot sauce Humiliation: puppy gear, baby gear, xdress gear |
09-04-2020, 09:50 AM | #2 |
Longtime User
|
That repository is indeed of the bot "buttplug_bot" unless there happen to be two Telegram bots with the exact same name. This can be concluded from HushPlugBot.java on line 294.
I have no experience with the Lovense API or Telegram bots so I can't give you a solution. But I believe to have found a possible cause. In the first code block, the bot request confirmation of a registered e-mail address by requesting a response from the API URL: https://apps.lovense.com/ajaxCheckEmailOrUserIdRegisted?email= plus the provided email address. Example responses: URL: https://apps.lovense.com/ajaxCheckEmailOrUserIdRegisted?email=cagac27656@fa xapdf.com or URL: https://apps.lovense.com/ajaxCheckEmailOrUserIdRegisted?email=apitestacc gives: Reponse: {"result":true,"code":0,"message":""} URL: https://apps.lovense.com/ajaxCheckEmailOrUserIdRegisted?email=cagac38294@fa xapdf.com or URL: https://apps.lovense.com/ajaxCheckEmailOrUserIdRegisted?email=apitestacc382 94 gives: Response: {"result":false,"code":400,"message":"User does not exist"} Whether the e-mail exists or doesn't exist, the response won't give a status code 200 which results in returning null. And as seen in the second code block, if the email check returns null, it throws an IllegalStateException with the message "Bot account "+Config.email+" does not exists at Lovense!" I hope you find something useful in this reply. EmailUtil.java on line 29 Code:
private static final String path = "/ajaxCheckEmailOrUserIdRegisted?email="; public static String check(String email) { try { final HttpGet httpGet = new HttpGet(Config.apiUrl + path + URLEncoder.encode(email, "UTF-8")); final CloseableHttpResponse response = Util.getHttpclient().execute(httpGet); try { if (response.getStatusLine().getStatusCode() == 200) { final HttpEntity entity = response.getEntity(); final String json = EntityUtils.toString(entity); final NormalResponse normalResponse = gson.fromJson(json, NormalResponse.class); return normalResponse.isResult() ? normalResponse.getData().toString() : null; } return null; } finally { response.close(); } } catch (final Exception e) { logger.warn("Failed to check email {} ", email, e); return null; } } [...] } Code:
String email = EmailUtil.check(Config.email); if (email == null) { throw new IllegalStateException("Bot account "+Config.email+" does not exists at Lovense!"); }
__________________
Still responsive to DMs here I've only really liked a handful of people in my life, and you've been two of them. —Hans Axgil— Last edited by RiskyFlame; 09-04-2020 at 09:56 AM. Reason: added username test |
09-04-2020, 07:11 PM | #3 |
Senior Member
Join Date: Jun 2009
Location: USA
Posts: 205
|
thanks for that its still over pups head but it can dream of a buttplug controlled by anyone in a telegram group
__________________
34 male Loves: puppy play, bondage, water sports, feet Hard Limits: family, public(visible), blood, permanent damage, alcohol, smoking, non contained messes, garbage, outside, tasks lasting longer than free time Toys: Bondage: rope, chain, leash, locks, mitts, collar cuffs: ankle, wrist, hand, thigh Anal: butt plugs: s m l, tail plug, huge dog dildo Pain: binder clips, clothes pins humbler, candle, toothpaste, icy hot, hot sauce Humiliation: puppy gear, baby gear, xdress gear |
Advertisements |
Tags |
bot, buttplug, buttplugbot, hush plug, telegram |
|
|