Skip to content

Commit

Permalink
Added features for notifications
Browse files Browse the repository at this point in the history
  • Loading branch information
GodMod committed Jun 16, 2019
1 parent 98e1409 commit 3132c34
Show file tree
Hide file tree
Showing 7 changed files with 1,854 additions and 13 deletions.
2 changes: 1 addition & 1 deletion admin/settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ private function fields(){

$arrValues = $this->config->get_config('discord');
if($arrValues['bot_client_id'] != ""){
$arrFields['general']['bot_token']['after_txt'] = '<a href="https://discordapp.com/oauth2/authorize?&client_id='.$arrValues['bot_client_id'].'&scope=bot&permissions=0" target="_blank" class="button" onclick="checkguildid()">'.$this->user->lang('discord_autorize_bot').'</a>';
$arrFields['general']['bot_token']['after_txt'] = '<a href="https://discordapp.com/oauth2/authorize?&client_id='.$arrValues['bot_client_id'].'&scope=bot&permissions=522304" target="_blank" class="button" onclick="init_functions()">'.$this->user->lang('discord_autorize_bot').'</a>';
}

if($arrValues['bot_client_id'] == "" && $arrValues['bot_token'] == ""){
Expand Down
4 changes: 2 additions & 2 deletions discord_plugin_class.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public static function __shortcuts()
return array_merge(parent::$shortcuts, $shortcuts);
}

public $version = '1.1.1';
public $version = '1.2.0';
public $build = '';
public $copyright = 'GodMod';
public $vstatus = 'Stable';
Expand Down Expand Up @@ -136,4 +136,4 @@ private function gen_admin_menu()
}

}
?>
?>
Loading

0 comments on commit 3132c34

Please sign in to comment.