Questions tagged [dm]

103 questions
2
votes
1 answer

How can i check if a Tweeter user can get direct messages using tweepy?

Some of the Tweeter users can get direct messages and some cannot. I want a bot that finds the users that can get DM without sending them. Is that an option? these are the user's arguments: blocked_by blocking contributors_enabled created_at …
Roi Gerber
  • 21
  • 1
2
votes
0 answers

How to scrape new Instagram dm's

I want to make a script to get notified If I got a new Instagram dm. I would ask you If there is a way to scrape all new Instagram dm's I got and read them and send the message to me. My idea was that I use selenium and look into the messages and…
Schlenni123
  • 29
  • 1
  • 1
  • 5
2
votes
1 answer

Discord.py rewrite have bot respond to DMs

I am trying to have my bot respond to a DM message that accepts the rules. Here is what I have so far: @bot.event async def on_member_join(member): role = discord.utils.get(member.servers.roles, name='Newcomers') #get role await…
thedankboi
  • 53
  • 1
  • 8
1
vote
1 answer

Rails Postgres Time Zone Handling

The simple thing I want is to store a DateTime in UTC in the database and retrieve it in UTC again, but rails seems to assume I stored the DateTime in my local time zone and adds the 8 hours difference (PST). I have a DateTime field in my model. If…
kaihowl
  • 372
  • 2
  • 13
1
vote
0 answers

DM368 Resizer hang

I have set up the resizer in single shot mode to decode data using the user pointer interface in dvsdk_4_02_00_06. It appears to be working, but eventually the video output freezes due to the thread getting stuck.It never returns with an error, just…
1
vote
1 answer

Where can I find documentation on the raw dm_mirror interface?

I'd like to use dm_mirror directly, rather than through LVM or MD, but I've had trouble finding clear documentation on the table format it expects. Is such a document available somewhere? Note that I want to use this to mirror one partition to…
bdonlan
  • 224,562
  • 31
  • 268
  • 324
1
vote
1 answer

Alfresco - Best practices for custom document lifecycle (Java?)

After talking with some people at the DevCon in London and after looking at Records Management source code I noticed that there's actually no good example of how to implement custom documents lifecycle. I know there's examples of rules and content…
Matjaz Muhic
  • 5,328
  • 2
  • 16
  • 34
1
vote
1 answer

How to view specific ERD from Postgres database in R using `dm` package

I have built a database with a handful or schemas that have separate entity relationship diagrams (ERDs). I can view those ERDs in my database GUI (dbeaver) but I would like to view schema specific ERDs in RStudio. I have found the dm package where…
Eizy
  • 253
  • 1
  • 9
1
vote
1 answer

Bubble Sorting Program, Works in DM compiler(on windows) & not on GCC(Ubuntu)

I made this bubble sort algorithm in C. Its working well in DM, but when executed in gcc, gives me incorrect output. #include int i,j; void BubbleSort(int*a, int n) //to sort the numbers { int temp; for(i=0; i
praful
  • 55
  • 1
  • 4
1
vote
1 answer

How do I send a DM to a user in discord.js v13

All I'm doing right now is trying to send a dm to myself to see if I can get this working. I've tried: client.users.cache.get(id).send('hi') But I'm getting "TypeError: Cannot read properties of undefined (reading 'send')." I suppose this has…
ryguy10712
  • 43
  • 4
1
vote
2 answers

"AttributeError: 'Context' object has no attribute 'user'" when running a command Discord.py

I'm getting traceback with my code in the channel. The command is supposed to send a dm of my choice to a user, YET it just replies to my message with that traceback error below! Can anyone help? Source code: @client.command(aliases=["dm"]) async…
Real_IceyDev
  • 23
  • 1
  • 3
1
vote
1 answer

I get Error: invalid version specification ‘0,2’ when I use the function dm_draw() in r

I want to use the function dm_draw() to visualize a dm object but when I ran the command I get the error message " Error: invalid version specification ‘0,2’". I've tried the code included in the vignette "Visualizing dm objects"…
Vincenzo
  • 145
  • 1
  • 6
1
vote
0 answers

Does DM database have binlog?

Does the DM database have binlog? Is it possible to analyze the binlog through the Api interface to obtain the newly added data in a certain period of time?
HaloAim
  • 11
  • 1
1
vote
1 answer

Using Toolbar to submit SAS code from Editor

When submitting SAS code via the SAS Toolbar (eg cmjohns response) the compiler knows that the code is being "DM'd" and will not run certain code (eg %window). Is there a way to trick SAS into believing that code submitted from the Toolbar is…
Allan Bowe
  • 12,306
  • 19
  • 75
  • 124
1
vote
2 answers

How do I make my discord bot reading dms in Python?

I have got a discord bot and it works fine, I've just got one problem: If the bot sends a DM to someone due to some command, I want it to receive the answer to that DM. I don't get it working for DMs. I've tried some stuff I've found on the internet…
bad_coder
  • 201
  • 1
  • 9