This file contains 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
'Create text file in documents folder with today's date | |
'Note if you have a recording that crosses into the next day, a new file will be created | |
dim FILENAME = Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments)+"\RecordingLog"+DateTime.Now.ToString("MMddyyyy")+".txt" | |
'Get recording duration | |
dim xml = API.XML() | |
dim x as new system.xml.xmldocument | |
x.loadxml(xml) | |
dim Duration = integer.parse((x.SelectSingleNode("//recording/@duration").Value)) |
This file contains 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
// Only these channels are monitored | |
let scanChans = ["city-t5-raids", "city-t1-4-raids"]; | |
// Only messages from the scanner bot are monitored | |
if (scanChans.includes(message.channel.name) && message.author.id === 'SCANNER_BOT_ID'){ | |
// Add a reaction to each message | |
message.react('📣'); | |
const filter = (reaction, user) => { |