mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-04 22:16:40 +00:00
initial PR review changes
This commit is contained in:
1 parent
97f5c99cc0
commit
21a2f8912d
3 files changed
+103
-104
No files matched your search
@@ -78,104 +78,104 @@ export const TwitterApp = () => {
|
|||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
// InjectDebugData([
|
InjectDebugData([
|
||||||
// {
|
{
|
||||||
// app: 'TWITTER',
|
app: 'TWITTER',
|
||||||
// method: 'getOrCreateTwitterProfile',
|
method: 'getOrCreateTwitterProfile',
|
||||||
// data: {
|
data: {
|
||||||
// profile_name: 'Angular_Dev',
|
profile_name: 'Angular_Dev',
|
||||||
// bio: 'Angular FTW',
|
bio: 'Angular FTW',
|
||||||
// job: 'Googler @ Google',
|
job: 'Googler @ Google',
|
||||||
// location: '1600 Amphitheatre Parkway, CA, USA',
|
location: '1600 Amphitheatre Parkway, CA, USA',
|
||||||
// avatar_url: 'https://i.tasoagc.dev/i9Ig',
|
avatar_url: 'https://i.tasoagc.dev/i9Ig',
|
||||||
// },
|
},
|
||||||
// },
|
},
|
||||||
// {
|
{
|
||||||
// app: 'TWITTER',
|
app: 'TWITTER',
|
||||||
// method: 'fetchTweets',
|
method: 'fetchTweets',
|
||||||
// data: [
|
data: [
|
||||||
// {
|
{
|
||||||
// id: 59,
|
id: 59,
|
||||||
// message: 'XSS\n<script src="test.js">Test</script>\nBro',
|
message: 'XSS\n<script src="test.js">Test</script>\nBro',
|
||||||
// avatar_url: 'http://i.tasoagc.dev/jtKL',
|
avatar_url: 'http://i.tasoagc.dev/jtKL',
|
||||||
// seconds_since_tweet: 500,
|
seconds_since_tweet: 500,
|
||||||
// isMine: false,
|
isMine: false,
|
||||||
// isRetweetedByPlayer: true,
|
isRetweetedByPlayer: true,
|
||||||
// updateAt: '2021-02-08 14:37:46',
|
updateAt: '2021-02-08 14:37:46',
|
||||||
// visible: 1,
|
visible: 1,
|
||||||
// likes: 50000,
|
likes: 50000,
|
||||||
// profile_name: 'jQuery Main',
|
profile_name: 'jQuery Main',
|
||||||
// images: 'http://i.tasoagc.dev/0xdp',
|
images: 'http://i.tasoagc.dev/0xdp',
|
||||||
// },
|
},
|
||||||
// {
|
{
|
||||||
// id: 2,
|
id: 2,
|
||||||
// message: 'GCPhone will never die',
|
message: 'GCPhone will never die',
|
||||||
// avatar_url: 'http://i.tasoagc.dev/jtKL',
|
avatar_url: 'http://i.tasoagc.dev/jtKL',
|
||||||
// seconds_since_tweet: 500,
|
seconds_since_tweet: 500,
|
||||||
// isMine: false,
|
isMine: false,
|
||||||
// updateAt: '2021-02-08 14:37:46',
|
updateAt: '2021-02-08 14:37:46',
|
||||||
// visible: 1,
|
visible: 1,
|
||||||
// likes: 50000,
|
likes: 50000,
|
||||||
// profile_name: 'GCPhone_v9999',
|
profile_name: 'GCPhone_v9999',
|
||||||
// images: 'http://i.tasoagc.dev/0xdp',
|
images: 'http://i.tasoagc.dev/0xdp',
|
||||||
// },
|
},
|
||||||
// {
|
{
|
||||||
// id: 1,
|
id: 1,
|
||||||
// message: 'I love angular',
|
message: 'I love angular',
|
||||||
// avatar_url: 'https://i.tasoagc.dev/i9Ig',
|
avatar_url: 'https://i.tasoagc.dev/i9Ig',
|
||||||
// seconds_since_tweet: 800,
|
seconds_since_tweet: 800,
|
||||||
// isMine: true,
|
isMine: true,
|
||||||
// updateAt: '2021-02-08 14:37:46',
|
updateAt: '2021-02-08 14:37:46',
|
||||||
// visible: 1,
|
visible: 1,
|
||||||
// likes: 50000,
|
likes: 50000,
|
||||||
// profile_name: 'Angular_Dev',
|
profile_name: 'Angular_Dev',
|
||||||
// images: 'http://i.tasoagc.dev/i9Ig',
|
images: 'http://i.tasoagc.dev/i9Ig',
|
||||||
// },
|
},
|
||||||
// {
|
{
|
||||||
// id: 3,
|
id: 3,
|
||||||
// message:
|
message:
|
||||||
// 'Anyways uhm... I bought a whole bunch of shungite, rocks, ' +
|
'Anyways uhm... I bought a whole bunch of shungite, rocks, ' +
|
||||||
// 'do you know what shungite is? Anybody know what shungite is. No, no ' +
|
'do you know what shungite is? Anybody know what shungite is. No, no ' +
|
||||||
// 'Suge Knight, I think hes locked up in prison.',
|
'Suge Knight, I think hes locked up in prison.',
|
||||||
// avatar_url: 'http://i.tasoagc.dev/0v64',
|
avatar_url: 'http://i.tasoagc.dev/0v64',
|
||||||
// seconds_since_tweet: 800,
|
seconds_since_tweet: 800,
|
||||||
// isMine: true,
|
isMine: true,
|
||||||
// updateAt: '2021-02-08 14:37:46',
|
updateAt: '2021-02-08 14:37:46',
|
||||||
// visible: 1,
|
visible: 1,
|
||||||
// likes: 50000,
|
likes: 50000,
|
||||||
// profile_name: 'The_Doc',
|
profile_name: 'The_Doc',
|
||||||
// },
|
},
|
||||||
// ],
|
],
|
||||||
// },
|
},
|
||||||
// ]);
|
]);
|
||||||
|
|
||||||
// InjectDebugData(
|
InjectDebugData(
|
||||||
// [
|
[
|
||||||
// {
|
{
|
||||||
// app: 'TWITTER',
|
app: 'TWITTER',
|
||||||
// method: 'createTweetBroadcast',
|
method: 'createTweetBroadcast',
|
||||||
// data: {
|
data: {
|
||||||
// id: 111,
|
id: 111,
|
||||||
// profile_id: 111,
|
profile_id: 111,
|
||||||
// profile_name: 'Kidz',
|
profile_name: 'Kidz',
|
||||||
// isMine: false,
|
isMine: false,
|
||||||
// isReported: false,
|
isReported: false,
|
||||||
// message: 'I have tweeted this because Im badass',
|
message: 'I have tweeted this because Im badass',
|
||||||
// },
|
},
|
||||||
// },
|
},
|
||||||
// {
|
{
|
||||||
// app: 'TWITTER',
|
app: 'TWITTER',
|
||||||
// method: 'createTweetBroadcast',
|
method: 'createTweetBroadcast',
|
||||||
// data: {
|
data: {
|
||||||
// id: 111,
|
id: 111,
|
||||||
// profile_id: 111,
|
profile_id: 111,
|
||||||
// profile_name: 'ItsChip',
|
profile_name: 'ItsChip',
|
||||||
// isMine: false,
|
isMine: false,
|
||||||
// isReported: false,
|
isReported: false,
|
||||||
// message:
|
message:
|
||||||
// 'I have tweeted this because Im even more badass... And I need this to be longer so I will continue to write',
|
'I have tweeted this because Im even more badass... And I need this to be longer so I will continue to write',
|
||||||
// },
|
},
|
||||||
// },
|
},
|
||||||
// ],
|
],
|
||||||
// 3000,
|
3000,
|
||||||
// );
|
);
|
||||||
@@ -25,7 +25,6 @@ const useStyles = makeStyles((theme) => ({
|
|||||||
padding: '15px',
|
padding: '15px',
|
||||||
},
|
},
|
||||||
formControl: {
|
formControl: {
|
||||||
// margin: theme.spacing(1),
|
|
||||||
width: '100%',
|
width: '100%',
|
||||||
},
|
},
|
||||||
}));
|
}));
|
||||||
|
|||||||
@@ -1,3 +1,5 @@
|
|||||||
|
import { ResultSetHeader } from 'mysql2';
|
||||||
|
|
||||||
import { pool } from './db';
|
import { pool } from './db';
|
||||||
import { getIdentifier, getSource } from './functions';
|
import { getIdentifier, getSource } from './functions';
|
||||||
import { NewTweet, Tweet, Profile } from '../../typings/twitter';
|
import { NewTweet, Tweet, Profile } from '../../typings/twitter';
|
||||||
@@ -5,9 +7,7 @@ import events from '../utils/events';
|
|||||||
import config from '../utils/config';
|
import config from '../utils/config';
|
||||||
import { reportTweetToDiscord } from './discord';
|
import { reportTweetToDiscord } from './discord';
|
||||||
import { mainLogger } from './sv_logger';
|
import { mainLogger } from './sv_logger';
|
||||||
import { ResultSetHeader } from 'mysql2';
|
import { generateProfileName, getDefaultProfileNames } from './players/sv_players';
|
||||||
import { generateProfileName } from './players/sv_players';
|
|
||||||
import { getDefaultProfileNames } from './players/sv_players';
|
|
||||||
|
|
||||||
const twitterLogger = mainLogger.child({ module: 'twitter' });
|
const twitterLogger = mainLogger.child({ module: 'twitter' });
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user