Added speak perm check

This commit is contained in:
loicbersier 2019-11-09 13:30:31 +01:00
parent 2c43a6835e
commit 616d7c6ff2
3 changed files with 3 additions and 3 deletions

View file

@ -8,7 +8,7 @@ class dectalkvcCommand extends Command {
super('dectalkvc', {
aliases: ['dectalkvc', 'decvc'],
category: 'fun',
clientPermissions: ['ATTACH_FILES'],
clientPermissions: ['ATTACH_FILES', 'SPEAK'],
args: [
{
id: 'decMessage',

View file

@ -8,7 +8,7 @@ class samvcCommand extends Command {
super('samvc', {
aliases: ['samvc'],
category: 'fun',
clientPermissions: ['ATTACH_FILES'],
clientPermissions: ['ATTACH_FILES', 'SPEAK'],
args: [
{
id: 'samMessage',

View file

@ -9,7 +9,7 @@ class TtsvcCommand extends Command {
super('ttsvc', {
aliases: ['ttsvc'],
category: 'fun',
clientPermissions: ['ATTACH_FILES'],
clientPermissions: ['ATTACH_FILES', 'SPEAK'],
args: [
{
id: 'text',