I'm making a bot for discord in discord.py and giving the compiled executable to friends, so I want to know when the bot is already connected to discord to prevent bugs, I thought to use a server but I don't think it will be usefull for me(because I don't know anything of server stuff xD).
is there any way to detect when the bot is connected without connecting a second instance of it? or any example of connection to a server that I can modify to my use?
please and thank you.
my english is broken btw xD.
Related
Hi I'm making a discord bot on REPL (Python) and ran into a issue with the code remembering data across server. This is an issue for me because if I want to use this bot across server it will have setting from another server
Here is the link to the code: https://github.com/bosco26/BOTSCO-Bot.git
replit has a inbuilt database! here's the link to the database docs: https://docs.replit.com/misc/database
I am making a Discord SelfBot just to learn/understand more of discord.py, before I start, I do not intend on using this on servers! It is for fun and to learn.
How can I make it so when you run the bot, it makes you join a certain discord server?
I cannot find anything on the internet etc so I do not know really what to do.
The simple fact of connecting to the API using a user token outside the context of discord's official client is expressly forbidden in the ToS. Also, you say you don't want to use it on "servers" yet your question is how to join a server...
I am developing a customer service chatbot, using Azure's Bot Framework in .NET, using the the Messenger channel. I wanted to know if anyone knows what the best way to handle the handoff to a human on Zendesk (which my platform already uses as its CRM platform). I'm not looking for when to do the handoff, but how to manage what happens next.
What I would love to be able to do would be that so when handoff is needed, a ticket on Zendesk would be created, sending for example a file (the transcript of the conversation so far). Then the agent would be able to solve the customer's problem in that ticket, having a conversation with him, having the bot sending messages back and forth between zendesk and messenger.
I don't know if this has been done before, or if it's at all possible. And I'm free to other solutions to the problem of handling this kind of handoff, without having to create a separate "chat" for the customer service agents to use, like it's explained on the azure documentation.
Thank you for your patience while I researched this. I found this resource that I believe will meet your needs. This functionality is built off of the Bot Framework utilizing .NET (it's also available for Nodejs). There are two available methods to connect a client to an agent.
The first (which should apply to you) aggregates different channels into one allowing an agent to pickup in the same channel where the bot handed off. The second opens a new channel when an agent joins the conversation.
Intermediator Bot
I was able to spin up a bot using this and confirmed the bot was listening for outside traffic.
Hope this helps.
Steve.
One thing that I'm about to try is this:
Bot conversation ends.
Bot service calls an Azure Function, passing the conversation content.
The Azure Function integrates with Trello API, creating an entry on a Kanban board.
So, instead of Trello as I want to do, you can make a call to the Zendesk API.
I'm writing a few articles about developing Azure bots. The next two actually are dealing with these very things. You can find out more here. sign up if you'd like to get notified over the next week or so when the new tutorials are online.
Hope that helps!
Tim
I've got my Node.JS bot builder chatbot all working in the emulator, but I'm not sure how I can get started in allowing my bot to be chatted to by others through the internet, on a web page.
I've seen this article, but this seems to be if we want to host the both through Azure. Additionally, I'm not sure how I'd link the code I made for the bot with this.
This is for a school project for a local company, so I'm fairly sure (and will ask) that they want this to be free to run on their own servers, instead of paying Microsoft.
Can anyone help me understand how this all works?
If you're using MS Botframework & LUIS, you will have to host your webhook somewhere to make it accessible to public. Now, if you do not want to spend a penny for hosting services, I'd like to suggest you one more bot platform dialogflow.com (api.ai) where they have built-in inline editor (Powered by Cloud Functions for Firebase). You will just have to write your code there & say deploy. You won't be charged unless you're using a standard edition.
Now, second thing, if you do not want to do any of these & still want to make it public, you will have to have your own servers & all & expose your IP. Put that computer in the DMZ of your router. That is what it is for. Or, simply forward the needed ports. But here you will have to manage everything on your own like if a server goes down etc. Hope this helps.
I want to know is it possible to send SMS text from my website to GSM modem in my local mechine using AT Command when my webserver and my computer basically two different mechines? I hope someone can give me some explaination of best practice to start sending SMS from a website, im new to this topic. Thanks
This answer is slightly off topic as you're asking specifically how to use your modem. But I've been looking into this recently and would suggest your best option is to go with one of the providers out there who help with this sort of thing (most are pay for services I'm afraid).
I'm using Twilio if that helps. They have a rich API and members of their team do answer questions on SO.