Remove non-functional DuckDuckGo Autocomplete Provider

This commit is contained in:
Michael Telatynski 2021-08-31 16:05:16 +01:00
parent 0a09682982
commit 0cd00ae64f
5 changed files with 1 additions and 138 deletions

View file

@ -245,21 +245,6 @@ export const Commands = [
},
category: CommandCategories.messages,
}),
new Command({
command: 'ddg',
args: '<query>',
description: _td('Searches DuckDuckGo for results'),
runFn: function() {
// TODO Don't explain this away, actually show a search UI here.
Modal.createTrackedDialog('Slash Commands', '/ddg is not a command', ErrorDialog, {
title: _t('/ddg is not a command'),
description: _t('To use it, just wait for autocomplete results to load and tab through them.'),
});
return success();
},
category: CommandCategories.actions,
hideCompletionAfterSpace: true,
}),
new Command({
command: 'upgraderoom',
args: '<new_version>',