Skip to content
This repository has been archived by the owner on Dec 18, 2023. It is now read-only.

Commit

Permalink
Merge pull request #231 from SoulDragon555/SoulDragon
Browse files Browse the repository at this point in the history
Removed Quick Lookups from price.php and updated eveData.db
  • Loading branch information
shibdib committed May 24, 2017
2 parents 8783824 + 33b8544 commit 7737521
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 17 deletions.
Binary file modified database/eveData.db
Binary file not shown.
17 changes: 0 additions & 17 deletions src/plugins/onMessage/price.php
Original file line number Diff line number Diff line change
Expand Up @@ -81,18 +81,6 @@ public function onMessage($msgData, $message)
// Bind a few things to vars for the plugins
$message = $msgData['message']['message'];

// Quick Lookups
$quickLookUps = array(
'plex' => array(
'typeID' => 29668,
'typeName' => "30 Day Pilot's License Extension (PLEX)"
),
'30 day' => array(
'typeID' => 29668,
'typeName' => "30 Day Pilot's License Extension (PLEX)"
)
);

$data = command(strtolower($message), $this->information()['trigger'], $this->config['bot']['trigger']);

if (isset($data['trigger'])) {
Expand All @@ -101,11 +89,6 @@ public function onMessage($msgData, $message)
$itemName = $data['messageString'];
$single = getTypeID($itemName);

// Quick lookups
if (isset($quickLookUps[$itemName])) {
$single = $quickLookUps[$itemName];
}

// Check if the channel is restricted
if (in_array($channelID, $this->excludeChannel, true)) {
return $this->message->reply('**Price Check not allowed in this channel**');
Expand Down

0 comments on commit 7737521

Please sign in to comment.