Python : send and read messages in Discord
To send and read messages in Discord using Python, you will need to use the Discord API and the python `discord` library.… Read More Python : send and read messages in Discord
To send and read messages in Discord using Python, you will need to use the Discord API and the python `discord` library.… Read More Python : send and read messages in Discord
To get the text from each line in a RichTextBox in C#, you can use the `Lines` property of the RichTextBox control. … Read More C# : How to get text from each line in RichTextBox
To generate a random number with a specific number of digits in Python, you can use the following code:… Read More Python : generate a random number with a specific number of digits
To replace commas with periods in text for decimal numbers in Python, you can use the `replace()` method of the `string` class. Here is an example of how you could do this: This will print the following output: Keep in mind that this will only work if the commas are used as decimal separators. If… Read More How to replace a commas with periods in text for decimal numbers in python
I’m trying to add multiple requestors to an RT ticket. I can set a single requestor successfully, but when I go to add another, it just overwrites the current requestor. Currently, the body text I’m sending in the PUT request is: {"Requestor": "email"} I’ve tried comma seperating the email addresses for the value field as… Read More Request Tracker API V2 Add Multiple Requestors
trying to make the bot react to its own messages… Read More discord.py add reaction to own message
I want to take a text from each line in the RichTextBox and add a constant text to the beginning and end of this text line. And when I press the button, the new text will be exported/saved to a text file. I was able to create a loop, but how can I add a… Read More Get text from each line in RichTextBox?
I’m making a small math program for practice purposes. The user is supposed to enter, how many digits the two summands should have. I did this as shown below: import random digits = int(input(“How many digits should the numbers have? “)) if digits == 1: while True: num1 = random.randint(0,9) num2 = random.randint(0,9) solution =… Read More How to generate a random number with the amount of digits, the user enters?