This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const Command = require("../base/Command.js"); | |
| class Realtime extends Command | |
| { | |
| constructor (client) | |
| { | |
| super(client, | |
| { | |
| name: "realtime", | |
| description: "Gets realtime stock values", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const Discord = require('discord.js'); | |
| const client = new Discord.Client(); | |
| client.once('ready', () => { | |
| console.log('Ready!'); | |
| }); | |
| client.on('message', message => { | |
| if (message.content === '!react-await') { | |
| message.react('👍').then(() => message.react('👎')); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| AUTH: | |
| domain_login: | |
| driver = plaintext | |
| public_name = LOGIN | |
| client_send = : postmaster:password | |
| ROUTERSTART: | |
| domain: | |
| driver = manualroute | |
| domains = ! +local_domains |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| add_action('admin_init', function () { | |
| // Redirect any user trying to access comments page | |
| global $pagenow; | |
| if ($pagenow === 'edit-comments.php' || $pagenow === 'options-discussion.php') { | |
| wp_redirect(admin_url()); | |
| exit; | |
| } |
OlderNewer