Skip to content

Chore: Slash Commands Join to Typescript#24254

Merged
ostjen merged 19 commits intodevelopfrom
js_to_ts_slashcommands_join
Jan 26, 2022
Merged

Chore: Slash Commands Join to Typescript#24254
ostjen merged 19 commits intodevelopfrom
js_to_ts_slashcommands_join

Conversation

@eduardofcabrera
Copy link
Copy Markdown
Contributor

Proposed changes (including videos or screenshots)

Convert the slash commands .js files to .ts files.

Issue(s)

Steps to test or reproduce

Further comments

@CLAassistant
Copy link
Copy Markdown

CLAassistant commented Jan 21, 2022

CLA assistant check
All committers have signed the CLA.

@lgtm-com
Copy link
Copy Markdown

lgtm-com bot commented Jan 21, 2022

This pull request introduces 2 alerts when merging b0c6962 into 3e14178 - view on LGTM.com

new alerts:

  • 1 for Useless assignment to local variable
  • 1 for Self assignment

Copy link
Copy Markdown
Contributor

@ostjen ostjen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

there's also 3 new unwanted files that you should delete


import { slashCommands } from '../../utils/lib/slashCommand';

console.log('T');
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove

@lgtm-com
Copy link
Copy Markdown

lgtm-com bot commented Jan 24, 2022

This pull request introduces 2 alerts when merging df97b2b into 7cfd4b0 - view on LGTM.com

new alerts:

  • 1 for Useless assignment to local variable
  • 1 for Self assignment

params.msg.msg = params.msg.msg.replace('join', 'open');
return slashCommands.run('open', params.params, params.msg);
}
result = result;
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

?

Comment on lines +150 to +153
undefined,
false,
undefined,
undefined,
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why?

Copy link
Copy Markdown
Contributor

@ostjen ostjen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@ostjen ostjen merged commit 7d5911b into develop Jan 26, 2022
@ostjen ostjen deleted the js_to_ts_slashcommands_join branch January 26, 2022 15:33
@sampaiodiego sampaiodiego mentioned this pull request Jan 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants