mirror of
https://gitlab.com/bignutty/labscore.git
synced 2025-06-07 21:53:07 -04:00
the speed of discord autocomplete sucks for these
This commit is contained in:
parent
74408053dc
commit
473138c03b
2 changed files with 2 additions and 6 deletions
|
@ -7,8 +7,6 @@ const { link, iconPill } = require('#utils/markdown')
|
|||
const { editOrReply } = require('#utils/message')
|
||||
const { STATICS } = require('#utils/statics')
|
||||
|
||||
const { urbanDictionary } = require('#parameters').autocomplete;
|
||||
|
||||
// TODO: Turn this into a general purpose permissions constant
|
||||
const { Permissions, ApplicationCommandOptionTypes } = require("detritus-client/lib/constants");
|
||||
|
||||
|
@ -54,7 +52,7 @@ module.exports = {
|
|||
{
|
||||
name: 'term',
|
||||
description: 'Term to look up.',
|
||||
onAutoComplete: urbanDictionary,
|
||||
type: ApplicationCommandOptionTypes.TEXT,
|
||||
required: true
|
||||
},
|
||||
{
|
||||
|
|
|
@ -7,8 +7,6 @@ const { acknowledge } = require('#utils/interactions');
|
|||
const { link, iconPill, smallPill, icon, iconLinkPill, pill } = require('#utils/markdown')
|
||||
const { editOrReply } = require('#utils/message')
|
||||
|
||||
const { googleDictionary } = require('#parameters').autocomplete;
|
||||
|
||||
const { ApplicationCommandOptionTypes } = require('detritus-client/lib/constants');
|
||||
|
||||
const LABELS = {
|
||||
|
@ -66,7 +64,7 @@ module.exports = {
|
|||
{
|
||||
name: 'term',
|
||||
description: 'Term to look up.',
|
||||
onAutoComplete: googleDictionary,
|
||||
type: ApplicationCommandOptionTypes.TEXT,
|
||||
required: true
|
||||
},
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue