From a5f9998872141f8faf77c88435ddd861478237ad Mon Sep 17 00:00:00 2001 From: Scritches Date: Tue, 1 May 2018 16:58:52 -0400 Subject: [PATCH] Added ~sp as alias to ~spotify --- modules/spotify/spotify.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/spotify/spotify.js b/modules/spotify/spotify.js index 10db540..e49aaf8 100644 --- a/modules/spotify/spotify.js +++ b/modules/spotify/spotify.js @@ -113,6 +113,8 @@ var spotify = function(dbot) { } } }; + commands['~sp'] = commands['~spotify'].bind(this); + commands['~sp'].regex = [/^sp (.*)/, 2]; commands['~spotify'].regex = [/^spotify (.*)/, 2]; this.commands = commands;